6#include "../datatypes/view_coordinates.hpp"
7#include "../rerun_sdk_export.hpp"
8#include "../result.hpp"
37 enum ViewDir : uint8_t {
315 struct Loggable<components::ViewCoordinates> {
316 static constexpr const char Name[] =
"rerun.components.ViewCoordinates";
319 static const std::shared_ptr<arrow::DataType>& arrow_datatype() {
320 return Loggable<rerun::datatypes::ViewCoordinates>::arrow_datatype();
324 static Result<std::shared_ptr<arrow::Array>> to_arrow(
325 const components::ViewCoordinates* instances,
size_t num_instances
327 if (num_instances == 0) {
328 return Loggable<rerun::datatypes::ViewCoordinates>::to_arrow(
nullptr, 0);
329 }
else if (instances ==
nullptr) {
331 ErrorCode::UnexpectedNullArgument,
332 "Passed array instances is null when num_elements> 0."
335 return Loggable<rerun::datatypes::ViewCoordinates>::to_arrow(
336 &instances->coordinates,
Status outcome object (success or error) returned for fallible operations.
Definition error.hpp:95
All built-in components. See Types in the Rerun manual.
Definition rerun.hpp:79
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:22
Component: How we interpret the coordinate system of an entity/space.
Definition view_coordinates.hpp:32
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates RFD
X=Right, Y=Forward, Z=Down.
Definition view_coordinates.hpp:214
constexpr ViewCoordinates(uint8_t axis0, uint8_t axis1, uint8_t axis2)
Construct Vec3D from x/y/z values.
Definition view_coordinates.hpp:47
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates RIGHT_HAND_X_UP
X=Up, Y=Right, Z=Forward.
Definition view_coordinates.hpp:249
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates BUR
X=Back, Y=Up, Z=Right.
Definition view_coordinates.hpp:147
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates DBR
X=Down, Y=Back, Z=Right.
Definition view_coordinates.hpp:230
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates LEFT_HAND_X_UP
X=Up, Y=Right, Z=Back.
Definition view_coordinates.hpp:269
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates LUB
X=Left, Y=Up, Z=Back.
Definition view_coordinates.hpp:91
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates URF
X=Up, Y=Right, Z=Forward.
Definition view_coordinates.hpp:105
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates LUF
X=Left, Y=Up, Z=Forward.
Definition view_coordinates.hpp:65
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates UBL
X=Up, Y=Back, Z=Left.
Definition view_coordinates.hpp:86
constexpr ViewCoordinates(ViewDir axis0, ViewDir axis1, ViewDir axis2)
Construct Vec3D from x/y/z enum values.
Definition view_coordinates.hpp:51
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates BLD
X=Back, Y=Left, Z=Down.
Definition view_coordinates.hpp:198
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates LEFT_HAND_X_DOWN
X=Down, Y=Right, Z=Forward.
Definition view_coordinates.hpp:274
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates FRU
X=Forward, Y=Right, Z=Up.
Definition view_coordinates.hpp:126
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates UFL
X=Up, Y=Forward, Z=Left.
Definition view_coordinates.hpp:62
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates LDF
X=Left, Y=Down, Z=Forward.
Definition view_coordinates.hpp:163
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates LEFT_HAND_Z_DOWN
X=Right, Y=Forward, Z=Down.
Definition view_coordinates.hpp:294
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates RIGHT_HAND_Z_UP
X=Right, Y=Forward, Z=Up.
Definition view_coordinates.hpp:261
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates RIGHT_HAND_Y_UP
X=Right, Y=Up, Z=Back.
Definition view_coordinates.hpp:255
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates DFL
X=Down, Y=Forward, Z=Left.
Definition view_coordinates.hpp:158
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates RIGHT_HAND_Z_DOWN
X=Right, Y=Back, Z=Down.
Definition view_coordinates.hpp:264
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates RIGHT_HAND_Y_DOWN
X=Right, Y=Down, Z=Forward.
Definition view_coordinates.hpp:258
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates DLB
X=Down, Y=Left, Z=Back.
Definition view_coordinates.hpp:179
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates LBU
X=Left, Y=Back, Z=Up.
Definition view_coordinates.hpp:94
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates ULB
X=Up, Y=Left, Z=Back.
Definition view_coordinates.hpp:81
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates BDR
X=Back, Y=Down, Z=Right.
Definition view_coordinates.hpp:241
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates BRD
X=Back, Y=Right, Z=Down.
Definition view_coordinates.hpp:246
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates RBD
X=Right, Y=Back, Z=Down.
Definition view_coordinates.hpp:238
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates FDR
X=Forward, Y=Down, Z=Right.
Definition view_coordinates.hpp:219
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates BDL
X=Back, Y=Down, Z=Left.
Definition view_coordinates.hpp:195
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates RIGHT_HAND_X_DOWN
X=Down, Y=Right, Z=Back.
Definition view_coordinates.hpp:252
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates RBU
X=Right, Y=Back, Z=Up.
Definition view_coordinates.hpp:142
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates DRF
X=Down, Y=Right, Z=Forward.
Definition view_coordinates.hpp:203
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates LBD
X=Left, Y=Back, Z=Down.
Definition view_coordinates.hpp:190
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates FUR
X=Forward, Y=Up, Z=Right.
Definition view_coordinates.hpp:121
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates RUB
X=Right, Y=Up, Z=Back.
Definition view_coordinates.hpp:137
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates RUF
X=Right, Y=Up, Z=Forward.
Definition view_coordinates.hpp:115
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates FDL
X=Forward, Y=Down, Z=Left.
Definition view_coordinates.hpp:169
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates FRD
X=Forward, Y=Right, Z=Down.
Definition view_coordinates.hpp:222
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates DRB
X=Down, Y=Right, Z=Back.
Definition view_coordinates.hpp:225
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates RDB
X=Right, Y=Down, Z=Back.
Definition view_coordinates.hpp:235
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates BLU
X=Back, Y=Left, Z=Up.
Definition view_coordinates.hpp:102
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates FLD
X=Forward, Y=Left, Z=Down.
Definition view_coordinates.hpp:174
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates URB
X=Up, Y=Right, Z=Back.
Definition view_coordinates.hpp:131
rerun::datatypes::ViewCoordinates coordinates
The directions of the [x, y, z] axes.
Definition view_coordinates.hpp:34
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates BUL
X=Back, Y=Up, Z=Left.
Definition view_coordinates.hpp:97
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates LEFT_HAND_Z_UP
X=Right, Y=Back, Z=Up.
Definition view_coordinates.hpp:289
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates FLU
X=Forward, Y=Left, Z=Up.
Definition view_coordinates.hpp:78
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates LFD
X=Left, Y=Forward, Z=Down.
Definition view_coordinates.hpp:166
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates UFR
X=Up, Y=Forward, Z=Right.
Definition view_coordinates.hpp:110
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates RFU
X=Right, Y=Forward, Z=Up.
Definition view_coordinates.hpp:118
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates LEFT_HAND_Y_DOWN
X=Right, Y=Down, Z=Back.
Definition view_coordinates.hpp:284
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates DBL
X=Down, Y=Back, Z=Left.
Definition view_coordinates.hpp:182
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates LFU
X=Left, Y=Forward, Z=Up.
Definition view_coordinates.hpp:70
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates ULF
X=Up, Y=Left, Z=Forward.
Definition view_coordinates.hpp:59
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates UBR
X=Up, Y=Back, Z=Right.
Definition view_coordinates.hpp:134
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates LEFT_HAND_Y_UP
X=Right, Y=Up, Z=Forward.
Definition view_coordinates.hpp:279
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates RDF
X=Right, Y=Down, Z=Forward.
Definition view_coordinates.hpp:209
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates DLF
X=Down, Y=Left, Z=Forward.
Definition view_coordinates.hpp:153
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates FUL
X=Forward, Y=Up, Z=Left.
Definition view_coordinates.hpp:75
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates DFR
X=Down, Y=Forward, Z=Right.
Definition view_coordinates.hpp:206
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates LDB
X=Left, Y=Down, Z=Back.
Definition view_coordinates.hpp:185
static RERUN_SDK_EXPORT const rerun::components::ViewCoordinates BRU
X=Back, Y=Right, Z=Up.
Definition view_coordinates.hpp:150
Datatype: How we interpret the coordinate system of an entity/space.
Definition view_coordinates.hpp:37