FAST SDK Coding Reference 1.0.3
|
A data structure for storing the marker tracking data. More...
Public Types | |
enum | TrackingState { NotTracked , Inferred , Tracked } |
Indicates the tracking state of a marker. More... | |
Public Attributes | |
float | angle |
Runtime The orientation angle of the marker after it has been filtered/smoothed. | |
int | id |
Runtime The ID number encoded by the pattern on the tracked marker. | |
float | rawAngle |
Runtime The raw orientation of the marker before it has been filtered/smoothed. | |
float | rawSize |
Runtime The raw diameter of the marker position before it has been filtered/smoothed. | |
float | rawX |
Runtime The raw normalized X-coordinate of the marker position before it has been filtered/smoothed. | |
float | rawY |
Runtime The raw normalized Y-coordinate of the marker position before it has been filtered/smoothed. | |
float | size |
Runtime The normalized diameter of the marker after it has been filtered/smoothed. | |
double | timeReceived |
Runtime The timestamp of when the marker data was recieved, measured is seconds since the beginning of the application. | |
TrackingState | trackingState |
Runtime The tracking state of the marker, such as Tracked, Inferred, or Not Tracked. | |
float | x |
Runtime The normalized X-coordinate of the marker position after it has been filtered/smoothed. | |
float | y |
Runtime The normalized Y-coordinate of the marker position after it has been filtered/smoothed. | |
A data structure for storing the marker tracking data.
enum TrackingState |
Indicates the tracking state of a marker.
Enumerator | |
---|---|
NotTracked | The marker is not tracked and hasn't been tracked for more than the FAST.MarkerTrackingSystem.trackingTimeout period. |
Inferred | The marker is not tracked, but it is probably temporary occlusion and the last known tracking data will be provided. The state is considered temporary occlusion because the marker was last tracked less than the FAST.MarkerTrackingSystem.trackingTimeout period. |
Tracked | The marker is tracked. |
float angle |
Runtime
The orientation angle of the marker after it has been filtered/smoothed.
This value is measured in degrees.
int id |
Runtime
The ID number encoded by the pattern on the tracked marker.
float rawAngle |
Runtime
The raw orientation of the marker before it has been filtered/smoothed.
float rawSize |
Runtime
The raw diameter of the marker position before it has been filtered/smoothed.
This value is measured in pixels.
float rawX |
Runtime
The raw normalized X-coordinate of the marker position before it has been filtered/smoothed.
This value is normalized [0, 1] where 1 is the width of the tracking area.
float rawY |
Runtime
The raw normalized Y-coordinate of the marker position before it has been filtered/smoothed.
This value is normalized [0, 1] where 1 is the height of the tracking area.
float size |
Runtime
The normalized diameter of the marker after it has been filtered/smoothed.
This value is normalized [0, 1] where 1 is the area (width * height) of the tracking area.
double timeReceived |
Runtime
The timestamp of when the marker data was recieved, measured is seconds since the beginning of the application.
TrackingState trackingState |
Runtime
The tracking state of the marker, such as Tracked, Inferred, or Not Tracked.
float x |
Runtime
The normalized X-coordinate of the marker position after it has been filtered/smoothed.
This value is normalized [0, 1] where 1 is the width of the tracking area.
float y |
Runtime
The normalized Y-coordinate of the marker position after it has been filtered/smoothed.
This value is normalized [0, 1] where 1 is the height of the tracking area.