18 #ifndef GZ_RENDERING_OGRE2_OGRE2THERMALCAMERA_HH_
19 #define GZ_RENDERING_OGRE2_OGRE2THERMALCAMERA_HH_
31 #include "gz/rendering/ogre2/Export.hh"
35 #include "gz/common/Event.hh"
36 #include "gz/common/Console.hh"
50 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
53 class Ogre2ThermalCameraPrivate;
67 public:
virtual void Init()
override;
70 public:
virtual void Destroy()
override;
73 public:
virtual void PreRender()
override;
76 public:
virtual void PostRender()
override;
82 std::function<
void(
const uint16_t *,
unsigned int,
unsigned int,
83 unsigned int,
const std::string &)> _subscriber)
override;
86 public:
virtual void Render()
override;
89 public:
virtual Ogre::Camera *
OgreCamera()
const override;
96 protected:
void CreateCamera();
99 protected:
virtual void CreateRenderTexture();
102 protected:
virtual void CreateThermalTexture();
105 protected: Ogre::Camera *ogreCamera =
nullptr;