Gazebo

StereoCameraSensor Class Reference
[SensorsStereo Camera]

#include <StereoCameraSensor.hh>

Inheritance diagram for StereoCameraSensor:

CameraSensor Sensor Entity List of all members.

Detailed Description

Stereo camera sensor.

This sensor is used for simulating a stereo camera.


Public Member Functions

 StereoCameraSensor (Body *body)
 Constructor.
virtual ~StereoCameraSensor ()
 Destructor.
virtual std::string GetMaterialName () const
 Return the material the camera renders to.
virtual const unsigned char * GetImageData (unsigned int i=0)
 Get a pointer to the image data.
const float * GetDisparityData (unsigned int i=0)
 Get a point to the disparity data.
double GetBaseline () const
 Get the baselien of the camera.

Protected Member Functions

virtual void LoadChild (XMLConfigNode *node)
 Load the camera using parameter from an XMLConfig node.
virtual void InitChild ()
 Initialize the camera.
virtual void UpdateChild (UpdateParams &params)
 Update the sensor information.
virtual void FiniChild ()
 Finalize the camera.
virtual void SaveFrame ()


Member Function Documentation

virtual void LoadChild ( XMLConfigNode node  )  [protected, virtual]

Load the camera using parameter from an XMLConfig node.

Parameters:
node The XMLConfig node

Reimplemented from CameraSensor.

virtual const unsigned char* GetImageData ( unsigned int  i = 0  )  [virtual]

Get a pointer to the image data.

Parameters:
i 0=left, 1=right

Implements CameraSensor.

const float* GetDisparityData ( unsigned int  i = 0  ) 

Get a point to the disparity data.

Parameters:
i 0=left, 1=right


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

Last updated Aug 04 2007