gz/rendering/ogre/OgreCamera.hh
Go to the documentation of this file.
Definition: gz/rendering/base/BaseCamera.hh:47
Definition: gz/rendering/ogre/OgreCamera.hh:43
virtual unsigned int AntiAliasing() const override
Get the level of anti-aliasing used during rendering.
virtual ~OgreCamera()
virtual void SetVisibilityMask(uint32_t _mask) override
Set visibility mask.
void DestroyRenderTexture()
Destroy render texture created by CreateRenderTexture() Note: It's not virtual.
virtual VisualPtr VisualAt(const gz::math::Vector2i &_mousePos) override
Get the visual for a given mouse position param[in] _mousePos mouse position.
virtual void SetBackgroundColor(const math::Color &_color)
virtual RenderTargetPtr RenderTarget() const override
virtual RenderWindowPtr CreateRenderWindow() override
Create a render window.
virtual math::Angle HFOV() const override
Get the camera's horizontal field-of-view.
virtual double AspectRatio() const override
Get the camera's aspect ratio.
virtual void SetFarClipPlane(const double _far) override
Set the camera's far clipping plane distance.
virtual void SetSelectionBuffer()
virtual math::Color BackgroundColor() const
virtual math::Matrix4d ViewMatrix() const override
Get the view matrix for this camera.
OgreCamera()
virtual void Destroy() override
Destroy any resources associated with this object. Invoking any other functions after destroying an o...
virtual unsigned int RenderTextureGLId() const override
Get the OpenGL texture id associated with the render texture used by this camera. A valid id is retur...
math::Color backgroundColor
Definition: gz/rendering/ogre/OgreCamera.hh:150
void SetVFOV(double cameraVFOV) const
virtual void SetMaterial(const MaterialPtr &_material) override
Set a material that the camera should see on all objects.
virtual void SetAspectRatio(const double _ratio) override
Set the camera's aspect ratio. This value determines the cameras vertical field-of-view....
virtual void SetProjectionType(CameraProjectionType _type) override
Set the projection type for this camera This changes the projection matrix of the camera based on the...
virtual void SetHFOV(const math::Angle &_hfov) override
Set the camera's horizontal field-of-view.
virtual void SetProjectionMatrix(const math::Matrix4d &_matrix) override
Set the projection matrix for this camera. This overrides the standard projection matrix computed bas...
virtual void Init() override
virtual void SetAntiAliasing(const unsigned int _aa) override
Set the level of anti-aliasing used during rendering. If a value of 0 is given, no anti-aliasing will...
virtual void SetNearClipPlane(const double _near) override
Set the camera's near clipping plane distance.
virtual void Render() override
Renders the current scene using this camera. This function assumes PreRender() has already been calle...
virtual void CreateRenderTexture()
OgreRenderTargetPtr renderTexture
Definition: gz/rendering/ogre/OgreCamera.hh:148
virtual math::Matrix4d ProjectionMatrix() const override
Get the projection matrix for this camera.
A Ray Query class used for computing ray object intersections.
Definition: gz/rendering/ogre/OgreRayQuery.hh:41
Definition: gz/rendering/ogre/OgreScene.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:48
Definition: gz/rendering/ogre/OgreCamera.hh:28
CameraProjectionType
Enum for projection types.
Definition: gz/rendering/Camera.hh:40