17 #ifndef IGNITION_RENDERING_SEGMENTATIONCAMERA_HH_ 18 #define IGNITION_RENDERING_SEGMENTATIONCAMERA_HH_ 45 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
58 public:
virtual void CreateSegmentationTexture() = 0;
64 public:
virtual uint8_t *SegmentationData()
const = 0;
72 ConnectNewSegmentationFrame(
73 std::function<
void(
const uint8_t *,
unsigned int,
unsigned int,
74 unsigned int,
const std::string &)> _subscriber) = 0;
87 public:
virtual void EnableColoredMap(
bool _enable) = 0;
91 public:
virtual bool IsColoredMap()
const = 0;
95 public:
virtual void SetBackgroundColor(
const math::Color &_color) = 0;
99 public:
virtual void SetBackgroundLabel(
int _label) = 0;
103 public:
virtual const math::Color &BackgroundColor()
const = 0;
107 public:
virtual int BackgroundLabel()
const = 0;
116 public:
virtual void LabelMapFromColoredBuffer(
117 uint8_t *_labelBuffer)
const = 0;
Pixels of same label from different items have the same color & id.
SegmentationType
Segmentation types for Semantic / Panpoptic segmentation.
Definition: SegmentationCamera.hh:34
Poseable Segmentation camera used for rendering the scene graph. This camera is designed to produce s...
Definition: SegmentationCamera.hh:51
Pixels of same label from different items, have different color & id. 1 channel for label id & 2 chan...
Posable camera used for rendering the scene graph.
Definition: Camera.hh:49
virtual ~SegmentationCamera()
Destructor.
Definition: SegmentationCamera.hh:55