Go to the documentation of this file.
18 #ifndef IGNITION_SENSORS_BOUNDINGBOXCAMERASENSOR_HH_
19 #define IGNITION_SENSORS_BOUNDINGBOXCAMERASENSOR_HH_
24 #include <ignition/rendering/BoundingBoxCamera.hh>
25 #include <sdf/Sensor.hh>
35 inline namespace IGNITION_SENSORS_VERSION_NAMESPACE {
37 class BoundingBoxCameraSensorPrivate;
46 class IGNITION_SENSORS_BOUNDINGBOX_CAMERA_VISIBLE
58 public:
virtual bool Load(
const sdf::Sensor &_sdf)
override;
63 public:
virtual bool Load(sdf::ElementPtr _sdf)
override;
67 public:
virtual bool Init()
override;
72 public:
virtual bool Update(
73 const std::chrono::steady_clock::duration &_now)
override;
77 public:
virtual rendering::BoundingBoxCameraPtr
78 BoundingBoxCamera()
const;
82 public:
void OnNewBoundingBoxes(
87 public:
virtual void SetScene(
88 ignition::rendering::ScenePtr _scene)
override;
92 public:
virtual unsigned int ImageWidth()
const override;
96 public:
virtual unsigned int ImageHeight()
const override;
101 public:
bool HasConnections()
const;
105 private:
bool CreateCamera();
107 IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
111 IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: gz/sensors/AirPressureSensor.hh:31
BoundingBox camera sensor class.
Definition: gz/sensors/BoundingBoxCameraSensor.hh:46
Camera Sensor Class.
Definition: gz/sensors/CameraSensor.hh:71