Go to the documentation of this file.
17 #ifndef GZ_RENDERING_OGRE_OGRECAMERA_HH_
18 #define GZ_RENDERING_OGRE_OGRECAMERA_HH_
36 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
39 class OgreSelectionBuffer;
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;
85 public:
void SetVFOV(
double cameraVFOV)
const;
89 public:
double NearClip()
const;
93 public:
double FarClip()
const;
96 public:
virtual VisualPtr VisualAt(
const gz::math::Vector2i
101 public:
virtual void SetMaterial(
105 public:
virtual unsigned int RenderTextureGLId()
const override;
108 public:
virtual void Destroy()
override;
112 protected:
virtual void Init()
override;
114 protected:
virtual void SetSelectionBuffer();
116 private:
void CreateCamera();
118 protected:
virtual void CreateRenderTexture();
120 protected: Ogre::Camera *ogreCamera =
nullptr;
OgreRenderTargetPtr renderTexture
Definition: gz/rendering/ogre/OgreCamera.hh:124
Definition: gz/rendering/ogre/OgreCamera.hh:27
Definition: gz/rendering/ogre/OgreScene.hh:39
math::Color backgroundColor
Definition: gz/rendering/ogre/OgreCamera.hh:126
Represents a render-target to which cameras can render images.
Definition: gz/rendering/RenderTarget.hh:37
A Ray Query class used for computing ray object intersections.
Definition: gz/rendering/ogre/OgreRayQuery.hh:39
Definition: gz/rendering/ogre/OgreCamera.hh:41
Generates a selection buffer object for a given camera. The selection buffer is used of entity select...
Definition: gz/rendering/ogre/OgreSelectionBuffer.hh:47
Definition: gz/rendering/base/BaseCamera.hh:44