17 #ifndef _GAZEBO_SENSORS_MULTICAMERASENSOR_HH_ 18 #define _GAZEBO_SENSORS_MULTICAMERASENSOR_HH_ 24 #include "gazebo/msgs/MessageTypes.hh" 35 class MultiCameraSensorPrivate;
53 public:
virtual void Load(
const std::string &_worldName);
56 public:
virtual void Init();
59 public:
virtual std::string Topic()
const;
68 public:
unsigned int CameraCount()
const;
90 public:
unsigned int GetImageWidth(
unsigned int _index)
const 97 public:
unsigned int ImageWidth(
const unsigned int _index)
const;
104 public:
unsigned int GetImageHeight(
111 public:
unsigned int ImageHeight(
const unsigned int _index)
const;
118 public:
const unsigned char *GetImageData(
unsigned int _index)
125 public:
const unsigned char *ImageData(
const unsigned int _index);
131 public:
bool SaveFrame(
const std::vector<std::string> &_filenames);
134 public:
virtual bool IsActive()
const;
137 protected:
virtual bool UpdateImpl(
const bool _force);
140 protected:
virtual void Fini();
143 private:
void Render();
147 private: std::unique_ptr<MultiCameraSensorPrivate> dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:33
Forward declarations for transport.
#define GAZEBO_DEPRECATED(version)
Definition: CommonTypes.hh:48
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
Multiple camera sensor.
Definition: MultiCameraSensor.hh:44
Base class for sensors.
Definition: Sensor.hh:50
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:59
boost::shared_ptr< Camera > CameraPtr
Definition: RenderTypes.hh:88