18 #ifndef GZ_SENSORS_BOUNDINGBOXCAMERASENSOR_HH_
19 #define GZ_SENSORS_BOUNDINGBOXCAMERASENSOR_HH_
24 #include <gz/rendering/BoundingBoxCamera.hh>
25 #include <sdf/Sensor.hh>
28 #include "gz/sensors/boundingbox_camera/Export.hh"
35 inline namespace GZ_SENSORS_VERSION_NAMESPACE {
37 class BoundingBoxCameraSensorPrivate;
46 class GZ_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;
73 const std::chrono::steady_clock::duration &_now)
override;
77 public:
virtual rendering::BoundingBoxCameraPtr
88 rendering::ScenePtr _scene)
override;
92 public:
virtual unsigned int ImageWidth()
const override;
104 private:
bool CreateCamera();
106 GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
110 GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING