Go to the documentation of this file.
18 #ifndef GZ_RENDERING_OGRE_OGRETHERMALCAMERA_HH_
19 #define GZ_RENDERING_OGRE_OGRETHERMALCAMERA_HH_
32 #include "gz/rendering/ogre/Export.hh"
40 #include "gz/common/Event.hh"
41 #include "gz/common/Console.hh"
54 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
57 class OgreThermalCameraPrivate;
62 class IGNITION_RENDERING_OGRE_VISIBLE OgreThermalCamera :
64 public BaseThermalCamera<OgreSensor>
67 protected: OgreThermalCamera();
70 public:
virtual ~OgreThermalCamera();
73 public:
virtual void Init()
override;
76 public:
virtual void CreateRenderTexture();
79 public:
virtual void PostRender()
override;
84 public:
virtual gz::common::ConnectionPtr ConnectNewThermalFrame(
85 std::function<
void(
const uint16_t *,
unsigned int,
unsigned int,
86 unsigned int,
const std::string &)> _subscriber)
override;
89 public:
virtual void PreRender()
override;
92 public:
virtual void Render()
override;
95 public:
virtual void Destroy()
override;
102 protected:
void CreateCamera();
105 private:
void CreateThermalTexture();
108 protected: Ogre::Camera *ogreCamera =
nullptr;
Definition: gz/rendering/ogre/OgreCamera.hh:27
Definition: gz/rendering/ogre/OgreScene.hh:39
shared_ptr< RenderTarget > RenderTargetPtr
Shared pointer to RenderTarget.
Definition: gz/rendering/RenderTypes.hh:183