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

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

#include <rerun/encodings/annotation_info.hpp>

Public Member Functions

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

Public Attributes

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

Detailed Description

Encoding: 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: