17 #ifndef GZ_SENSORS_RGBDCAMERASENSOR_HH_
18 #define GZ_SENSORS_RGBDCAMERASENSOR_HH_
24 #include <gz/utils/SuppressWarning.hh>
27 #include "gz/sensors/config.hh"
28 #include "gz/sensors/rgbd_camera/Export.hh"
29 #include "gz/sensors/Export.hh"
36 inline namespace GZ_SENSORS_VERSION_NAMESPACE {
38 class RgbdCameraSensorPrivate;
63 public:
virtual bool Load(
const sdf::Sensor &_sdf)
override;
68 public:
virtual bool Load(sdf::ElementPtr _sdf)
override;
72 public:
virtual bool Init()
override;
77 public:
virtual bool Update(
78 const std::chrono::steady_clock::duration &_now)
override;
82 public:
virtual void SetScene(
83 gz::rendering::ScenePtr _scene)
override;
87 public:
virtual unsigned int ImageWidth()
const override;
91 public:
virtual unsigned int ImageHeight()
const override;
94 public:
virtual bool HasConnections()
const override;
99 public:
bool HasColorConnections()
const;
104 public:
bool HasDepthConnections()
const;
109 public:
bool HasPointConnections()
const;
113 private:
bool CreateCameras();
115 GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
119 GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING