A trackable that represents a cylinder or conical object More...
Public Member Functions | |
float | GetBottomDiameter () |
Returns the bottom diameter of the cylinder target in 3D scene units More... | |
float | GetSideLength () |
Returns the side length (or slanted height) of the cylinder target in 3D scene units More... | |
float | GetTopDiameter () |
Returns the top diameter of the cylinder target in 3D scene units More... | |
bool | SetBottomDiameter (float bottomDiameter) |
Define a new bottom diameter of the cylinder target. This will uniformly scale the cylinder and thus also update side length and top diameter. This is only allowed when the dataset is not active! More... | |
bool | SetSideLength (float sideLength) |
Define a new side length of the cylinder target. This will uniformly scale the cylinder and thus also update top and bottom diameter. This is only allowed when the dataset is not active! More... | |
bool | SetTopDiameter (float topDiameter) |
Define a new top diameter of the cylinder target. This will uniformly scale the cylinder and thus also update side length and bottom diameter. This is only allowed when the dataset is not active! More... | |
Public Member Functions inherited from ObjectTarget | |
float | GetLargestSizeComponent () |
Returns the largets component of the target size. More... | |
Vector3 | GetSize () |
Returns the size of the target (in 3D scene units). More... | |
bool | SetSize (Vector3 size) |
Sets the size of the target (in 3D scene units). This is only allowed when the dataset is not active! More... | |
Additional Inherited Members | |
Properties inherited from Trackable | |
int | ID [get] |
The runtime Id of the Trackable More... | |
string | Name [get] |
The name of the Trackable More... | |
A trackable that represents a cylinder or conical object
float GetBottomDiameter | ( | ) |
Returns the bottom diameter of the cylinder target in 3D scene units
float GetSideLength | ( | ) |
Returns the side length (or slanted height) of the cylinder target in 3D scene units
float GetTopDiameter | ( | ) |
Returns the top diameter of the cylinder target in 3D scene units
bool SetBottomDiameter | ( | float | bottomDiameter | ) |
Define a new bottom diameter of the cylinder target. This will uniformly scale the cylinder and thus also update side length and top diameter. This is only allowed when the dataset is not active!
bool SetSideLength | ( | float | sideLength | ) |
Define a new side length of the cylinder target. This will uniformly scale the cylinder and thus also update top and bottom diameter. This is only allowed when the dataset is not active!
bool SetTopDiameter | ( | float | topDiameter | ) |
Define a new top diameter of the cylinder target. This will uniformly scale the cylinder and thus also update side length and bottom diameter. This is only allowed when the dataset is not active!