17 #ifndef _GAZEBO_LOGICAL_CAMERASENSOR_HH_
18 #define _GAZEBO_LOGICAL_CAMERASENSOR_HH_
32 class LogicalCameraSensorPrivate;
51 public:
virtual void Load(
const std::string &_worldName,
52 sdf::ElementPtr _sdf);
55 public:
virtual void Load(
const std::string &_worldName);
58 public:
virtual void Init();
61 public:
virtual std::string Topic()
const;
66 public:
double Near()
const;
71 public:
double Far()
const;
77 public: ignition::math::Angle HorizontalFOV()
const;
82 public:
double AspectRatio()
const;
87 public: msgs::LogicalCameraImage Image()
const;
90 public:
virtual bool IsActive()
const;
93 protected:
virtual bool UpdateImpl(
const bool _force);
96 protected:
virtual void Fini();
100 private: std::unique_ptr<LogicalCameraSensorPrivate> dataPtr;
A camera sensor that reports locations of objects instead of rendering a scene.
Definition: LogicalCameraSensor.hh:42
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
Base class for sensors.
Definition: Sensor.hh:51
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:58