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

Datatype: How we interpret the coordinate system of an entity/space. More...

#include <rerun/datatypes/view_coordinates.hpp>

Public Member Functions

constexpr ViewCoordinates (uint8_t axis0, uint8_t axis1, uint8_t axis2)
 Construct Vec3D from x/y/z values.
 
 ViewCoordinates (std::array< uint8_t, 3 > coordinates_)
 
ViewCoordinatesoperator= (std::array< uint8_t, 3 > coordinates_)
 

Public Attributes

std::array< uint8_t, 3 > coordinates
 The directions of the [x, y, z] axes.
 

Detailed Description

Datatype: How we interpret the coordinate system of an entity/space.

For instance: What is "up"? What does the Z axis mean? Is this right-handed or left-handed?

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.

The following constants are used to represent the different directions:

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

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