Go to the documentation of this file.
17 #ifndef GZ_SENSORS_LOGICALCAMERASENSOR_HH_
18 #define GZ_SENSORS_LOGICALCAMERASENSOR_HH_
26 #include <gz/common/PluginMacros.hh>
27 #include <gz/common/SuppressWarning.hh>
28 #include <gz/common/Time.hh>
30 #include <gz/math/Angle.hh>
34 #pragma warning(disable: 4005)
35 #pragma warning(disable: 4251)
37 #include <ignition/msgs.hh>
42 #include "gz/sensors/config.hh"
43 #include "gz/sensors/Export.hh"
44 #include "gz/sensors/logical_camera/Export.hh"
52 inline namespace IGNITION_SENSORS_VERSION_NAMESPACE {
55 class LogicalCameraSensorPrivate;
74 public:
virtual bool Load(sdf::ElementPtr _sdf)
override;
78 public:
virtual bool Init()
override;
83 public:
virtual bool Update(
const common::Time &_now)
override;
88 public:
double Near()
const;
93 public:
double Far()
const;
103 public: gz::math::Angle HorizontalFOV()
const;
108 public:
double AspectRatio()
const;
113 public: msgs::LogicalCameraImage Image()
const;
115 IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
119 IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: gz/sensors/AirPressureSensor.hh:32
Logical Camera Sensor Class.
Definition: gz/sensors/LogicalCameraSensor.hh:62
a base sensor class
Definition: gz/sensors/Sensor.hh:60