Rerun C++ SDK
Loading...
Searching...
No Matches
view_coordinates.hpp
1// DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/cpp/mod.rs
2// Based on "crates/store/re_types/definitions/rerun/archetypes/view_coordinates.fbs".
3
4#pragma once
5
6#include "../collection.hpp"
7#include "../component_batch.hpp"
8#include "../component_column.hpp"
9#include "../components/view_coordinates.hpp"
10#include "../rerun_sdk_export.hpp"
11#include "../result.hpp"
12
13#include <cstdint>
14#include <optional>
15#include <utility>
16#include <vector>
17
18namespace rerun::archetypes {
19 /// **Archetype**: How we interpret the coordinate system of an entity/space.
20 ///
21 /// For instance: What is "up"? What does the Z axis mean?
22 ///
23 /// The three coordinates are always ordered as [x, y, z].
24 ///
25 /// For example [Right, Down, Forward] means that the X axis points to the right, the Y axis points
26 /// down, and the Z axis points forward.
27 ///
28 /// Make sure that this archetype is logged at or above the origin entity path of your 3D views.
29 ///
30 /// ⚠ [Rerun does not yet support left-handed coordinate systems](https://github.com/rerun-io/rerun/issues/5032).
31 ///
32 /// ## Example
33 ///
34 /// ### View coordinates for adjusting the eye camera
35 /// ![image](https://static.rerun.io/viewcoordinates/0833f0dc8616a676b7b2c566f2a6f613363680c5/full.png)
36 ///
37 /// ```cpp
38 /// #include <rerun.hpp>
39 ///
40 /// int main() {
41 /// const auto rec = rerun::RecordingStream("rerun_example_view_coordinates");
42 /// rec.spawn().exit_on_failure();
43 ///
44 /// rec.log_static("world", rerun::ViewCoordinates::RIGHT_HAND_Z_UP); // Set an up-axis
45 /// rec.log(
46 /// "world/xyz",
47 /// rerun::Arrows3D::from_vectors({{1.0, 0.0, 0.0}, {0.0, 1.0, 0.0}, {0.0, 0.0, 1.0}}
48 /// ).with_colors({{255, 0, 0}, {0, 255, 0}, {0, 0, 255}})
49 /// );
50 /// }
51 /// ```
52 ///
53 /// ⚠ **This type is _unstable_ and may change significantly in a way that the data won't be backwards compatible.**
54 ///
56 /// The directions of the [x, y, z] axes.
57 std::optional<ComponentBatch> xyz;
58
59 public:
60 /// The name of the archetype as used in `ComponentDescriptor`s.
61 static constexpr const char ArchetypeName[] = "rerun.archetypes.ViewCoordinates";
62
63 /// `ComponentDescriptor` for the `xyz` field.
64 static constexpr auto Descriptor_xyz = ComponentDescriptor(
65 ArchetypeName, "ViewCoordinates:xyz",
67 );
68
69 public: // START of extensions from view_coordinates_ext.cpp:
70 /// Construct Vec3D from x/y/z values.
71 ViewCoordinates(uint8_t axis0, uint8_t axis1, uint8_t axis2)
72 : ViewCoordinates(rerun::components::ViewCoordinates(axis0, axis1, axis2)) {}
73
74 // <BEGIN_GENERATED:declarations>
75 // This section is generated by running `scripts/generate_view_coordinate_defs.py --cpp`
76 /// X=Up, Y=Left, Z=Forward
77 ///
78 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
79 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates ULF;
80
81 /// X=Up, Y=Forward, Z=Left
82 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates UFL;
83
84 /// X=Left, Y=Up, Z=Forward
85 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates LUF;
86
87 /// X=Left, Y=Forward, Z=Up
88 ///
89 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
90 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates LFU;
91
92 /// X=Forward, Y=Up, Z=Left
93 ///
94 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
95 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates FUL;
96
97 /// X=Forward, Y=Left, Z=Up
98 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates FLU;
99
100 /// X=Up, Y=Left, Z=Back
101 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates ULB;
102
103 /// X=Up, Y=Back, Z=Left
104 ///
105 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
106 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates UBL;
107
108 /// X=Left, Y=Up, Z=Back
109 ///
110 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
111 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates LUB;
112
113 /// X=Left, Y=Back, Z=Up
114 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates LBU;
115
116 /// X=Back, Y=Up, Z=Left
117 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates BUL;
118
119 /// X=Back, Y=Left, Z=Up
120 ///
121 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
122 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates BLU;
123
124 /// X=Up, Y=Right, Z=Forward
125 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates URF;
126
127 /// X=Up, Y=Forward, Z=Right
128 ///
129 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
130 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates UFR;
131
132 /// X=Right, Y=Up, Z=Forward
133 ///
134 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
135 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates RUF;
136
137 /// X=Right, Y=Forward, Z=Up
138 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates RFU;
139
140 /// X=Forward, Y=Up, Z=Right
141 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates FUR;
142
143 /// X=Forward, Y=Right, Z=Up
144 ///
145 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
146 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates FRU;
147
148 /// X=Up, Y=Right, Z=Back
149 ///
150 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
151 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates URB;
152
153 /// X=Up, Y=Back, Z=Right
154 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates UBR;
155
156 /// X=Right, Y=Up, Z=Back
157 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates RUB;
158
159 /// X=Right, Y=Back, Z=Up
160 ///
161 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
162 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates RBU;
163
164 /// X=Back, Y=Up, Z=Right
165 ///
166 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
167 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates BUR;
168
169 /// X=Back, Y=Right, Z=Up
170 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates BRU;
171
172 /// X=Down, Y=Left, Z=Forward
173 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates DLF;
174
175 /// X=Down, Y=Forward, Z=Left
176 ///
177 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
178 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates DFL;
179
180 /// X=Left, Y=Down, Z=Forward
181 ///
182 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
183 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates LDF;
184
185 /// X=Left, Y=Forward, Z=Down
186 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates LFD;
187
188 /// X=Forward, Y=Down, Z=Left
189 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates FDL;
190
191 /// X=Forward, Y=Left, Z=Down
192 ///
193 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
194 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates FLD;
195
196 /// X=Down, Y=Left, Z=Back
197 ///
198 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
199 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates DLB;
200
201 /// X=Down, Y=Back, Z=Left
202 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates DBL;
203
204 /// X=Left, Y=Down, Z=Back
205 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates LDB;
206
207 /// X=Left, Y=Back, Z=Down
208 ///
209 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
210 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates LBD;
211
212 /// X=Back, Y=Down, Z=Left
213 ///
214 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
215 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates BDL;
216
217 /// X=Back, Y=Left, Z=Down
218 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates BLD;
219
220 /// X=Down, Y=Right, Z=Forward
221 ///
222 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
223 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates DRF;
224
225 /// X=Down, Y=Forward, Z=Right
226 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates DFR;
227
228 /// X=Right, Y=Down, Z=Forward
229 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates RDF;
230
231 /// X=Right, Y=Forward, Z=Down
232 ///
233 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
234 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates RFD;
235
236 /// X=Forward, Y=Down, Z=Right
237 ///
238 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
239 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates FDR;
240
241 /// X=Forward, Y=Right, Z=Down
242 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates FRD;
243
244 /// X=Down, Y=Right, Z=Back
245 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates DRB;
246
247 /// X=Down, Y=Back, Z=Right
248 ///
249 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
250 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates DBR;
251
252 /// X=Right, Y=Down, Z=Back
253 ///
254 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
255 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates RDB;
256
257 /// X=Right, Y=Back, Z=Down
258 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates RBD;
259
260 /// X=Back, Y=Down, Z=Right
261 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates BDR;
262
263 /// X=Back, Y=Right, Z=Down
264 ///
265 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
266 RERUN_SDK_EXPORT static const rerun::archetypes::ViewCoordinates BRD;
267
268 /// X=Up, Y=Right, Z=Forward
270
271 /// X=Down, Y=Right, Z=Back
273
274 /// X=Right, Y=Up, Z=Back
276
277 /// X=Right, Y=Down, Z=Forward
279
280 /// X=Right, Y=Forward, Z=Up
282
283 /// X=Right, Y=Back, Z=Down
285
286 /// X=Up, Y=Right, Z=Back
287 ///
288 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
290
291 /// X=Down, Y=Right, Z=Forward
292 ///
293 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
295
296 /// X=Right, Y=Up, Z=Forward
297 ///
298 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
300
301 /// X=Right, Y=Down, Z=Back
302 ///
303 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
305
306 /// X=Right, Y=Back, Z=Up
307 ///
308 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
310
311 /// X=Right, Y=Forward, Z=Down
312 ///
313 /// ⚠️ This is a left-handed coordinate system, which is [not yet supported by Rerun](https://github.com/rerun-io/rerun/issues/5032).
315
316 // <END_GENERATED:declarations>
317
318 // END of extensions from view_coordinates_ext.cpp, start of generated code:
319
320 public:
321 ViewCoordinates() = default;
322 ViewCoordinates(ViewCoordinates&& other) = default;
323 ViewCoordinates(const ViewCoordinates& other) = default;
324 ViewCoordinates& operator=(const ViewCoordinates& other) = default;
325 ViewCoordinates& operator=(ViewCoordinates&& other) = default;
326
328 : xyz(ComponentBatch::from_loggable(std::move(_xyz), Descriptor_xyz).value_or_throw()) {
329 }
330
331 /// Update only some specific fields of a `ViewCoordinates`.
333 return ViewCoordinates();
334 }
335
336 /// Clear all the fields of a `ViewCoordinates`.
338
339 /// The directions of the [x, y, z] axes.
341 xyz = ComponentBatch::from_loggable(_xyz, Descriptor_xyz).value_or_throw();
342 return std::move(*this);
343 }
344
345 /// This method makes it possible to pack multiple `xyz` in a single component batch.
346 ///
347 /// This only makes sense when used in conjunction with `columns`. `with_xyz` should
348 /// be used when logging a single row's worth of data.
350 ) && {
351 xyz = ComponentBatch::from_loggable(_xyz, Descriptor_xyz).value_or_throw();
352 return std::move(*this);
353 }
354
355 /// Partitions the component data into multiple sub-batches.
356 ///
357 /// Specifically, this transforms the existing `ComponentBatch` data into `ComponentColumn`s
358 /// instead, via `ComponentBatch::partitioned`.
359 ///
360 /// This makes it possible to use `RecordingStream::send_columns` to send columnar data directly into Rerun.
361 ///
362 /// The specified `lengths` must sum to the total length of the component batch.
364
365 /// Partitions the component data into unit-length sub-batches.
366 ///
367 /// This is semantically similar to calling `columns` with `std::vector<uint32_t>(n, 1)`,
368 /// where `n` is automatically guessed.
370 };
371
372} // namespace rerun::archetypes
373
374namespace rerun {
375 /// \private
376 template <typename T>
377 struct AsComponents;
378
379 /// \private
380 template <>
381 struct AsComponents<archetypes::ViewCoordinates> {
382 /// Serialize all set component batches.
383 static Result<Collection<ComponentBatch>> as_batches(
384 const archetypes::ViewCoordinates& archetype
385 );
386 };
387} // namespace rerun
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:16
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:55
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BDL
X=Back, Y=Down, Z=Left.
Definition view_coordinates.hpp:215
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LEFT_HAND_X_UP
X=Up, Y=Right, Z=Back.
Definition view_coordinates.hpp:289
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LUB
X=Left, Y=Up, Z=Back.
Definition view_coordinates.hpp:111
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates ULF
X=Up, Y=Left, Z=Forward.
Definition view_coordinates.hpp:79
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BUR
X=Back, Y=Up, Z=Right.
Definition view_coordinates.hpp:167
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BUL
X=Back, Y=Up, Z=Left.
Definition view_coordinates.hpp:117
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RDF
X=Right, Y=Down, Z=Forward.
Definition view_coordinates.hpp:229
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates FDR
X=Forward, Y=Down, Z=Right.
Definition view_coordinates.hpp:239
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DFL
X=Down, Y=Forward, Z=Left.
Definition view_coordinates.hpp:178
static constexpr auto Descriptor_xyz
ComponentDescriptor for the xyz field.
Definition view_coordinates.hpp:64
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LDF
X=Left, Y=Down, Z=Forward.
Definition view_coordinates.hpp:183
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates FDL
X=Forward, Y=Down, Z=Left.
Definition view_coordinates.hpp:189
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates URB
X=Up, Y=Right, Z=Back.
Definition view_coordinates.hpp:151
ViewCoordinates(uint8_t axis0, uint8_t axis1, uint8_t axis2)
Construct Vec3D from x/y/z values.
Definition view_coordinates.hpp:71
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates URF
X=Up, Y=Right, Z=Forward.
Definition view_coordinates.hpp:125
static ViewCoordinates update_fields()
Update only some specific fields of a ViewCoordinates.
Definition view_coordinates.hpp:332
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RIGHT_HAND_Y_UP
X=Right, Y=Up, Z=Back.
Definition view_coordinates.hpp:275
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LUF
X=Left, Y=Up, Z=Forward.
Definition view_coordinates.hpp:85
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LDB
X=Left, Y=Down, Z=Back.
Definition view_coordinates.hpp:205
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates UFR
X=Up, Y=Forward, Z=Right.
Definition view_coordinates.hpp:130
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BRU
X=Back, Y=Right, Z=Up.
Definition view_coordinates.hpp:170
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RDB
X=Right, Y=Down, Z=Back.
Definition view_coordinates.hpp:255
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BDR
X=Back, Y=Down, Z=Right.
Definition view_coordinates.hpp:261
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:135
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LFU
X=Left, Y=Forward, Z=Up.
Definition view_coordinates.hpp:90
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LEFT_HAND_Z_UP
X=Right, Y=Back, Z=Up.
Definition view_coordinates.hpp:309
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RIGHT_HAND_X_DOWN
X=Down, Y=Right, Z=Back.
Definition view_coordinates.hpp:272
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DLF
X=Down, Y=Left, Z=Forward.
Definition view_coordinates.hpp:173
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LEFT_HAND_Z_DOWN
X=Right, Y=Forward, Z=Down.
Definition view_coordinates.hpp:314
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DRF
X=Down, Y=Right, Z=Forward.
Definition view_coordinates.hpp:223
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LBD
X=Left, Y=Back, Z=Down.
Definition view_coordinates.hpp:210
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates FRD
X=Forward, Y=Right, Z=Down.
Definition view_coordinates.hpp:242
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LEFT_HAND_Y_UP
X=Right, Y=Up, Z=Forward.
Definition view_coordinates.hpp:299
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:114
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DLB
X=Down, Y=Left, Z=Back.
Definition view_coordinates.hpp:199
std::optional< ComponentBatch > xyz
The directions of the [x, y, z] axes.
Definition view_coordinates.hpp:57
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LFD
X=Left, Y=Forward, Z=Down.
Definition view_coordinates.hpp:186
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DBR
X=Down, Y=Back, Z=Right.
Definition view_coordinates.hpp:250
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates FLU
X=Forward, Y=Left, Z=Up.
Definition view_coordinates.hpp:98
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RFD
X=Right, Y=Forward, Z=Down.
Definition view_coordinates.hpp:234
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RIGHT_HAND_X_UP
X=Up, Y=Right, Z=Forward.
Definition view_coordinates.hpp:269
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RBD
X=Right, Y=Back, Z=Down.
Definition view_coordinates.hpp:258
ViewCoordinates with_xyz(const rerun::components::ViewCoordinates &_xyz) &&
The directions of the [x, y, z] axes.
Definition view_coordinates.hpp:340
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RFU
X=Right, Y=Forward, Z=Up.
Definition view_coordinates.hpp:138
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates UFL
X=Up, Y=Forward, Z=Left.
Definition view_coordinates.hpp:82
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RIGHT_HAND_Y_DOWN
X=Right, Y=Down, Z=Forward.
Definition view_coordinates.hpp:278
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DRB
X=Down, Y=Right, Z=Back.
Definition view_coordinates.hpp:245
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DFR
X=Down, Y=Forward, Z=Right.
Definition view_coordinates.hpp:226
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LEFT_HAND_Y_DOWN
X=Right, Y=Down, Z=Back.
Definition view_coordinates.hpp:304
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates UBR
X=Up, Y=Back, Z=Right.
Definition view_coordinates.hpp:154
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BRD
X=Back, Y=Right, Z=Down.
Definition view_coordinates.hpp:266
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates FRU
X=Forward, Y=Right, Z=Up.
Definition view_coordinates.hpp:146
static constexpr const char ArchetypeName[]
The name of the archetype as used in ComponentDescriptors.
Definition view_coordinates.hpp:61
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates ULB
X=Up, Y=Left, Z=Back.
Definition view_coordinates.hpp:101
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates FLD
X=Forward, Y=Left, Z=Down.
Definition view_coordinates.hpp:194
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates LEFT_HAND_X_DOWN
X=Down, Y=Right, Z=Forward.
Definition view_coordinates.hpp:294
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RIGHT_HAND_Z_UP
X=Right, Y=Forward, Z=Up.
Definition view_coordinates.hpp:281
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RIGHT_HAND_Z_DOWN
X=Right, Y=Back, Z=Down.
Definition view_coordinates.hpp:284
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates FUL
X=Forward, Y=Up, Z=Left.
Definition view_coordinates.hpp:95
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates DBL
X=Down, Y=Back, Z=Left.
Definition view_coordinates.hpp:202
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates UBL
X=Up, Y=Back, Z=Left.
Definition view_coordinates.hpp:106
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BLU
X=Back, Y=Left, Z=Up.
Definition view_coordinates.hpp:122
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:141
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RUB
X=Right, Y=Up, Z=Back.
Definition view_coordinates.hpp:157
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates BLD
X=Back, Y=Left, Z=Down.
Definition view_coordinates.hpp:218
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:349
static RERUN_SDK_EXPORT const rerun::archetypes::ViewCoordinates RBU
X=Right, Y=Back, Z=Up.
Definition view_coordinates.hpp:162
Component: How we interpret the coordinate system of an entity/space.
Definition view_coordinates.hpp:35