gz/rendering/ogre/OgreDepthCamera.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/ogre/OgreDepthCamera.hh:67
virtual const float * DepthData() const override
All things needed to get back z buffer for depth data.
void UpdateRenderTarget(OgreRenderTexturePtr _target, Ogre::Material *_material, const std::string &_matName)
Update a render target.
double FarClipPlane() const override
Get the far clip distance.
OgreRenderTexturePtr depthTexture
Pointer to the depth texture.
Definition: gz/rendering/ogre/OgreDepthCamera.hh:166
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/ogre/OgreDepthCamera.hh:172
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...
void DestroyDepthTexture()
Destroy render texture created by CreateDepthTexture() Note: It's not virtual.
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.
void DestroyPointCloudTexture()
Destroy render texture created by CreatePointCloudTexture() Note: It's not virtual.
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.
A Ray Query class used for computing ray object intersections.
Definition: gz/rendering/ogre/OgreRayQuery.hh:41
Definition: gz/rendering/ogre/OgreScene.hh:41
Definition: gz/rendering/ogre/OgreCamera.hh:28