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::MultiCameraPlugin ( )

Definition at line 26 of file MultiCameraPlugin.cpp.

◆ ~MultiCameraPlugin()

MultiCameraPlugin::~MultiCameraPlugin ( )
virtual

Destructor.

Definition at line 31 of file MultiCameraPlugin.cpp.

Member Function Documentation

◆ Load()

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

◆ OnNewFrameLeft()

void MultiCameraPlugin::OnNewFrameLeft ( const unsigned char *  _image,
unsigned int  _width,
unsigned int  _height,
unsigned int  _depth,
const std::string &  _format 
)
virtual

◆ OnNewFrameRight()

void MultiCameraPlugin::OnNewFrameRight ( const unsigned char *  _image,
unsigned int  _width,
unsigned int  _height,
unsigned int  _depth,
const std::string &  _format 
)
virtual

Member Data Documentation

◆ camera

std::vector<rendering::CameraPtr> gazebo::MultiCameraPlugin::camera
protected

Definition at line 51 of file MultiCameraPlugin.h.

◆ depth

std::vector<unsigned int> gazebo::MultiCameraPlugin::depth
protected

Definition at line 48 of file MultiCameraPlugin.h.

◆ format

std::vector<std::string> gazebo::MultiCameraPlugin::format
protected

Definition at line 49 of file MultiCameraPlugin.h.

◆ height

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

Definition at line 48 of file MultiCameraPlugin.h.

◆ newFrameConnection

std::vector<event::ConnectionPtr> gazebo::MultiCameraPlugin::newFrameConnection
private

Definition at line 53 of file MultiCameraPlugin.h.

◆ parentSensor

sensors::MultiCameraSensorPtr gazebo::MultiCameraPlugin::parentSensor
protected

Definition at line 46 of file MultiCameraPlugin.h.

◆ width

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 Wed Aug 24 2022 02:47:52