22 #ifndef _DEPTHCAMERASENSOR_HH_
23 #define _DEPTHCAMERASENSOR_HH_
28 #include "gazebo/msgs/MessageTypes.hh"
55 protected:
virtual void Load(
const std::string &_worldName,
56 sdf::ElementPtr _sdf);
60 protected:
virtual void Load(
const std::string &_worldName);
63 protected:
virtual void Init();
66 protected:
virtual bool UpdateImpl(
bool _force);
69 protected:
virtual void Fini();
73 public:
virtual void SetActive(
bool _value);
78 {
return this->camera;}
83 public:
bool SaveFrame(
const std::string &_filename);
86 private:
void Render();
92 private:
bool rendered;
boost::shared_ptr< DepthCamera > DepthCameraPtr
Definition: RenderTypes.hh:88
Definition: DepthCameraSensor.hh:44
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
Base class for sensors.
Definition: Sensor.hh:67
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48
rendering::DepthCameraPtr GetDepthCamera() const
Returns a pointer to the rendering::DepthCamera.
Definition: DepthCameraSensor.hh:77