Public Member Functions | Protected Attributes | Private Attributes
gazebo::MultiCameraPlugin Class Reference

#include <MultiCameraPlugin.h>

Inheritance diagram for gazebo::MultiCameraPlugin:
Inheritance graph
[legend]

List of all members.

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::stringformat
std::vector< unsigned int > height
sensors::MultiCameraSensorPtr parentSensor
std::vector< unsigned int > width

Private Attributes

std::vector< event::ConnectionPtrnewFrameConnection

Detailed Description

Definition at line 30 of file MultiCameraPlugin.h.


Constructor & Destructor Documentation

Definition at line 26 of file MultiCameraPlugin.cpp.

Destructor.

Definition at line 31 of file MultiCameraPlugin.cpp.


Member Function Documentation

void MultiCameraPlugin::Load ( sensors::SensorPtr  _sensor,
sdf::ElementPtr  _sdf 
) [virtual]

Reimplemented in gazebo::GazeboRosMultiCamera.

Definition at line 38 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 114 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 127 of file MultiCameraPlugin.cpp.


Member Data Documentation

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.

Definition at line 49 of file MultiCameraPlugin.h.

std::vector<unsigned int> gazebo::MultiCameraPlugin::height [protected]

Definition at line 48 of file MultiCameraPlugin.h.

Definition at line 53 of file MultiCameraPlugin.h.

sensors::MultiCameraSensorPtr 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.


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


gazebo_plugins
Author(s): John Hsu
autogenerated on Thu Jun 6 2019 18:41:10