Rerun C++ SDK
Loading...
Searching...
No Matches
rerun::datatypes::AnnotationInfo Struct Reference

Datatype: Annotation info annotating a class id or key-point id. More...

#include <rerun/datatypes/annotation_info.hpp>

Public Member Functions

 AnnotationInfo (uint16_t _id, std::optional< std::string > _label=std::nullopt, std::optional< datatypes::Rgba32 > _color=std::nullopt)
 
 AnnotationInfo (uint16_t _id, datatypes::Rgba32 _color)
 

Public Attributes

uint16_t id
 ClassId or KeypointId to which this annotation info belongs.
 
std::optional< rerun::datatypes::Utf8label
 The label that will be shown in the UI.
 
std::optional< rerun::datatypes::Rgba32color
 The color that will be applied to the annotated entity.
 

Detailed Description

Datatype: Annotation info annotating a class id or key-point id.

Color and label will be used to annotate entities/keypoints which reference the id. The id refers either to a class or key-point id


The documentation for this struct was generated from the following file: