6#include "../collection.hpp"
7#include "../components/view_coordinates.hpp"
8#include "../data_cell.hpp"
9#include "../indicator_component.hpp"
10#include "../result.hpp"
50 static constexpr const char IndicatorComponentName[] =
51 "rerun.components.ViewCoordinatesIndicator";
143 template <
typename T>
148 struct AsComponents<archetypes::ViewCoordinates> {
150 static Result<std::vector<DataCell>> serialize(
const archetypes::ViewCoordinates& archetype
All built-in archetypes. See Types in the Rerun manual.
Definition rerun.hpp:66
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
size_t num_instances() const
Returns the number of primary instances of this archetype.
Definition view_coordinates.hpp:134
constexpr ViewCoordinates(uint8_t axis0, uint8_t axis1, uint8_t axis2)
Construct Vec3D from x/y/z values.
Definition view_coordinates.hpp:60
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:23
Component: How we interpret the coordinate system of an entity/space.
Definition view_coordinates.hpp:35