Archetype: 3D line strips with positions and optional colors, radii, labels, etc.
More...
#include <rerun/archetypes/line_strips3d.hpp>
|
using | IndicatorComponent = components::IndicatorComponent< IndicatorComponentName > |
| Indicator component, used to identify the archetype when converting to a list of components.
|
|
Archetype: 3D line strips with positions and optional colors, radii, labels, etc.
Example
Many strips
#include <rerun.hpp>
#include <vector>
int main() {
rec.spawn().exit_on_failure();
{0.f, 0.f, 2.f},
{1.f, 0.f, 2.f},
{1.f, 1.f, 2.f},
{0.f, 1.f, 2.f},
};
{0.f, 0.f, 0.f},
{0.f, 0.f, 1.f},
{1.f, 0.f, 0.f},
{1.f, 0.f, 1.f},
{1.f, 1.f, 0.f},
{1.f, 1.f, 1.f},
{0.f, 1.f, 0.f},
{0.f, 1.f, 1.f},
};
rec.log(
"strips",
.
with_labels({
"one strip here",
"and one strip there"})
);
}
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:47
A RecordingStream handles everything related to logging data into Rerun.
Definition recording_stream.hpp:57
Archetype: 3D line strips with positions and optional colors, radii, labels, etc.
Definition line_strips3d.hpp:65
LineStrips3D with_colors(Collection< rerun::components::Color > _colors) &&
Optional colors for the line strips.
Definition line_strips3d.hpp:108
LineStrips3D with_labels(Collection< rerun::components::Text > _labels) &&
Optional text labels for the line strips.
Definition line_strips3d.hpp:115
LineStrips3D with_radii(Collection< rerun::components::Radius > _radii) &&
Optional radii for the line strips.
Definition line_strips3d.hpp:101
◆ with_class_ids()
Optional ClassId
s for the lines.
The class ID provides colors and labels if not specified explicitly.
◆ class_ids
Optional ClassId
s for the lines.
The class ID provides colors and labels if not specified explicitly.
◆ IndicatorComponentName
constexpr const char rerun::archetypes::LineStrips3D::IndicatorComponentName[] |
|
staticconstexpr |
Initial value:=
"rerun.components.LineStrips3DIndicator"
The documentation for this struct was generated from the following file: