18 #ifndef GAZEBO_PLUGINS_DEPTHCAMERAPLUGIN_HH_
19 #define GAZEBO_PLUGINS_DEPTHCAMERAPLUGIN_HH_
42 unsigned int _width,
unsigned int _height,
43 unsigned int _depth,
const std::string &_format);
47 unsigned int _width,
unsigned int _height,
48 unsigned int _depth,
const std::string &_format);
51 unsigned int _width,
unsigned int _height,
52 unsigned int _depth,
const std::string &_format);
56 unsigned int _width,
unsigned int _height,
57 unsigned int _depth,
const std::string &_format);
61 unsigned int _width,
unsigned int _height,
62 unsigned int _depth,
const std::string &_format);
64 protected:
unsigned int width, height,
depth;
Definition: DepthCameraPlugin.hh:32
DepthCameraPlugin()
Constructor.
virtual void OnNewReflectanceFrame(const float *_reflectance, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format)
Update the reflectance frame.
unsigned int depth
Definition: DepthCameraPlugin.hh:64
void Load(sensors::SensorPtr _sensor, sdf::ElementPtr _sdf)
Load function.
virtual void OnNewDepthFrame(const float *_image, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format)
virtual void OnNewImageFrame(const unsigned char *_image, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format)
rendering::DepthCameraPtr depthCamera
Definition: DepthCameraPlugin.hh:68
virtual void OnNewRGBPointCloud(const float *_pcd, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format)
Update the controller.
virtual ~DepthCameraPlugin()
Destructor.
virtual void OnNewNormalsFrame(const float *_normals, unsigned int _width, unsigned int _height, unsigned int _depth, const std::string &_format)
Update the normals frame.
std::string format
Definition: DepthCameraPlugin.hh:65
sensors::DepthCameraSensorPtr parentSensor
Definition: DepthCameraPlugin.hh:67
A plugin with access to physics::Sensor.
Definition: Plugin.hh:333
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:134
boost::shared_ptr< DepthCamera > DepthCameraPtr
Definition: RenderTypes.hh:98
std::shared_ptr< DepthCameraSensor > DepthCameraSensorPtr
Definition: SensorTypes.hh:84
std::shared_ptr< Sensor > SensorPtr
Definition: SensorTypes.hh:64
Forward declarations for the common classes.
Definition: Animation.hh:27