Public Member Functions | Protected Attributes
DepthCamera Class Reference

Basic camera sensor. More...

#include <DepthCamera.hh>

Inheritance diagram for DepthCamera:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Basic camera sensor.

This is the base class for all cameras.


Member Function Documentation

void Load ( sdf::ElementPtr &  _sdf)

Load the camera with a set of parmeters.

Parameters:
_sdfThe SDF camera info

Reimplemented from Camera.


The documentation for this class was generated from the following file: