Rerun C++ SDK
Loading...
Searching...
No Matches
rerun::components::ViewCoordinates Struct Reference

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.
 

Detailed Description

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:

  • Up = 1
  • Down = 2
  • Right = 3
  • Left = 4
  • Forward = 5
  • Back = 6

Member Data Documentation

◆ ULF

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::ULF
static

X=Up, Y=Left, Z=Forward.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ LFU

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::LFU
static

X=Left, Y=Forward, Z=Up.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ FUL

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::FUL
static

X=Forward, Y=Up, Z=Left.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ UBL

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::UBL
static

X=Up, Y=Back, Z=Left.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ LUB

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::LUB
static

X=Left, Y=Up, Z=Back.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ BLU

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::BLU
static

X=Back, Y=Left, Z=Up.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ UFR

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::UFR
static

X=Up, Y=Forward, Z=Right.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ RUF

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::RUF
static

X=Right, Y=Up, Z=Forward.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ FRU

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::FRU
static

X=Forward, Y=Right, Z=Up.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ URB

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::URB
static

X=Up, Y=Right, Z=Back.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ RBU

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::RBU
static

X=Right, Y=Back, Z=Up.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ BUR

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::BUR
static

X=Back, Y=Up, Z=Right.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ DFL

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::DFL
static

X=Down, Y=Forward, Z=Left.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ LDF

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::LDF
static

X=Left, Y=Down, Z=Forward.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ FLD

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::FLD
static

X=Forward, Y=Left, Z=Down.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ DLB

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::DLB
static

X=Down, Y=Left, Z=Back.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ LBD

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::LBD
static

X=Left, Y=Back, Z=Down.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ BDL

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::BDL
static

X=Back, Y=Down, Z=Left.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ DRF

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::DRF
static

X=Down, Y=Right, Z=Forward.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ RFD

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::RFD
static

X=Right, Y=Forward, Z=Down.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ FDR

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::FDR
static

X=Forward, Y=Down, Z=Right.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ DBR

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::DBR
static

X=Down, Y=Back, Z=Right.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ RDB

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::RDB
static

X=Right, Y=Down, Z=Back.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ BRD

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::BRD
static

X=Back, Y=Right, Z=Down.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ LEFT_HAND_X_UP

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::LEFT_HAND_X_UP
static

X=Up, Y=Right, Z=Back.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ LEFT_HAND_X_DOWN

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::LEFT_HAND_X_DOWN
static

X=Down, Y=Right, Z=Forward.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ LEFT_HAND_Y_UP

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::LEFT_HAND_Y_UP
static

X=Right, Y=Up, Z=Forward.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ LEFT_HAND_Y_DOWN

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::LEFT_HAND_Y_DOWN
static

X=Right, Y=Down, Z=Back.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ LEFT_HAND_Z_UP

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::LEFT_HAND_Z_UP
static

X=Right, Y=Back, Z=Up.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.

◆ LEFT_HAND_Z_DOWN

RERUN_SDK_EXPORT const rerun::components::ViewCoordinates rerun::components::ViewCoordinates::LEFT_HAND_Z_DOWN
static

X=Right, Y=Forward, Z=Down.

⚠️ This is a left-handed coordinate system, which is not yet supported by Rerun.


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