#include <MultiCameraPlugin.h>
Public Member Functions | |
virtual void | Load (sensors::SensorPtr _sensor, sdf::ElementPtr _sdf) |
MultiCameraPlugin () | |
virtual void | OnNewFrameLeft (const unsigned char *_image, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format) |
virtual void | OnNewFrameRight (const unsigned char *_image, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format) |
virtual | ~MultiCameraPlugin () |
Destructor. | |
Protected Attributes | |
std::vector< rendering::CameraPtr > | camera |
std::vector< unsigned int > | depth |
std::vector< std::string > | format |
std::vector< unsigned int > | height |
boost::shared_ptr < sensors::MultiCameraSensor > | parentSensor |
std::vector< unsigned int > | width |
Private Attributes | |
std::vector< event::ConnectionPtr > | newFrameConnection |
Definition at line 30 of file MultiCameraPlugin.h.
Definition at line 25 of file MultiCameraPlugin.cpp.
MultiCameraPlugin::~MultiCameraPlugin | ( | ) | [virtual] |
Destructor.
Definition at line 30 of file MultiCameraPlugin.cpp.
void MultiCameraPlugin::Load | ( | sensors::SensorPtr | _sensor, |
sdf::ElementPtr | _sdf | ||
) | [virtual] |
Reimplemented in gazebo::GazeboRosMultiCamera.
Definition at line 37 of file MultiCameraPlugin.cpp.
void MultiCameraPlugin::OnNewFrameLeft | ( | const unsigned char * | _image, |
unsigned int | _width, | ||
unsigned int | _height, | ||
unsigned int | _depth, | ||
const std::string & | _format | ||
) | [virtual] |
Reimplemented in gazebo::GazeboRosMultiCamera.
Definition at line 93 of file MultiCameraPlugin.cpp.
void MultiCameraPlugin::OnNewFrameRight | ( | const unsigned char * | _image, |
unsigned int | _width, | ||
unsigned int | _height, | ||
unsigned int | _depth, | ||
const std::string & | _format | ||
) | [virtual] |
Reimplemented in gazebo::GazeboRosMultiCamera.
Definition at line 106 of file MultiCameraPlugin.cpp.
std::vector<rendering::CameraPtr> gazebo::MultiCameraPlugin::camera [protected] |
Definition at line 51 of file MultiCameraPlugin.h.
std::vector<unsigned int> gazebo::MultiCameraPlugin::depth [protected] |
Definition at line 48 of file MultiCameraPlugin.h.
std::vector<std::string> gazebo::MultiCameraPlugin::format [protected] |
Definition at line 49 of file MultiCameraPlugin.h.
std::vector<unsigned int> gazebo::MultiCameraPlugin::height [protected] |
Definition at line 48 of file MultiCameraPlugin.h.
std::vector<event::ConnectionPtr> gazebo::MultiCameraPlugin::newFrameConnection [private] |
Definition at line 53 of file MultiCameraPlugin.h.
boost::shared_ptr<sensors::MultiCameraSensor> gazebo::MultiCameraPlugin::parentSensor [protected] |
Definition at line 46 of file MultiCameraPlugin.h.
std::vector<unsigned int> gazebo::MultiCameraPlugin::width [protected] |
Definition at line 48 of file MultiCameraPlugin.h.