COORDINATE_SYSTEM Class Reference

Lists available coordinates systems for positional tracking and 3D measures. More...

Static Functions

def from_string (str, name)
 Converts a string to the corresponding COORDINATE_SYSTEM enum value. More...
 

Detailed Description

Lists available coordinates systems for positional tracking and 3D measures.

Enumerator
IMAGE Standard coordinates system in computer vision.
Used in OpenCV: see here.
LEFT_HANDED_Y_UP Left-handed with Y up and Z forward.
Used in Unity with DirectX.
RIGHT_HANDED_Y_UP Right-handed with Y pointing up and Z backward.
Used in OpenGL.
RIGHT_HANDED_Z_UP Right-handed with Z pointing up and Y forward.
Used in 3DSMax.
LEFT_HANDED_Z_UP Left-handed with Z axis pointing up and X forward.
Used in Unreal Engine.
RIGHT_HANDED_Z_UP_X_FWD Right-handed with Z pointing up and X forward.
Used in ROS (REP 103).

Functions

◆ from_string()

def from_string (   str,
  name 
)
static

Converts a string to the corresponding COORDINATE_SYSTEM enum value.

Parameters
name: The string representation of the COORDINATE_SYSTEM enum value.
Returns
The corresponding COORDINATE_SYSTEM enum value. If the string does not match any COORDINATE_SYSTEM, COORDINATE_SYSTEM.LAST is returned.