Rerun C++ SDK
|
Archetype: A 3D point cloud with positions and optional colors, radii, labels, etc. More...
#include <rerun/archetypes/points3d.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 | |
Points3D (Points3D &&other)=default | |
Points3D (Collection< rerun::components::Position3D > _positions) | |
Points3D | with_radii (Collection< rerun::components::Radius > _radii) && |
Optional radii for the points, effectively turning them into circles. | |
Points3D | with_colors (Collection< rerun::components::Color > _colors) && |
Optional colors for the points. | |
Points3D | with_labels (Collection< rerun::components::Text > _labels) && |
Optional text labels for the points. | |
Points3D | with_show_labels (rerun::components::ShowLabels _show_labels) && |
Optional choice of whether the text labels should be shown by default. | |
Points3D | with_class_ids (Collection< rerun::components::ClassId > _class_ids) && |
Optional class Ids for the points. | |
Points3D | with_keypoint_ids (Collection< rerun::components::KeypointId > _keypoint_ids) && |
Optional keypoint IDs for the points, identifying them within a class. | |
Public Attributes | |
Collection< rerun::components::Position3D > | positions |
All the 3D positions at which the point cloud shows points. | |
std::optional< Collection< rerun::components::Radius > > | radii |
Optional radii for the points, effectively turning them into circles. | |
std::optional< Collection< rerun::components::Color > > | colors |
Optional colors for the points. | |
std::optional< Collection< rerun::components::Text > > | labels |
Optional text labels for the points. | |
std::optional< rerun::components::ShowLabels > | show_labels |
Optional choice of whether the text labels should be shown by default. | |
std::optional< Collection< rerun::components::ClassId > > | class_ids |
Optional class Ids for the points. | |
std::optional< Collection< rerun::components::KeypointId > > | keypoint_ids |
Optional keypoint IDs for the points, identifying them within a class. | |
Static Public Attributes | |
static constexpr const char | IndicatorComponentName [] = "rerun.components.Points3DIndicator" |
Archetype: A 3D point cloud with positions and optional colors, radii, labels, etc.
|
inline |
Optional text labels for the points.
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 |
Optional class Ids for the points.
The components::ClassId
provides colors and labels if not specified explicitly.
|
inline |
Optional keypoint IDs for the points, identifying them within a class.
If keypoint IDs are passed in but no components::ClassId
s were specified, the components::ClassId
will default to 0. This is useful to identify points within a single classification (which is identified with class_id
). E.g. the classification might be 'Person' and the keypoints refer to joints on a detected skeleton.
std::optional<Collection<rerun::components::Text> > rerun::archetypes::Points3D::labels |
Optional text labels for the points.
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<Collection<rerun::components::ClassId> > rerun::archetypes::Points3D::class_ids |
Optional class Ids for the points.
The components::ClassId
provides colors and labels if not specified explicitly.
std::optional<Collection<rerun::components::KeypointId> > rerun::archetypes::Points3D::keypoint_ids |
Optional keypoint IDs for the points, identifying them within a class.
If keypoint IDs are passed in but no components::ClassId
s were specified, the components::ClassId
will default to 0. This is useful to identify points within a single classification (which is identified with class_id
). E.g. the classification might be 'Person' and the keypoints refer to joints on a detected skeleton.