FAST SDK Coding Reference 1.0.3
Loading...
Searching...
No Matches
MarkerData Struct Reference

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.
 

Detailed Description

A data structure for storing the marker tracking data.

Member Enumeration Documentation

◆ 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.

Member Data Documentation

◆ angle

float angle

Runtime
The orientation angle of the marker after it has been filtered/smoothed.

This value is measured in degrees.

◆ id

int id

Runtime
The ID number encoded by the pattern on the tracked marker.

◆ rawAngle

float rawAngle

Runtime
The raw orientation of the marker before it has been filtered/smoothed.

◆ rawSize

float rawSize

Runtime
The raw diameter of the marker position before it has been filtered/smoothed.

This value is measured in pixels.

◆ rawX

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.

◆ rawY

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.

◆ size

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.

◆ timeReceived

double timeReceived

Runtime
The timestamp of when the marker data was recieved, measured is seconds since the beginning of the application.

◆ trackingState

TrackingState trackingState

Runtime
The tracking state of the marker, such as Tracked, Inferred, or Not Tracked.

◆ x

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.

◆ y

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.


The documentation for this struct was generated from the following file: