#include <usbCamera/common/USBcamera.h>
Inheritance diagram for USBCameraDriverRgb:Public Member Functions | |
| USBCameraDriverRgb () | |
| ~USBCameraDriverRgb () override | |
| bool | getImage (yarp::sig::ImageOf< yarp::sig::PixelRgb > &image) override |
| Get an image from the frame grabber. | |
| bool | getImage (yarp::sig::ImageOf< yarp::sig::PixelMono > &image) override |
| Get an image from the frame grabber. | |
| int | height () const override |
| Return the height of each frame. | |
| int | width () const override |
| Return the width of each frame. | |
Public Member Functions inherited from USBCameraDriver | |
| USBCameraDriver () | |
| Constructor. | |
| ~USBCameraDriver () override | |
| Destructor. | |
| bool | open (yarp::os::Searchable &config) override |
| Open the DeviceDriver. | |
| bool | close () override |
| Close the DeviceDriver. | |
| int | height () const |
| int | width () const |
| yarp::os::Stamp | getLastInputStamp () override |
| Return the time stamp relative to the last acquisition. | |
| bool | getCameraDescription (CameraDescriptor *camera) override |
| Implementation of IFrameGrabberControls2 interface. | |
| bool | hasFeature (int feature, bool *hasFeature) override |
| Check if camera has the requested feature (saturation, brightness ... ) | |
| bool | setFeature (int feature, double value) override |
| Set the requested feature to a value (saturation, brightness ... ) | |
| bool | getFeature (int feature, double *value) override |
| Get the current value for the requested feature. | |
| bool | setFeature (int feature, double value1, double value2) override |
| Set the requested feature to a value using 2 params (like white balance) | |
| bool | getFeature (int feature, double *value1, double *value2) override |
| Get the current value for the requested feature. | |
| bool | hasOnOff (int feature, bool *HasOnOff) override |
| Check if the camera has the ability to turn on/off the requested feature. | |
| bool | setActive (int feature, bool onoff) override |
| Set the requested feature on or off. | |
| bool | getActive (int feature, bool *isActive) override |
| Get the current status of the feature, on or off. | |
| bool | hasAuto (int feature, bool *hasAuto) override |
| Check if the requested feature has the 'auto' mode. | |
| bool | hasManual (int feature, bool *hasManual) override |
| Check if the requested feature has the 'manual' mode. | |
| bool | hasOnePush (int feature, bool *hasOnePush) override |
| Check if the requested feature has the 'onePush' mode. | |
| bool | setMode (int feature, FeatureMode mode) override |
| Set the requested mode for the feature. | |
| bool | getMode (int feature, FeatureMode *mode) override |
| Get the current mode for the feature. | |
| bool | setOnePush (int feature) override |
| Set the requested feature to a value (saturation, brightness ... ) | |
| int | getRgbHeight () override |
| Return the height of each frame. | |
| int | getRgbWidth () override |
| Return the width of each frame. | |
| bool | getRgbSupportedConfigurations (yarp::sig::VectorOf< yarp::dev::CameraConfig > &configurations) override |
| Get the possible configurations of the camera. | |
| bool | getRgbResolution (int &width, int &height) override |
| Get the resolution of the rgb image from the camera. | |
| bool | setRgbResolution (int width, int height) override |
| Set the resolution of the rgb image from the camera. | |
| bool | getRgbFOV (double &horizontalFov, double &verticalFov) override |
| Get the field of view (FOV) of the rgb camera. | |
| bool | setRgbFOV (double horizontalFov, double verticalFov) override |
| Set the field of view (FOV) of the rgb camera. | |
| bool | getRgbIntrinsicParam (yarp::os::Property &intrinsic) override |
| Get the intrinsic parameters of the rgb camera. | |
| bool | getRgbMirroring (bool &mirror) override |
| Get the mirroring setting of the sensor. | |
| bool | setRgbMirroring (bool mirror) override |
| Set the mirroring setting of the sensor. | |
Public Member Functions inherited from yarp::dev::DeviceDriver | |
| DeviceDriver () | |
| DeviceDriver (const DeviceDriver &other)=delete | |
| DeviceDriver (DeviceDriver &&other) noexcept=delete | |
| DeviceDriver & | operator= (const DeviceDriver &other)=delete |
| DeviceDriver & | operator= (DeviceDriver &&other) noexcept=delete |
| virtual | ~DeviceDriver () |
| virtual std::string | id () const |
| Return the id assigned to the PolyDriver. | |
| virtual void | setId (const std::string &id) |
| Set the id for this device. | |
| template<class T > | |
| bool | view (T *&x) |
| Get an interface to the device driver. | |
| virtual DeviceDriver * | getImplementation () |
| Some drivers are bureaucrats, pointing at others. | |
Public Member Functions inherited from yarp::dev::IPreciselyTimed | |
| virtual | ~IPreciselyTimed () |
Public Member Functions inherited from yarp::dev::IFrameGrabberControls | |
| virtual | ~IFrameGrabberControls () |
| Destructor. | |
| std::string | busType2String (BusType type) |
| FeatureMode | toFeatureMode (bool _auto) |
Public Member Functions inherited from yarp::dev::IRgbVisualParams | |
| virtual | ~IRgbVisualParams () |
Public Member Functions inherited from yarp::dev::IFrameGrabberOf< yarp::sig::ImageOf< yarp::sig::PixelRgb > > | |
| virtual bool | getImageCrop (cropType_id_t cropType, yarp::sig::VectorOf< std::pair< int, int > > vertices, yarp::sig::ImageOf< yarp::sig::PixelRgb > &image) |
| Get a crop of the image from the frame grabber. | |
Public Member Functions inherited from yarp::dev::IFrameGrabberImageBase | |
| virtual | ~IFrameGrabberImageBase () |
| Destructor. | |
Public Member Functions inherited from yarp::dev::IFrameGrabberOf< yarp::sig::ImageOf< yarp::sig::PixelMono > > | |
| virtual bool | getImageCrop (cropType_id_t cropType, yarp::sig::VectorOf< std::pair< int, int > > vertices, yarp::sig::ImageOf< yarp::sig::PixelMono > &image) |
| Get a crop of the image from the frame grabber. | |
Additional Inherited Members | |
Protected Attributes inherited from USBCameraDriver | |
| yarp::dev::IPreciselyTimed * | deviceTimed |
| yarp::dev::IFrameGrabberImage * | frameGrabberImage |
| yarp::dev::IFrameGrabberImageRaw * | frameGrabberImageRaw |
| yarp::dev::DeviceDriver * | os_device |
| yarp::dev::IFrameGrabberControls * | deviceControls |
| yarp::dev::IRgbVisualParams * | deviceRgbVisualParam |
| size_t | _width |
| size_t | _height |
| int | pixelType |
Definition at line 103 of file USBcamera.h.
| USBCameraDriverRgb::USBCameraDriverRgb | ( | ) |
Definition at line 218 of file USBcamera.cpp.
|
override |
Definition at line 225 of file USBcamera.cpp.
|
overridevirtual |
Get an image from the frame grabber.
| image | the image to be filled |
Implements yarp::dev::IFrameGrabberOf< yarp::sig::ImageOf< yarp::sig::PixelMono > >.
Definition at line 235 of file USBcamera.cpp.
|
overridevirtual |
Get an image from the frame grabber.
| image | the image to be filled |
Implements yarp::dev::IFrameGrabberOf< yarp::sig::ImageOf< yarp::sig::PixelRgb > >.
Definition at line 230 of file USBcamera.cpp.
|
overridevirtual |
Return the height of each frame.
Implements yarp::dev::IFrameGrabberImageBase.
Definition at line 245 of file USBcamera.cpp.
|
overridevirtual |
Return the width of each frame.
Implements yarp::dev::IFrameGrabberImageBase.
Definition at line 240 of file USBcamera.cpp.