- gazebo
- rendering
- DepthCamera
Basic camera sensor. More...
#include <DepthCamera.hh>

Public Member Functions | |
| DepthCamera (const std::string &_namePrefix, Scene *_scene, bool _autoRender=true) | |
| Constructor. | |
| virtual | ~DepthCamera () |
| Destructor. | |
| void | Load (sdf::ElementPtr &_sdf) |
| Load the camera with a set of parmeters. | |
| void | Load () |
| Load the camera with default parmeters. | |
| void | Init () |
| Initialize the camera. | |
| void | Fini () |
| Finalize the camera. | |
| void | CreateDepthTexture (const std::string &_textureName) |
| virtual void | PostRender () |
| Render the camera. | |
| virtual const float * | GetDepthData () |
| template<typename T > | |
| event::ConnectionPtr | ConnectNewDepthFrame (T subscriber) |
| Connect a to the add entity signal. | |
| void | DisconnectNewDepthFrame (event::ConnectionPtr &c) |
| virtual void | SetDepthTarget (Ogre::RenderTarget *target) |
Protected Attributes | |
| Ogre::Texture * | depthTexture |
| Ogre::RenderTarget * | depthTarget |
| Ogre::Viewport * | depthViewport |
Basic camera sensor.
This is the base class for all cameras.
| void Load | ( | sdf::ElementPtr & | _sdf | ) |
Load the camera with a set of parmeters.
| _sdf | The SDF camera info |
Reimplemented from Camera.
1.7.5.1