- gazebo
- StereoCameraSensor
Stereo camera sensor. More...
#include <StereoCameraSensor.hh>

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 * | GetDepthData (unsigned int i=0) |
| Get a point to the depth 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 | SaveChild (std::string &prefix, std::ostream &stream) |
| Save the sensor info in XML format. | |
| virtual void | InitChild () |
| Initialize the camera. | |
| virtual void | UpdateChild () |
| Update the sensor information. | |
| virtual void | FiniChild () |
| Finalize the camera. | |
| virtual void | SaveFrame () |
Stereo camera sensor.
This sensor is used for simulating a stereo camera.
| const float* GetDepthData | ( | unsigned int | i = 0 | ) |
Get a point to the depth data.
| i | 0=left, 1=right |
| virtual const unsigned char* GetImageData | ( | unsigned int | i = 0 | ) | [virtual] |
Get a pointer to the image data.
| i | 0=left, 1=right |
| virtual void LoadChild | ( | XMLConfigNode * | node | ) | [protected, virtual] |
Load the camera using parameter from an XMLConfig node.
| node | The XMLConfig node |
1.7.5.1