18 #ifndef _GAZEBO_DEPTH_CAMERA_PLUGIN_HH_ 19 #define _GAZEBO_DEPTH_CAMERA_PLUGIN_HH_ 41 public:
virtual void OnNewDepthFrame(
const float *_image,
42 unsigned int _width,
unsigned int _height,
43 unsigned int _depth,
const std::string &_format);
46 public:
virtual void OnNewRGBPointCloud(
const float *_pcd,
47 unsigned int _width,
unsigned int _height,
48 unsigned int _depth,
const std::string &_format);
50 public:
virtual void OnNewImageFrame(
const unsigned char *_image,
51 unsigned int _width,
unsigned int _height,
52 unsigned int _depth,
const std::string &_format);
54 protected:
unsigned int width, height, depth;
std::shared_ptr< Sensor > SensorPtr
Definition: SensorTypes.hh:63
rendering::DepthCameraPtr depthCamera
Definition: DepthCameraPlugin.hh:58
std::string format
Definition: DepthCameraPlugin.hh:55
Forward declarations for the common classes.
Definition: Animation.hh:33
unsigned int width
Definition: DepthCameraPlugin.hh:54
boost::shared_ptr< DepthCamera > DepthCameraPtr
Definition: RenderTypes.hh:96
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:153
std::shared_ptr< DepthCameraSensor > DepthCameraSensorPtr
Definition: SensorTypes.hh:83
A plugin with access to physics::Sensor.
Definition: Plugin.hh:274
Definition: DepthCameraPlugin.hh:31
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59
sensors::DepthCameraSensorPtr parentSensor
Definition: DepthCameraPlugin.hh:57