#include <VisualVector.h>
Inheritance diagram for VisualVector:


Public Member Functions | |
| VisualVector () | |
| Default Constructor. | |
| VisualVector (bool debug) | |
| virtual | ~VisualVector () |
| Measurement | GetMeasurement () |
| Function to return scalar measurement (not currently used). | |
| Vector | GetVectorMeasurement () |
| Function to return Visual Vector measurement in the form of a vector. | |
| bool | IsActive () |
| Returns the current state of m_bActiveState. | |
| Vector | GetLocation () const |
| Returns the physical location of the device with respect to whorl body coordinates. | |
| void | SetLocation (const Vector &newDeviceLocation) |
| Specify the physical location of the device with respect to whorl body coordinates. | |
Static Public Attributes | |
| const bool | c_bNotActive = false |
| a constant bool that is equal to false. | |
| const bool | c_bActive = true |
| a constant bool that is equal to true. | |
Protected Member Functions | |
| virtual int | Initialize () |
| Initializes the device for use. | |
| virtual int | Deinitialize () |
| Deinitializes the device from further use. | |
Protected Attributes | |
| char * | name |
Private Member Functions | |
| int | FindVertex () |
| Visual Vector Vertex Finder. | |
| int | VertexSwitch () |
| Visual Vector Vertex Sorter. | |
| long double | RotationAngleFunc (int pixelwidth, int pixelheight) |
| Visual Vector Rotation Angle Calculations. | |
| float | TiltAngle1Func (long double RotAngle, int pixelheight, int pixelwidth, const int centzerotilt[], double runit, double hunit) |
| Visual Vector Tilt Angle Calculations. | |
| float | TiltAngle2Func (long double RotAngle, int pixelheight, int pixelwidth, const int centzerotilt[], double runit, double hunit) |
Private Attributes | |
| IplImage * | WorkingImage |
| IplImage * | RawImage |
| CvCapture * | capture |
| bool | Debug |
| int | vertex [6] |
| double | centroid [2] |
| Vector | vvangles |
|
|
Default Constructor.
Definition at line 25 of file VisualVector.cpp. References capture, Debug, RawImage, and WorkingImage. |
|
|
Definition at line 43 of file VisualVector.cpp. References capture, Debug, RawImage, and WorkingImage. |
|
|
Definition at line 63 of file VisualVector.cpp. References capture. |
|
|
Deinitializes the device from further use.
Reimplemented in ControlMomentGyro, LinearActuator, MomentumWheel, PhysicalControlMomentGyro, and PhysicalMomentumWheel. Definition at line 113 of file Device.cpp. References Device::c_bNotActive, and Device::SetActive(). Referenced by Device::~Device(), Relay::~Relay(), and Thruster::~Thruster(). |
|
|
Visual Vector Vertex Finder.
Definition at line 173 of file VisualVector.cpp. References centroid, Debug, vertex, VertexSwitch(), and WorkingImage. Referenced by GetVectorMeasurement(). |
|
|
Returns the physical location of the device with respect to whorl body coordinates.
Definition at line 75 of file Device.cpp. References O_SESSAME::Vector. |
|
|
Function to return scalar measurement (not currently used).
Implements Sensor. Definition at line 76 of file VisualVector.cpp. |
|
|
Function to return Visual Vector measurement in the form of a vector.
Definition at line 84 of file VisualVector.cpp. References capture, centroid, Debug, FindVertex(), PI, RawImage, RotationAngleFunc(), TiltAngle1Func(), TiltAngle2Func(), O_SESSAME::Vector, vertex, and WorkingImage. Referenced by main(). |
|
|
Initializes the device for use.
Reimplemented in ControlMomentGyro, PhysicalControlMomentGyro, PhysicalMomentumWheel, Thruster, Actuator, Relay, DMUAccelerometer, DMURateGyro, PhysicalTiltSensor, and TiltSensor. Definition at line 100 of file Device.cpp. References Device::c_bActive, and Device::SetActive(). Referenced by Actuator::Initialize(), and Magnetometer::Magnetometer(). |
|
|
Returns the current state of m_bActiveState.
Definition at line 59 of file Device.cpp. Referenced by Device::Device(). |
|
||||||||||||
|
Visual Vector Rotation Angle Calculations.
Definition at line 294 of file VisualVector.cpp. References centroid, PI, and vertex. Referenced by GetVectorMeasurement(). |
|
|
Specify the physical location of the device with respect to whorl body coordinates.
Definition at line 67 of file Device.cpp. References Device::m_Location, and O_SESSAME::Vector. |
|
||||||||||||||||||||||||||||
|
Visual Vector Tilt Angle Calculations.
Definition at line 337 of file VisualVector.cpp. References centroid. Referenced by GetVectorMeasurement(). |
|
||||||||||||||||||||||||||||
|
Definition at line 383 of file VisualVector.cpp. References centroid. Referenced by GetVectorMeasurement(). |
|
|
Visual Vector Vertex Sorter.
Definition at line 257 of file VisualVector.cpp. References vertex. Referenced by FindVertex(). |
|
|
a constant bool that is equal to true. Used for setting the active state Definition at line 50 of file Device.h. Referenced by Device::Initialize(). |
|
|
a constant bool that is equal to false. Used for setting the active state. Definition at line 48 of file Device.h. Referenced by Device::Deinitialize(), and Device::Device(). |
|
|
Definition at line 41 of file VisualVector.h. Referenced by GetVectorMeasurement(), VisualVector(), and ~VisualVector(). |
|
|
Definition at line 44 of file VisualVector.h. Referenced by FindVertex(), GetVectorMeasurement(), RotationAngleFunc(), TiltAngle1Func(), and TiltAngle2Func(). |
|
|
Definition at line 42 of file VisualVector.h. Referenced by FindVertex(), GetVectorMeasurement(), and VisualVector(). |
|
|
|
|
|
Definition at line 40 of file VisualVector.h. Referenced by GetVectorMeasurement(), and VisualVector(). |
|
|
Definition at line 43 of file VisualVector.h. Referenced by FindVertex(), GetVectorMeasurement(), RotationAngleFunc(), and VertexSwitch(). |
|
|
Definition at line 54 of file VisualVector.h. |
|
|
Definition at line 39 of file VisualVector.h. Referenced by FindVertex(), GetVectorMeasurement(), and VisualVector(). |
1.3.9.1