Rerun C++ SDK
|
Component: How we interpret the coordinate system of an entity/space. More...
#include <rerun/components/view_coordinates.hpp>
Public Types | |
enum | ViewDir : uint8_t { Up = 1 , Down = 2 , Right = 3 , Left = 4 , Forward = 5 , Back = 6 } |
Public Member Functions | |
constexpr | ViewCoordinates (uint8_t axis0, uint8_t axis1, uint8_t axis2) |
Construct Vec3D from x/y/z values. | |
constexpr | ViewCoordinates (ViewDir axis0, ViewDir axis1, ViewDir axis2) |
Construct Vec3D from x/y/z enum values. | |
operator rerun::datatypes::ViewCoordinates () const | |
Cast to the underlying ViewCoordinates datatype. | |
Public Attributes | |
rerun::datatypes::ViewCoordinates | coordinates |
The directions of the [x, y, z] axes. | |
Static Public Attributes | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | ULF |
X=Up, Y=Left, Z=Forward. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | UFL |
X=Up, Y=Forward, Z=Left. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | LUF |
X=Left, Y=Up, Z=Forward. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | LFU |
X=Left, Y=Forward, Z=Up. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | FUL |
X=Forward, Y=Up, Z=Left. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | FLU |
X=Forward, Y=Left, Z=Up. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | ULB |
X=Up, Y=Left, Z=Back. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | UBL |
X=Up, Y=Back, Z=Left. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | LUB |
X=Left, Y=Up, Z=Back. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | LBU |
X=Left, Y=Back, Z=Up. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | BUL |
X=Back, Y=Up, Z=Left. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | BLU |
X=Back, Y=Left, Z=Up. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | URF |
X=Up, Y=Right, Z=Forward. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | UFR |
X=Up, Y=Forward, Z=Right. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | RUF |
X=Right, Y=Up, Z=Forward. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | RFU |
X=Right, Y=Forward, Z=Up. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | FUR |
X=Forward, Y=Up, Z=Right. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | FRU |
X=Forward, Y=Right, Z=Up. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | URB |
X=Up, Y=Right, Z=Back. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | UBR |
X=Up, Y=Back, Z=Right. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | RUB |
X=Right, Y=Up, Z=Back. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | RBU |
X=Right, Y=Back, Z=Up. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | BUR |
X=Back, Y=Up, Z=Right. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | BRU |
X=Back, Y=Right, Z=Up. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | DLF |
X=Down, Y=Left, Z=Forward. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | DFL |
X=Down, Y=Forward, Z=Left. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | LDF |
X=Left, Y=Down, Z=Forward. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | LFD |
X=Left, Y=Forward, Z=Down. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | FDL |
X=Forward, Y=Down, Z=Left. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | FLD |
X=Forward, Y=Left, Z=Down. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | DLB |
X=Down, Y=Left, Z=Back. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | DBL |
X=Down, Y=Back, Z=Left. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | LDB |
X=Left, Y=Down, Z=Back. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | LBD |
X=Left, Y=Back, Z=Down. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | BDL |
X=Back, Y=Down, Z=Left. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | BLD |
X=Back, Y=Left, Z=Down. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | DRF |
X=Down, Y=Right, Z=Forward. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | DFR |
X=Down, Y=Forward, Z=Right. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | RDF |
X=Right, Y=Down, Z=Forward. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | RFD |
X=Right, Y=Forward, Z=Down. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | FDR |
X=Forward, Y=Down, Z=Right. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | FRD |
X=Forward, Y=Right, Z=Down. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | DRB |
X=Down, Y=Right, Z=Back. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | DBR |
X=Down, Y=Back, Z=Right. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | RDB |
X=Right, Y=Down, Z=Back. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | RBD |
X=Right, Y=Back, Z=Down. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | BDR |
X=Back, Y=Down, Z=Right. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | BRD |
X=Back, Y=Right, Z=Down. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | RIGHT_HAND_X_UP |
X=Up, Y=Right, Z=Forward. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | RIGHT_HAND_X_DOWN |
X=Down, Y=Right, Z=Back. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | RIGHT_HAND_Y_UP |
X=Right, Y=Up, Z=Back. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | RIGHT_HAND_Y_DOWN |
X=Right, Y=Down, Z=Forward. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | RIGHT_HAND_Z_UP |
X=Right, Y=Forward, Z=Up. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | RIGHT_HAND_Z_DOWN |
X=Right, Y=Back, Z=Down. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | LEFT_HAND_X_UP |
X=Up, Y=Right, Z=Back. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | LEFT_HAND_X_DOWN |
X=Down, Y=Right, Z=Forward. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | LEFT_HAND_Y_UP |
X=Right, Y=Up, Z=Forward. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | LEFT_HAND_Y_DOWN |
X=Right, Y=Down, Z=Back. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | LEFT_HAND_Z_UP |
X=Right, Y=Back, Z=Up. | |
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates | LEFT_HAND_Z_DOWN |
X=Right, Y=Forward, Z=Down. | |
Component: How we interpret the coordinate system of an entity/space.
For instance: What is "up"? What does the Z axis mean?
The three coordinates are always ordered as [x, y, z].
For example [Right, Down, Forward] means that the X axis points to the right, the Y axis points down, and the Z axis points forward.
⚠ Rerun does not yet support left-handed coordinate systems.
The following constants are used to represent the different directions:
|
static |
X=Up, Y=Left, Z=Forward.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Left, Y=Forward, Z=Up.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Forward, Y=Up, Z=Left.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Up, Y=Back, Z=Left.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Left, Y=Up, Z=Back.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Back, Y=Left, Z=Up.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Up, Y=Forward, Z=Right.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Right, Y=Up, Z=Forward.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Forward, Y=Right, Z=Up.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Up, Y=Right, Z=Back.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Right, Y=Back, Z=Up.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Back, Y=Up, Z=Right.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Down, Y=Forward, Z=Left.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Left, Y=Down, Z=Forward.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Forward, Y=Left, Z=Down.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Down, Y=Left, Z=Back.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Left, Y=Back, Z=Down.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Back, Y=Down, Z=Left.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Down, Y=Right, Z=Forward.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Right, Y=Forward, Z=Down.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Forward, Y=Down, Z=Right.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Down, Y=Back, Z=Right.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Right, Y=Down, Z=Back.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Back, Y=Right, Z=Down.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Up, Y=Right, Z=Back.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Down, Y=Right, Z=Forward.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Right, Y=Up, Z=Forward.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Right, Y=Down, Z=Back.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Right, Y=Back, Z=Up.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.
|
static |
X=Right, Y=Forward, Z=Down.
⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.