Go to the documentation of this file.
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;
87 public: msgs::LogicalCameraImage
Image()
const;
96 protected:
virtual void Fini();
100 private: std::unique_ptr<LogicalCameraSensorPrivate> dataPtr;
virtual void Load(const std::string &_worldName, sdf::ElementPtr _sdf)
Load the sensor with SDF parameters.
Forward declarations for the common classes.
Definition: Animation.hh:27
virtual void Load(const std::string &_worldName)
Load the sensor with default parameters.
ignition::math::Angle HorizontalFOV() const
Get the horizontal field of view.
sensors
Definition: SensorManager.hh:37
LogicalCameraSensor()
Constructor.
double Far() const
Get the far distance.
virtual std::string Topic() const
Returns the topic name as set in SDF.
double AspectRatio() const
Get the aspect ratio, which is the width divided by height of the near or far planes.
virtual bool IsActive() const
Returns true if sensor generation is active.
virtual ~LogicalCameraSensor()
Destructor.
virtual void Init()
Initialize the sensor.
double Near() const
Get the near distance.
virtual void Fini()
Finalize the sensor.
Base class for sensors.
Definition: Sensor.hh:53
virtual bool UpdateImpl(const bool _force)
This gets overwritten by derived sensor types.
A camera sensor that reports locations of objects instead of rendering a scene. This camera finds mod...
Definition: LogicalCameraSensor.hh:43
msgs::LogicalCameraImage Image() const
Get the latest image.