gz/rendering/base/BaseBoundingBoxCamera.hh
virtual const std::vector< BoundingBox > & BoundingBoxData() const
Get the BoundingBox data.
Definition: gz/rendering/base/BaseBoundingBoxCamera.hh:85
virtual BoundingBoxType Type() const
Get the BoundingBox Type (Visible / Full)
Definition: gz/rendering/base/BaseBoundingBoxCamera.hh:99
2D or 3D Bounding box. It stores the position / orientation / size info of the box and its label
Definition: gz/rendering/BoundingBox.hh:41
STL class.
virtual void DrawBoundingBox(unsigned char *_data, const math::Color &_color, const BoundingBox &_box) const =0
Draw a bounding box on the given image.
BaseBoundingBoxCamera()
Constructor.
Definition: gz/rendering/base/BaseBoundingBoxCamera.hh:72
Poseable BoundingBox camera used for rendering bounding boxes of objects in the scene.
Definition: gz/rendering/BoundingBoxCamera.hh:54
@ BBT_FULLBOX2D
2D box that shows the full box of occluded objects
virtual void SetBoundingBoxType(BoundingBoxType _type)
Set BoundingBox Type (Visible / Full)
Definition: gz/rendering/base/BaseBoundingBoxCamera.hh:92
virtual ignition::common::ConnectionPtr ConnectNewBoundingBoxes(std::function< void(const std::vector< BoundingBox > &)> _subscriber)=0
Connect to the new BoundingBox info.
virtual ~BaseBoundingBoxCamera()
Destructor.
Definition: gz/rendering/base/BaseBoundingBoxCamera.hh:78
BoundingBoxType type
The bounding box type.
Definition: gz/rendering/base/BaseBoundingBoxCamera.hh:64
Definition: gz/rendering/base/BaseBoundingBoxCamera.hh:35
Definition: gz/rendering/base/BaseCamera.hh:44
BoundingBoxType
BoundingBox types for Visible / Full 2D Boxes / 3D Boxes.
Definition: gz/rendering/BoundingBoxCamera.hh:37
std::vector< BoundingBox > boundingBoxes
The bounding box data.
Definition: gz/rendering/base/BaseBoundingBoxCamera.hh:67