Rerun C++ SDK
|
Archetype: 2D line strips with positions and optional colors, radii, labels, etc. More...
#include <rerun/archetypes/line_strips2d.hpp>
Public Types | |
using | IndicatorComponent = components::IndicatorComponent< IndicatorComponentName > |
Indicator component, used to identify the archetype when converting to a list of components. | |
Public Member Functions | |
LineStrips2D (LineStrips2D &&other)=default | |
LineStrips2D (Collection< rerun::components::LineStrip2D > _strips) | |
LineStrips2D | with_radii (Collection< rerun::components::Radius > _radii) && |
Optional radii for the line strips. | |
LineStrips2D | with_colors (Collection< rerun::components::Color > _colors) && |
Optional colors for the line strips. | |
LineStrips2D | with_labels (Collection< rerun::components::Text > _labels) && |
Optional text labels for the line strips. | |
LineStrips2D | with_draw_order (rerun::components::DrawOrder _draw_order) && |
An optional floating point value that specifies the 2D drawing order of each line strip. | |
LineStrips2D | with_class_ids (Collection< rerun::components::ClassId > _class_ids) && |
Optional ClassId s for the lines. | |
LineStrips2D | with_instance_keys (Collection< rerun::components::InstanceKey > _instance_keys) && |
Unique identifiers for each individual line strip in the batch. | |
size_t | num_instances () const |
Returns the number of primary instances of this archetype. | |
Public Attributes | |
Collection< rerun::components::LineStrip2D > | strips |
All the actual 2D line strips that make up the batch. | |
std::optional< Collection< rerun::components::Radius > > | radii |
Optional radii for the line strips. | |
std::optional< Collection< rerun::components::Color > > | colors |
Optional colors for the line strips. | |
std::optional< Collection< rerun::components::Text > > | labels |
Optional text labels for the line strips. | |
std::optional< rerun::components::DrawOrder > | draw_order |
An optional floating point value that specifies the 2D drawing order of each line strip. | |
std::optional< Collection< rerun::components::ClassId > > | class_ids |
Optional ClassId s for the lines. | |
std::optional< Collection< rerun::components::InstanceKey > > | instance_keys |
Unique identifiers for each individual line strip in the batch. | |
Static Public Attributes | |
static constexpr const char | IndicatorComponentName [] |
Archetype: 2D line strips with positions and optional colors, radii, labels, etc.
|
inline |
An optional floating point value that specifies the 2D drawing order of each line strip.
Objects with higher values are drawn on top of those with lower values.
|
inline |
Optional ClassId
s for the lines.
The class ID provides colors and labels if not specified explicitly.
std::optional<rerun::components::DrawOrder> rerun::archetypes::LineStrips2D::draw_order |
An optional floating point value that specifies the 2D drawing order of each line strip.
Objects with higher values are drawn on top of those with lower values.
std::optional<Collection<rerun::components::ClassId> > rerun::archetypes::LineStrips2D::class_ids |
Optional ClassId
s for the lines.
The class ID provides colors and labels if not specified explicitly.
|
staticconstexpr |