6#include "../result.hpp"
16 class FixedSizeListBuilder;
57 ViewCoordinates& operator=(std::array<rerun::encodings::ViewDir, 3> coordinates_) {
70 struct Loggable<encodings::ViewCoordinates> {
71 static constexpr std::string_view ComponentType =
"rerun.encodings.ViewCoordinates";
74 static const std::shared_ptr<arrow::DataType>& arrow_data_type();
77 static Result<std::shared_ptr<arrow::Array>> to_arrow(
78 const encodings::ViewCoordinates* instances,
size_t num_instances
83 arrow::FixedSizeListBuilder* builder,
const encodings::ViewCoordinates* elements,
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:103
All built-in encodings. See Types in the Rerun manual.
Definition rerun.hpp:96
ViewDir
Encoding: The six cardinal directions for 3D view-space.
Definition view_dir.hpp:27
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:26
Archetype: Sets the default orientation for 3D views at or below this entity.
Definition view_coordinates.hpp:58
Encoding: An orientation convention for three-dimensional coordinates.
Definition view_coordinates.hpp:29
constexpr ViewCoordinates(uint8_t axis0, uint8_t axis1, uint8_t axis2)
Construct ViewCoordinates from x/y/z values.
Definition view_coordinates.hpp:35
constexpr ViewCoordinates(rerun::encodings::ViewDir axis0, rerun::encodings::ViewDir axis1, rerun::encodings::ViewDir axis2)
Construct ViewCoordinates from x/y/z enum values.
Definition view_coordinates.hpp:43
std::array< rerun::encodings::ViewDir, 3 > coordinates
The directions of the [x, y, z] axes.
Definition view_coordinates.hpp:31