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 = rerun::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_show_labels (rerun::components::ShowLabels _show_labels) && |
Optional choice of whether the text labels should be shown by default. | |
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 components::ClassId s for the lines. | |
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::ShowLabels > | show_labels |
Optional choice of whether the text labels should be shown by default. | |
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 components::ClassId s for the lines. | |
Static Public Attributes | |
static constexpr const char | IndicatorComponentName [] |
Archetype: 2D line strips with positions and optional colors, radii, labels, etc.
|
inline |
Optional text labels for the line strips.
If there's a single label present, it will be placed at the center of the entity. Otherwise, each instance will have its own label.
|
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 components::ClassId
s for the lines.
The components::ClassId
provides colors and labels if not specified explicitly.
std::optional<Collection<rerun::components::Text> > rerun::archetypes::LineStrips2D::labels |
Optional text labels for the line strips.
If there's a single label present, it will be placed at the center of the entity. Otherwise, each instance will have its own label.
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 components::ClassId
s for the lines.
The components::ClassId
provides colors and labels if not specified explicitly.
|
staticconstexpr |