6#include "../result.hpp"
15 class FixedSizeListBuilder;
42 enum ViewDir : uint8_t {
136 template <
typename T>
141 struct Loggable<components::ViewCoordinates> {
142 static constexpr const char Name[] =
"rerun.components.ViewCoordinates";
145 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
149 arrow::FixedSizeListBuilder* builder,
const components::ViewCoordinates* elements,
154 static Result<std::shared_ptr<arrow::Array>> to_arrow(
155 const components::ViewCoordinates* instances,
size_t num_instances
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:87
All built-in components. See Types in the Rerun manual.
Definition rerun.hpp:69
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:20
Archetype: How we interpret the coordinate system of an entity/space.
Definition view_coordinates.hpp:46
Component: How we interpret the coordinate system of an entity/space.
Definition view_coordinates.hpp:35
constexpr ViewCoordinates(uint8_t axis0, uint8_t axis1, uint8_t axis2)
Construct Vec3D from x/y/z values.
Definition view_coordinates.hpp:52
constexpr ViewCoordinates(ViewDir axis0, ViewDir axis1, ViewDir axis2)
Construct Vec3D from x/y/z values.
Definition view_coordinates.hpp:56
std::array< uint8_t, 3 > coordinates
The directions of the [x, y, z] axes.
Definition view_coordinates.hpp:37