MonoCameraSensor Class Reference

#include <MonoCameraSensor.hh>

Inheritance diagram for MonoCameraSensor:

CameraSensor Sensor Entity List of all members.

Detailed Description

Basic camera sensor.

This sensor is used for simulating standard monocular cameras; is is used by both camera models (e.g., SonyVID30) and user interface models (e.g., ObserverCam).

Public Member Functions

 MonoCameraSensor (Body *body)
virtual ~MonoCameraSensor ()
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.

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.

Member Function Documentation

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

Load the camera using parameter from an XMLConfig node.

node The XMLConfig node

Reimplemented from CameraSensor.

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

Last updated Aug 04 2007