#include <frameGrabberCropper/FrameGrabberCropper.h>
Public Member Functions | |
~FrameGrabberCropperOf () override=default | |
bool | getImage (ImageType &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. | |
![]() | |
virtual bool | getImageCrop (cropType_id_t cropType, yarp::sig::VectorOf< std::pair< int, int > > vertices, ImageType &image) |
Get a crop of the image from the frame grabber. | |
![]() | |
virtual | ~IFrameGrabberImageBase () |
Destructor. | |
Protected Attributes | |
yarp::dev::IFrameGrabberOf< ImageType > * | iFrameGrabberOf {nullptr} |
yarp::sig::VectorOf< std::pair< int, int > > | vertices |
Static Protected Attributes | |
static constexpr cropType_id_t | cropType {YARP_CROP_RECT} |
Definition at line 22 of file FrameGrabberCropper.h.
|
overridedefault |
|
inlineoverridevirtual |
Get an image from the frame grabber.
image | the image to be filled |
Implements yarp::dev::IFrameGrabberOf< ImageType >.
Definition at line 33 of file FrameGrabberCropper.h.
|
inlineoverridevirtual |
Return the height of each frame.
Implements yarp::dev::IFrameGrabberImageBase.
Definition at line 41 of file FrameGrabberCropper.h.
|
inlineoverridevirtual |
Return the width of each frame.
Implements yarp::dev::IFrameGrabberImageBase.
Definition at line 49 of file FrameGrabberCropper.h.
|
staticconstexprprotected |
Definition at line 27 of file FrameGrabberCropper.h.
|
protected |
Definition at line 26 of file FrameGrabberCropper.h.
|
protected |
Definition at line 28 of file FrameGrabberCropper.h.