Go to the documentation of this file.
17 #ifndef GZ_RENDERING_OGRE2_OGRE2CAMERA_HH_
18 #define GZ_RENDERING_OGRE2_OGRE2CAMERA_HH_
33 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
36 class Ogre2SelectionBuffer;
49 public:
virtual void SetHFOV(
const math::Angle &_hfov)
override;
52 public:
virtual double AspectRatio()
const override;
55 public:
virtual void SetAspectRatio(
const double _ratio)
override;
58 public:
virtual unsigned int AntiAliasing()
const override;
61 public:
virtual void SetAntiAliasing(
const unsigned int _aa)
override;
64 public:
virtual void SetFarClipPlane(
const double _far)
override;
67 public:
virtual void SetNearClipPlane(
const double _near)
override;
69 public:
virtual math::Color BackgroundColor()
const;
71 public:
virtual void SetBackgroundColor(
const math::Color &_color);
74 public:
virtual void Render()
override;
86 public:
virtual VisualPtr VisualAt(
const gz::math::Vector2i
91 public:
virtual void SetMaterial(
95 public:
virtual unsigned int RenderTextureGLId()
const override;
98 public:
virtual void Destroy()
override;
106 protected:
virtual void Init()
override;
109 protected:
virtual void CreateRenderTexture();
113 protected:
virtual void SetSelectionBuffer();
116 private:
void CreateCamera();
119 protected: Ogre::Camera *ogreCamera =
nullptr;
Definition: gz/rendering/ogre/OgreCamera.hh:27
math::Color backgroundColor
Color of background.
Definition: gz/rendering/ogre2/Ogre2Camera.hh:128
Ogre2RenderTargetPtr renderTexture
Pointer to render texture.
Definition: gz/rendering/ogre2/Ogre2Camera.hh:125
Generates a selection buffer object for a given camera. The selection buffer is used of entity select...
Definition: gz/rendering/ogre2/Ogre2SelectionBuffer.hh:47
A Ray Query class used for computing ray object intersections.
Definition: gz/rendering/ogre2/Ogre2RayQuery.hh:39
Ogre2.x implementation of the scene class.
Definition: gz/rendering/ogre2/Ogre2Scene.hh:41
Represents a render-target to which cameras can render images.
Definition: gz/rendering/RenderTarget.hh:37
Definition: gz/rendering/ogre/OgreCamera.hh:41
Ogre2.x implementation of the camera class.
Definition: gz/rendering/ogre2/Ogre2Camera.hh:39
Definition: gz/rendering/base/BaseCamera.hh:44