gz/rendering/BoundingBox.hh
Go to the documentation of this file.
2D or 3D Bounding box. It stores the position / orientation / size info of the box and its label
Definition: gz/rendering/BoundingBox.hh:42
BoundingBox & operator=(const BoundingBox &_box)
Copy Assignment operator.
const math::Vector3d & Size() const
Get the size of the bounding box.
void SetCenter(const math::Vector3d &_center)
Set the center of the bounding box.
void SetOrientation(const math::Quaterniond &_orientation)
Set the orientation of the bounding box.
void SetSize(const math::Vector3d &_size)
Set the size of the bounding box.
BoundingBox(BoundingBox &&_box) noexcept
Move constructor.
const math::Vector3d & Center() const
Get the center of the bounding box.
const math::Quaterniond & Orientation() const
Get the orientation of the bounding box.
BoundingBox & operator=(BoundingBox &&_box)
Move assignment operator.
void SetLabel(uint32_t _label)
Set the label of the bounding box.
const std::vector< math::Vector3d > & Vertices3D() const
Get the vertices of the 3D bounding box representation.
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING