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();
62 public:
virtual std::string GetTopic()
const;
67 public:
double Near()
const;
72 public:
double Far()
const;
78 public: ignition::math::Angle HorizontalFOV()
const;
83 public:
double AspectRatio()
const;
88 public: msgs::LogicalCameraImage Image()
const;
91 protected:
virtual bool UpdateImpl(
const bool _force);
94 protected:
virtual void Fini();
97 public:
virtual bool IsActive()
const;
104 public:
virtual std::string Topic()
const;
108 private: std::unique_ptr<LogicalCameraSensorPrivate> dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:33
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:50
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59