17 #ifndef GZ_SENSORS_THERMALCAMERASENSOR_HH_
18 #define GZ_SENSORS_THERMALCAMERASENSOR_HH_
26 #include <gz/common/Event.hh>
27 #include <gz/utils/SuppressWarning.hh>
29 #include <gz/msgs/image.pb.h>
35 #pragma warning(disable: 4251)
37 #include <gz/rendering/ThermalCamera.hh>
42 #include "gz/sensors/thermal_camera/Export.hh"
44 #include "gz/sensors/Export.hh"
52 inline namespace GZ_SENSORS_VERSION_NAMESPACE {
54 class ThermalCameraSensorPrivate;
75 public:
virtual bool Load(
const sdf::Sensor &_sdf)
override;
80 public:
virtual bool Load(sdf::ElementPtr _sdf)
override;
84 public:
virtual bool Init()
override;
90 const std::chrono::steady_clock::duration &_now)
override;
103 unsigned int _width,
unsigned int _height,
104 unsigned int _channels,
121 gz::rendering::ScenePtr _scene)
override;
160 private:
bool CreateCamera();
165 private:
void OnSceneChange(gz::rendering::ScenePtr )
168 GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
172 GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING