Public Member Functions | Protected Member Functions
CameraSensor Class Reference

Basic camera sensor This sensor is used for simulating standard monocular cameras. More...

#include <CameraSensor.hh>

Inheritance diagram for CameraSensor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CameraSensor ()
 Constructor.
virtual ~CameraSensor ()
 Destructor.
virtual void SetParent (const std::string &_name)
 Set the parent of the sensor.
virtual void Load (sdf::ElementPtr &_sdf)
 Load the camera using parameter from an SDF element.
virtual void Load ()
 Load the camera using default parameters.
virtual void Init ()
 Initialize the camera.
virtual void SetActive (bool value)
 Set whether the sensor is active or not.
rendering::CameraPtr GetCamera () const
unsigned int GetImageWidth () const
unsigned int GetImageHeight () const
const unsigned char * GetImageData ()

Protected Member Functions

virtual void UpdateImpl (bool _force)
 Update the sensor information.
virtual void Fini ()
 Finalize the camera.

Detailed Description

Basic camera sensor This sensor is used for simulating standard monocular cameras.


Member Function Documentation

virtual void Load ( sdf::ElementPtr &  _sdf) [virtual]

Load the camera using parameter from an SDF element.

Parameters:
_sdfThe SDF parameters

Reimplemented from Sensor.


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