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

Encoding: An orientation convention for three-dimensional coordinates. More...

#include <rerun/encodings/view_coordinates.hpp>

Public Member Functions

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

Public Attributes

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

Detailed Description

Encoding: An orientation convention for three-dimensional coordinates.

The three directions are always ordered as [x, y, z] and specify where each positive axis points. For example, [Right, Down, Forward] means that +X points right, +Y points down, and +Z points forward.

Rerun does not yet support left-handed coordinate systems.

This type is unstable and may change significantly in a way that the data won't be backwards compatible.


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