Data Structures
TE_Pattern
TE_Pattern
Struct Reference
Data Fields
Type | Field | Description |
---|---|---|
TE_Point | points[8] | Array of points describing the pattern. The maximum points a pattern can have is 8. |
int | num_points | The number of points the pattern has. |
char | name[128] | The ASCII encoded name of the pattern. |
Detailed Description
A TE_Pattern
struct is a named list of points that represents a tangible pattern. The points are specified in a coordinate system where the x axis points to the right and the y axis points down.
NOTE
The full pattern api is not currently available through C# or Electron
TE_Point
TE_Point
Union Reference
Data Fields
Type | Field | Description |
---|---|---|
struct | { float x, y } | |
float | e[2] |
Detailed Description
This is a helper struct used to define TE_Pattern.
TE_Tangible
TE_Tangible
Struct Reference
Data Fields
Type | Field | Description |
---|---|---|
int | id | A unique id representing this tangible instance. |
float | x | The x coordinate of the tangible's centroid. |
float | y | The y coordinate of the tangible's centroid. |
float | angle | The angile in radians of the tangible. |
char | name[128] | The name of the pattern that best matches the tangible. |
Detailed Description
This struct represents all of the state of a tracked tangible.