6#include "../collection.hpp"
7#include "../component_batch.hpp"
8#include "../component_column.hpp"
9#include "../components/view_coordinates.hpp"
10#include "../indicator_component.hpp"
11#include "../rerun_sdk_export.hpp"
12#include "../result.hpp"
58 std::optional<ComponentBatch>
xyz;
61 static constexpr const char IndicatorComponentName[] =
62 "rerun.components.ViewCoordinatesIndicator";
67 static constexpr const char ArchetypeName[] =
"rerun.archetypes.ViewCoordinates";
348 return std::move(*
this);
358 return std::move(*
this);
382 template <
typename T>
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:49
A class for representing either a usable value, or an error.
Definition result.hpp:14
All built-in archetypes. See Types in the Rerun manual.
Definition rerun.hpp:76
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
Arrow-encoded data of a single batch of components together with a component descriptor.
Definition component_batch.hpp:28
static Result< ComponentBatch > from_loggable(const rerun::Collection< T > &components, const ComponentDescriptor &descriptor)
Creates a new component batch from a collection of component instances.
Definition component_batch.hpp:46
A ComponentDescriptor fully describes the semantics of a column of data.
Definition component_descriptor.hpp:14
The Loggable trait is used by all built-in implementation of rerun::AsComponents to serialize a colle...
Definition loggable.hpp:11
Archetype: How we interpret the coordinate system of an entity/space.
Definition view_coordinates.hpp:56
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BDL
X=Back, Y=Down, Z=Left.
Definition view_coordinates.hpp:221
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LEFT_HAND_X_UP
X=Up, Y=Right, Z=Back.
Definition view_coordinates.hpp:295
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LUB
X=Left, Y=Up, Z=Back.
Definition view_coordinates.hpp:117
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates ULF
X=Up, Y=Left, Z=Forward.
Definition view_coordinates.hpp:85
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BUR
X=Back, Y=Up, Z=Right.
Definition view_coordinates.hpp:173
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BUL
X=Back, Y=Up, Z=Left.
Definition view_coordinates.hpp:123
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RDF
X=Right, Y=Down, Z=Forward.
Definition view_coordinates.hpp:235
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates FDR
X=Forward, Y=Down, Z=Right.
Definition view_coordinates.hpp:245
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DFL
X=Down, Y=Forward, Z=Left.
Definition view_coordinates.hpp:184
static constexpr auto Descriptor_xyz
ComponentDescriptor for the xyz field.
Definition view_coordinates.hpp:70
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LDF
X=Left, Y=Down, Z=Forward.
Definition view_coordinates.hpp:189
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates FDL
X=Forward, Y=Down, Z=Left.
Definition view_coordinates.hpp:195
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates URB
X=Up, Y=Right, Z=Back.
Definition view_coordinates.hpp:157
ViewCoordinates(uint8_t axis0, uint8_t axis1, uint8_t axis2)
Construct Vec3D from x/y/z values.
Definition view_coordinates.hpp:77
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates URF
X=Up, Y=Right, Z=Forward.
Definition view_coordinates.hpp:131
static ViewCoordinates update_fields()
Update only some specific fields of a ViewCoordinates.
Definition view_coordinates.hpp:338
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RIGHT_HAND_Y_UP
X=Right, Y=Up, Z=Back.
Definition view_coordinates.hpp:281
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LUF
X=Left, Y=Up, Z=Forward.
Definition view_coordinates.hpp:91
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LDB
X=Left, Y=Down, Z=Back.
Definition view_coordinates.hpp:211
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates UFR
X=Up, Y=Forward, Z=Right.
Definition view_coordinates.hpp:136
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BRU
X=Back, Y=Right, Z=Up.
Definition view_coordinates.hpp:176
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RDB
X=Right, Y=Down, Z=Back.
Definition view_coordinates.hpp:261
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BDR
X=Back, Y=Down, Z=Right.
Definition view_coordinates.hpp:267
static ViewCoordinates clear_fields()
Clear all the fields of a ViewCoordinates.
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RUF
X=Right, Y=Up, Z=Forward.
Definition view_coordinates.hpp:141
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LFU
X=Left, Y=Forward, Z=Up.
Definition view_coordinates.hpp:96
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LEFT_HAND_Z_UP
X=Right, Y=Back, Z=Up.
Definition view_coordinates.hpp:315
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RIGHT_HAND_X_DOWN
X=Down, Y=Right, Z=Back.
Definition view_coordinates.hpp:278
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DLF
X=Down, Y=Left, Z=Forward.
Definition view_coordinates.hpp:179
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LEFT_HAND_Z_DOWN
X=Right, Y=Forward, Z=Down.
Definition view_coordinates.hpp:320
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DRF
X=Down, Y=Right, Z=Forward.
Definition view_coordinates.hpp:229
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LBD
X=Left, Y=Back, Z=Down.
Definition view_coordinates.hpp:216
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates FRD
X=Forward, Y=Right, Z=Down.
Definition view_coordinates.hpp:248
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LEFT_HAND_Y_UP
X=Right, Y=Up, Z=Forward.
Definition view_coordinates.hpp:305
Collection< ComponentColumn > columns()
Partitions the component data into unit-length sub-batches.
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LBU
X=Left, Y=Back, Z=Up.
Definition view_coordinates.hpp:120
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DLB
X=Down, Y=Left, Z=Back.
Definition view_coordinates.hpp:205
std::optional< ComponentBatch > xyz
The directions of the [x, y, z] axes.
Definition view_coordinates.hpp:58
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LFD
X=Left, Y=Forward, Z=Down.
Definition view_coordinates.hpp:192
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DBR
X=Down, Y=Back, Z=Right.
Definition view_coordinates.hpp:256
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates FLU
X=Forward, Y=Left, Z=Up.
Definition view_coordinates.hpp:104
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RFD
X=Right, Y=Forward, Z=Down.
Definition view_coordinates.hpp:240
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RIGHT_HAND_X_UP
X=Up, Y=Right, Z=Forward.
Definition view_coordinates.hpp:275
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RBD
X=Right, Y=Back, Z=Down.
Definition view_coordinates.hpp:264
ViewCoordinates with_xyz(const rerun::components::ViewCoordinates &_xyz) &&
The directions of the [x, y, z] axes.
Definition view_coordinates.hpp:346
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RFU
X=Right, Y=Forward, Z=Up.
Definition view_coordinates.hpp:144
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates UFL
X=Up, Y=Forward, Z=Left.
Definition view_coordinates.hpp:88
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RIGHT_HAND_Y_DOWN
X=Right, Y=Down, Z=Forward.
Definition view_coordinates.hpp:284
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DRB
X=Down, Y=Right, Z=Back.
Definition view_coordinates.hpp:251
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DFR
X=Down, Y=Forward, Z=Right.
Definition view_coordinates.hpp:232
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LEFT_HAND_Y_DOWN
X=Right, Y=Down, Z=Back.
Definition view_coordinates.hpp:310
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates UBR
X=Up, Y=Back, Z=Right.
Definition view_coordinates.hpp:160
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BRD
X=Back, Y=Right, Z=Down.
Definition view_coordinates.hpp:272
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates FRU
X=Forward, Y=Right, Z=Up.
Definition view_coordinates.hpp:152
static constexpr const char ArchetypeName[]
The name of the archetype as used in ComponentDescriptors.
Definition view_coordinates.hpp:67
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates ULB
X=Up, Y=Left, Z=Back.
Definition view_coordinates.hpp:107
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates FLD
X=Forward, Y=Left, Z=Down.
Definition view_coordinates.hpp:200
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LEFT_HAND_X_DOWN
X=Down, Y=Right, Z=Forward.
Definition view_coordinates.hpp:300
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RIGHT_HAND_Z_UP
X=Right, Y=Forward, Z=Up.
Definition view_coordinates.hpp:287
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RIGHT_HAND_Z_DOWN
X=Right, Y=Back, Z=Down.
Definition view_coordinates.hpp:290
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates FUL
X=Forward, Y=Up, Z=Left.
Definition view_coordinates.hpp:101
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DBL
X=Down, Y=Back, Z=Left.
Definition view_coordinates.hpp:208
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates UBL
X=Up, Y=Back, Z=Left.
Definition view_coordinates.hpp:112
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BLU
X=Back, Y=Left, Z=Up.
Definition view_coordinates.hpp:128
Collection< ComponentColumn > columns(const Collection< uint32_t > &lengths_)
Partitions the component data into multiple sub-batches.
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates FUR
X=Forward, Y=Up, Z=Right.
Definition view_coordinates.hpp:147
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RUB
X=Right, Y=Up, Z=Back.
Definition view_coordinates.hpp:163
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BLD
X=Back, Y=Left, Z=Down.
Definition view_coordinates.hpp:224
ViewCoordinates with_many_xyz(const Collection< rerun::components::ViewCoordinates > &_xyz) &&
This method makes it possible to pack multiple xyz in a single component batch.
Definition view_coordinates.hpp:355
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RBU
X=Right, Y=Back, Z=Up.
Definition view_coordinates.hpp:168
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:32
Component: How we interpret the coordinate system of an entity/space.
Definition view_coordinates.hpp:36