Public Member Functions | Protected Attributes | Private Attributes | List of all members
gazebo::MultiCameraPlugin Class Reference

#include <MultiCameraPlugin.h>

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

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. More...
 

Protected Attributes

std::vector< rendering::CameraPtr > camera
 
std::vector< unsigned int > depth
 
std::vector< std::string > format
 
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

MultiCameraPlugin::MultiCameraPlugin ( )

Definition at line 26 of file MultiCameraPlugin.cpp.

MultiCameraPlugin::~MultiCameraPlugin ( )
virtual

Destructor.

Definition at line 31 of file MultiCameraPlugin.cpp.

Member Function Documentation

void MultiCameraPlugin::Load ( sensors::SensorPtr  _sensor,
sdf::ElementPtr  _sdf 
)
virtual
void MultiCameraPlugin::OnNewFrameLeft ( const unsigned char *  _image,
unsigned int  _width,
unsigned int  _height,
unsigned int  _depth,
const std::string &  _format 
)
virtual
void MultiCameraPlugin::OnNewFrameRight ( const unsigned char *  _image,
unsigned int  _width,
unsigned int  _height,
unsigned int  _depth,
const std::string &  _format 
)
virtual

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.

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.

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 Tue Mar 26 2019 02:31:27