|
Rerun C++ SDK
|
Archetype: A visual representation of a archetypes::Transform3D.
More...
#include <rerun/archetypes/transform_axes3d.hpp>
Public Member Functions | |
| TransformAxes3D (TransformAxes3D &&other)=default | |
| TransformAxes3D (const TransformAxes3D &other)=default | |
| TransformAxes3D & | operator= (const TransformAxes3D &other)=default |
| TransformAxes3D & | operator= (TransformAxes3D &&other)=default |
| TransformAxes3D (rerun::components::AxisLength _axis_length) | |
| TransformAxes3D | with_axis_length (const rerun::components::AxisLength &_axis_length) && |
| Visual length of the 3 axes. | |
| TransformAxes3D | with_many_axis_length (const Collection< rerun::components::AxisLength > &_axis_length) && |
This method makes it possible to pack multiple axis_length in a single component batch. | |
| TransformAxes3D | with_show_frame (const rerun::components::ShowLabels &_show_frame) && |
| Whether to show a text label with the corresponding frame. | |
| TransformAxes3D | with_many_show_frame (const Collection< rerun::components::ShowLabels > &_show_frame) && |
This method makes it possible to pack multiple show_frame in a single component batch. | |
| Collection< ComponentColumn > | columns (const Collection< uint32_t > &lengths_) |
| Partitions the component data into multiple sub-batches. | |
| Collection< ComponentColumn > | columns () |
| Partitions the component data into unit-length sub-batches. | |
Static Public Member Functions | |
| static TransformAxes3D | update_fields () |
Update only some specific fields of a TransformAxes3D. | |
| static TransformAxes3D | clear_fields () |
Clear all the fields of a TransformAxes3D. | |
Public Attributes | |
| std::optional< ComponentBatch > | axis_length |
| Visual length of the 3 axes. | |
| std::optional< ComponentBatch > | show_frame |
| Whether to show a text label with the corresponding frame. | |
Static Public Attributes | |
| static constexpr const char | ArchetypeName [] = "rerun.archetypes.TransformAxes3D" |
The name of the archetype as used in ComponentDescriptors. | |
| static constexpr auto | Descriptor_axis_length |
ComponentDescriptor for the axis_length field. | |
| static constexpr auto | Descriptor_show_frame |
ComponentDescriptor for the show_frame field. | |
Archetype: A visual representation of a archetypes::Transform3D.

|
inline |
Visual length of the 3 axes.
The length is interpreted in the local coordinate system of the transform. If the transform is scaled, the axes will be scaled accordingly.
|
inline |
This method makes it possible to pack multiple axis_length in a single component batch.
This only makes sense when used in conjunction with columns. with_axis_length should be used when logging a single row's worth of data.
|
inline |
This method makes it possible to pack multiple show_frame in a single component batch.
This only makes sense when used in conjunction with columns. with_show_frame should be used when logging a single row's worth of data.
| Collection< ComponentColumn > rerun::archetypes::TransformAxes3D::columns | ( | const Collection< uint32_t > & | lengths_ | ) |
Partitions the component data into multiple sub-batches.
Specifically, this transforms the existing ComponentBatch data into ComponentColumns instead, via ComponentBatch::partitioned.
This makes it possible to use RecordingStream::send_columns to send columnar data directly into Rerun.
The specified lengths must sum to the total length of the component batch.
| Collection< ComponentColumn > rerun::archetypes::TransformAxes3D::columns | ( | ) |
Partitions the component data into unit-length sub-batches.
This is semantically similar to calling columns with std::vector<uint32_t>(n, 1), where n is automatically guessed.
| std::optional<ComponentBatch> rerun::archetypes::TransformAxes3D::axis_length |
Visual length of the 3 axes.
The length is interpreted in the local coordinate system of the transform. If the transform is scaled, the axes will be scaled accordingly.
|
staticconstexpr |
ComponentDescriptor for the axis_length field.
|
staticconstexpr |
ComponentDescriptor for the show_frame field.