Go to the documentation of this file.
17 #ifndef GZ_SENSORS_LOGICALCAMERASENSOR_HH_
18 #define GZ_SENSORS_LOGICALCAMERASENSOR_HH_
26 #include <gz/common/SuppressWarning.hh>
28 #include <gz/math/Angle.hh>
32 #pragma warning(disable: 4005)
33 #pragma warning(disable: 4251)
35 #include <ignition/msgs.hh>
40 #include "gz/sensors/config.hh"
41 #include "gz/sensors/Export.hh"
42 #include "gz/sensors/logical_camera/Export.hh"
50 inline namespace IGNITION_SENSORS_VERSION_NAMESPACE {
53 class LogicalCameraSensorPrivate;
72 public:
virtual bool Load(sdf::ElementPtr _sdf)
override;
76 public:
virtual bool Init()
override;
81 public:
virtual bool Update(
82 const std::chrono::steady_clock::duration &_now)
override;
87 public:
double Near()
const;
92 public:
double Far()
const;
102 public: gz::math::Angle HorizontalFOV()
const;
107 public:
double AspectRatio()
const;
112 public:
bool HasConnections()
const;
117 public: msgs::LogicalCameraImage Image()
const;
119 IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
123 IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Definition: gz/sensors/AirPressureSensor.hh:31
Logical Camera Sensor Class.
Definition: gz/sensors/LogicalCameraSensor.hh:60
a base sensor class
Definition: gz/sensors/Sensor.hh:59