6#include "../result.hpp"
15 class FixedSizeListBuilder;
69 struct Loggable<datatypes::ViewCoordinates> {
70 static constexpr std::string_view ComponentType =
"rerun.datatypes.ViewCoordinates";
73 static const std::shared_ptr<arrow::DataType>& arrow_datatype();
76 static Result<std::shared_ptr<arrow::Array>> to_arrow(
77 const datatypes::ViewCoordinates* instances,
size_t num_instances
82 arrow::FixedSizeListBuilder* builder,
const datatypes::ViewCoordinates* elements,
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:99
All built-in datatypes. See Types in the Rerun manual.
Definition rerun.hpp:82
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
Archetype: How we interpret the coordinate system of an entity/space.
Definition view_coordinates.hpp:55
Datatype: How we interpret the coordinate system of an entity/space.
Definition view_coordinates.hpp:40
std::array< uint8_t, 3 > coordinates
The directions of the [x, y, z] axes.
Definition view_coordinates.hpp:42
constexpr ViewCoordinates(uint8_t axis0, uint8_t axis1, uint8_t axis2)
Construct Vec3D from x/y/z values.
Definition view_coordinates.hpp:46