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