gz/rendering/ogre2/Ogre2DepthCamera.hh
Go to the documentation of this file.
Definition: gz/rendering/base/BaseDepthCamera.hh:37
Depth camera used to render depth data into an image buffer.
Definition: gz/rendering/ogre2/Ogre2DepthCamera.hh:56
virtual const float * DepthData() const override
All things needed to get back z buffer for depth data.
void AddRenderPass(const RenderPassPtr &_pass) override
Add a render pass to the camera.
double FarClipPlane() const override
Get the far clip distance.
virtual RenderTargetPtr RenderTarget() const override
Get a pointer to the render target.
virtual void PreRender() override
Prepare this object and any of its children for rendering. This should be called for each object in a...
double NearClipPlane() const override
Get the near clip distance.
virtual void SetFarClipPlane(const double _far) override
Set the far clip distance.
virtual gz::common::ConnectionPtr ConnectNewDepthFrame(std::function< void(const float *, unsigned int, unsigned int, unsigned int, const std::string &)> _subscriber) override
Connect a to the new depth image signal.
virtual void PostRender() override
Render the camera.
Ogre::Camera * ogreCamera
Pointer to the ogre camera.
Definition: gz/rendering/ogre2/Ogre2DepthCamera.hh:152
static double LimitFOV(const double _fov)
Limit field of view taking care of using a valid value for an OGRE camera.
virtual void Destroy() override
Destroy any resources associated with this object. Invoking any other functions after destroying an o...
virtual gz::common::ConnectionPtr ConnectNewRgbPointCloud(std::function< void(const float *, unsigned int, unsigned int, unsigned int, const std::string &)> _subscriber) override
Connect a to the new rgb point cloud signal.
virtual void CreateDepthTexture() override
Create a texture which will hold the depth data.
virtual void SetNearClipPlane(const double _near) override
Set the near clip distance.
virtual void Render() override
Implementation of the render call.
virtual void CreateRenderTexture()
Create dummy render texture. Needed to satisfy inheritance.
void SetShadowsDirty() override
Ogre2.x implementation of the scene class.
Definition: gz/rendering/ogre2/Ogre2Scene.hh:59
Definition: gz/rendering/ogre/OgreCamera.hh:28