File panoptic_bounding_box_3d.hpp

Defines an object which represents a Bounding Box of a labelled object in 3D space.

namespace slamcore

Helper conversion methods

slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel

Get information about the client library

class PanopticBoundingBox3D : public MeasurementPoint<camera_clock>
#include <panoptic_bounding_box_3d.hpp>

A bounding box which represents a single object

Public Types

using Ptr = std::shared_ptr<PanopticBoundingBox3D>
using CPtr = std::shared_ptr<const PanopticBoundingBox3D>

Public Functions

PanopticBoundingBox3D() = default
inline PanopticBoundingBox3D(const BoundingBox3D &bbox, SemanticLabel label, unsigned int instance, const MeasurementPoint<camera_clock> &metadata)
inline const BoundingBox3D &getBBox() const

Get the bounding box

inline const SemanticLabel &getLabel() const

Get the type of object the bounding box represents

inline unsigned int getInstance() const

Get the instance ID of the object the bounding box represents

Private Members

BoundingBox3D m_bbox
SemanticLabel m_label = {PredefinedSemanticLabel::Count}
unsigned int m_instance