17 #ifndef _GAZEBO_DEPTHCAMERASENSOR_HH_
18 #define _GAZEBO_DEPTHCAMERASENSOR_HH_
23 #include "gazebo/msgs/MessageTypes.hh"
50 protected:
virtual void Load(
const std::string &_worldName,
51 sdf::ElementPtr _sdf);
55 protected:
virtual void Load(
const std::string &_worldName);
58 protected:
virtual void Init();
61 protected:
virtual bool UpdateImpl(
bool _force);
64 protected:
virtual void Fini();
68 public:
virtual void SetActive(
bool _value);
73 {
return this->camera;}
78 public:
bool SaveFrame(
const std::string &_filename);
81 private:
void Render();
87 private:
bool rendered;
boost::shared_ptr< DepthCamera > DepthCameraPtr
Definition: RenderTypes.hh:95
Definition: DepthCameraSensor.hh:39
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
Base class for sensors.
Definition: Sensor.hh:69
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:66
rendering::DepthCameraPtr GetDepthCamera() const
Returns a pointer to the rendering::DepthCamera.
Definition: DepthCameraSensor.hh:72