6#include "../collection.hpp"
7#include "../compiler_utils.hpp"
8#include "../component_batch.hpp"
9#include "../components/class_id.hpp"
10#include "../components/color.hpp"
11#include "../components/keypoint_id.hpp"
12#include "../components/position3d.hpp"
13#include "../components/radius.hpp"
14#include "../components/show_labels.hpp"
15#include "../components/text.hpp"
16#include "../indicator_component.hpp"
17#include "../result.hpp"
161 std::optional<Collection<rerun::components::Radius>>
radii;
164 std::optional<Collection<rerun::components::Color>>
colors;
170 std::optional<Collection<rerun::components::Text>>
labels;
178 std::optional<Collection<rerun::components::ClassId>>
class_ids;
191 static constexpr const char IndicatorComponentName[] =
"rerun.components.Points3DIndicator";
205 radii = std::move(_radii);
207 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
212 colors = std::move(_colors);
214 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
222 labels = std::move(_labels);
224 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
231 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
240 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
254 RR_WITH_MAYBE_UNINITIALIZED_DISABLED(
return std::move(*
this);)
262 template <
typename T>
267 struct AsComponents<archetypes::Points3D> {
269 static Result<std::vector<ComponentBatch>> serialize(
const archetypes::Points3D& archetype);
Generic collection of elements that are roughly contiguous in memory.
Definition collection.hpp:49
All built-in archetypes. See Types in the Rerun manual.
Definition rerun.hpp:77
All Rerun C++ types and functions are in the rerun namespace or one of its nested namespaces.
Definition rerun.hpp:23
Archetype: A 3D point cloud with positions and optional colors, radii, labels, etc.
Definition points3d.hpp:156
Points3D with_radii(Collection< rerun::components::Radius > _radii) &&
Optional radii for the points, effectively turning them into circles.
Definition points3d.hpp:204
std::optional< Collection< rerun::components::Text > > labels
Optional text labels for the points.
Definition points3d.hpp:170
Points3D with_keypoint_ids(Collection< rerun::components::KeypointId > _keypoint_ids) &&
Optional keypoint IDs for the points, identifying them within a class.
Definition points3d.hpp:251
Points3D with_labels(Collection< rerun::components::Text > _labels) &&
Optional text labels for the points.
Definition points3d.hpp:221
Points3D with_show_labels(rerun::components::ShowLabels _show_labels) &&
Optional choice of whether the text labels should be shown by default.
Definition points3d.hpp:228
std::optional< Collection< rerun::components::Radius > > radii
Optional radii for the points, effectively turning them into circles.
Definition points3d.hpp:161
Points3D with_colors(Collection< rerun::components::Color > _colors) &&
Optional colors for the points.
Definition points3d.hpp:211
std::optional< rerun::components::ShowLabels > show_labels
Optional choice of whether the text labels should be shown by default.
Definition points3d.hpp:173
Collection< rerun::components::Position3D > positions
All the 3D positions at which the point cloud shows points.
Definition points3d.hpp:158
std::optional< Collection< rerun::components::KeypointId > > keypoint_ids
Optional keypoint IDs for the points, identifying them within a class.
Definition points3d.hpp:188
Points3D with_class_ids(Collection< rerun::components::ClassId > _class_ids) &&
Optional class Ids for the points.
Definition points3d.hpp:237
std::optional< Collection< rerun::components::Color > > colors
Optional colors for the points.
Definition points3d.hpp:164
std::optional< Collection< rerun::components::ClassId > > class_ids
Optional class Ids for the points.
Definition points3d.hpp:178
Indicator component used by archetypes when converting them to component lists.
Definition indicator_component.hpp:32
Component: Whether the entity's components::Text label is shown.
Definition show_labels.hpp:19