Visual Servoing Platform
version 3.6.1 under development (2024-12-17)
|
#include <visp3/core/vpFrameGrabber.h>
Public Attributes | |
bool | init |
Inherited functionalities from vpFramegrabber | |
unsigned int | height |
unsigned int | width |
unsigned int | getHeight () const |
unsigned int | getWidth () const |
vpFrameGrabber () | |
virtual | ~vpFrameGrabber ()=default |
virtual void | open (vpImage< unsigned char > &I)=0 |
virtual void | open (vpImage< vpRGBa > &I)=0 |
virtual void | acquire (vpImage< unsigned char > &I)=0 |
virtual void | acquire (vpImage< vpRGBa > &I)=0 |
virtual void | close ()=0 |
Base class for all video devices. It is designed to provide a front end to video sources.
This class should provide a virtual function that allows the acquisition of an image.
The example below shows how to use this class.
Definition at line 99 of file vpFrameGrabber.h.
|
inline |
Definition at line 114 of file vpFrameGrabber.h.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
This virtual function is used to de-allocate the memory used by a specific frame grabber
Implemented in vpPylonGrabber, vpPylonGrabberUsb, vpPylonGrabberGigE, vpV4l2Grabber, vpFlyCaptureGrabber, vpDirectShowGrabber, vp1394TwoGrabber, vp1394CMUGrabber, vpVideoReader, and vpDiskGrabber.
BEGIN_VISP_NAMESPACE unsigned int vpFrameGrabber::getHeight | ( | ) | const |
Return the number of rows in the image.
Definition at line 38 of file vpFrameGrabber.cpp.
References height.
unsigned int vpFrameGrabber::getWidth | ( | ) | const |
Return the number of columns in the image.
Definition at line 43 of file vpFrameGrabber.cpp.
References width.
|
pure virtual |
|
protected |
Number of rows in the image.
Definition at line 134 of file vpFrameGrabber.h.
Referenced by vpDiskGrabber::acquire(), vpPylonGrabberGigE::acquire(), vpPylonGrabberUsb::acquire(), vpFlyCaptureGrabber::acquire(), vpV4l2Grabber::acquire(), vp1394TwoGrabber::acquire(), vp1394TwoGrabber::dequeue(), vpDirectShowGrabber::getFormat(), vpVideoReader::getFrame(), getHeight(), vp1394TwoGrabber::getHeight(), vpDiskGrabber::open(), vp1394CMUGrabber::open(), vpV4l2Grabber::open(), vpDirectShowGrabber::setFormat(), vp1394TwoGrabber::setFormat7ROI(), vpDirectShowGrabber::setImageSize(), vp1394CMUGrabber::setVideoMode(), vp1394TwoGrabber::setVideoMode(), vp1394CMUGrabber::vp1394CMUGrabber(), and vp1394TwoGrabber::vp1394TwoGrabber().
bool vpFrameGrabber::init |
Set to true if the frame grabber has been initialized.
Definition at line 102 of file vpFrameGrabber.h.
Referenced by vpV4l2Grabber::acquire(), vp1394CMUGrabber::close(), vp1394TwoGrabber::close(), vpFlyCaptureGrabber::connect(), vpPylonGrabberGigE::connect(), vpPylonGrabberUsb::connect(), vpFlyCaptureGrabber::disconnect(), vpPylonGrabberGigE::disconnect(), vpPylonGrabberUsb::disconnect(), vpDiskGrabber::open(), vpV4l2Grabber::open(), vp1394TwoGrabber::resetBus(), vpFlyCaptureGrabber::startCapture(), vpPylonGrabberGigE::startCapture(), vpPylonGrabberUsb::startCapture(), vpFlyCaptureGrabber::stopCapture(), vpPylonGrabberGigE::stopCapture(), vpPylonGrabberUsb::stopCapture(), vp1394CMUGrabber::vp1394CMUGrabber(), vp1394TwoGrabber::vp1394TwoGrabber(), vpDiskGrabber::vpDiskGrabber(), and vpV4l2Grabber::vpV4l2Grabber().
|
protected |
Number of columns in the image.
Definition at line 135 of file vpFrameGrabber.h.
Referenced by vpDiskGrabber::acquire(), vpPylonGrabberGigE::acquire(), vpPylonGrabberUsb::acquire(), vpFlyCaptureGrabber::acquire(), vpV4l2Grabber::acquire(), vp1394TwoGrabber::acquire(), vp1394TwoGrabber::dequeue(), vpDirectShowGrabber::getFormat(), vpVideoReader::getFrame(), getWidth(), vp1394TwoGrabber::getWidth(), vpDiskGrabber::open(), vp1394CMUGrabber::open(), vpV4l2Grabber::open(), vpDirectShowGrabber::setFormat(), vp1394TwoGrabber::setFormat7ROI(), vpDirectShowGrabber::setImageSize(), vp1394CMUGrabber::setVideoMode(), vp1394TwoGrabber::setVideoMode(), vp1394CMUGrabber::vp1394CMUGrabber(), and vp1394TwoGrabber::vp1394TwoGrabber().