17 #ifndef GZ_SENSORS_LOGICALCAMERASENSOR_HH_
18 #define GZ_SENSORS_LOGICALCAMERASENSOR_HH_
26 #include <gz/utils/SuppressWarning.hh>
28 #include <gz/math/Angle.hh>
30 #include <gz/msgs/logical_camera_image.pb.h>
32 #include "gz/sensors/config.hh"
33 #include "gz/sensors/Export.hh"
34 #include "gz/sensors/logical_camera/Export.hh"
42 inline namespace GZ_SENSORS_VERSION_NAMESPACE {
45 class LogicalCameraSensorPrivate;
64 public:
virtual bool Load(sdf::ElementPtr _sdf)
override;
68 public:
virtual bool Init()
override;
75 public:
virtual bool Update(
76 const std::chrono::steady_clock::duration &_now)
override;
81 public:
double Near()
const;
86 public:
double Far()
const;
96 public: gz::math::Angle HorizontalFOV()
const;
101 public:
double AspectRatio()
const;
105 public:
virtual bool HasConnections()
const override;
110 public: msgs::LogicalCameraImage Image()
const;
112 GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
116 GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING