Go to the documentation of this file.
17 #ifndef GZ_SENSORS_RGBDCAMERASENSOR_HH_
18 #define GZ_SENSORS_RGBDCAMERASENSOR_HH_
24 #include <gz/common/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 IGNITION_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;
96 public:
bool HasConnections()
const;
101 public:
bool HasColorConnections()
const;
106 public:
bool HasDepthConnections()
const;
111 public:
bool HasPointConnections()
const;
115 private:
bool CreateCameras();
117 IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
121 IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: gz/sensors/AirPressureSensor.hh:31
Camera Sensor Class.
Definition: gz/sensors/CameraSensor.hh:71
RGBD camera sensor class.
Definition: gz/sensors/RgbdCameraSensor.hh:51