Visual Servoing Platform
version 3.2.0 under development (2019-01-22)
|
#include <visp3/core/vpFrameGrabber.h>
Public Member Functions | |
vpFrameGrabber () | |
virtual | ~vpFrameGrabber () |
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 |
Inherited functionalities from vpFramegrabber | |
unsigned int | getHeight () const |
unsigned int | getWidth () const |
Public Attributes | |
bool | init |
Protected Attributes | |
unsigned int | height |
unsigned int | width |
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 101 of file vpFrameGrabber.h.
|
inline |
Definition at line 120 of file vpFrameGrabber.h.
|
inlinevirtual |
Definition at line 121 of file vpFrameGrabber.h.
|
pure virtual |
|
pure virtual |
This virtual function is used to de-allocate the memory used by a specific frame grabber
Implemented in vp1394TwoGrabber, vpV4l2Grabber, vpVideoReader, vp1394CMUGrabber, vpFlyCaptureGrabber, vpDiskGrabber, vpPylonGrabber, vpDirectShowGrabber, vpPylonGrabberGigE, and vpPylonGrabberUsb.
|
inline |
Return the number of rows in the image.
Definition at line 114 of file vpFrameGrabber.h.
|
inline |
Return the number of columns in the image.
Definition at line 116 of file vpFrameGrabber.h.
|
pure virtual |
Implemented in vp1394TwoGrabber, vpVideoReader, vp1394CMUGrabber, vpPylonGrabber, vpV4l2Grabber, vpFlyCaptureGrabber, vpDiskGrabber, vpPylonGrabberGigE, vpPylonGrabberUsb, and vpDirectShowGrabber.
Referenced by vpVideoReader::getFrameStep(), vpDiskGrabber::getImageNumber(), vp1394CMUGrabber::getVideoColorCoding(), and vpFlyCaptureGrabber::isCaptureStarted().
|
protected |
Number of rows in the image.
Definition at line 107 of file vpFrameGrabber.h.
Referenced by vpPylonGrabberGigE::acquire(), vpPylonGrabberUsb::acquire(), vpDiskGrabber::acquire(), vpFlyCaptureGrabber::acquire(), vpV4l2Grabber::acquire(), vp1394TwoGrabber::acquire(), vpV4l2Grabber::close(), vp1394TwoGrabber::dequeue(), vpVideoReader::getFrame(), vp1394TwoGrabber::getHeight(), vpDiskGrabber::open(), vpV4l2Grabber::open(), vp1394CMUGrabber::open(), vp1394CMUGrabber::selectCamera(), vpVideoReader::setFileName(), vp1394TwoGrabber::setFormat7ROI(), 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 104 of file vpFrameGrabber.h.
Referenced by vpV4l2Grabber::acquire(), vp1394CMUGrabber::close(), vp1394TwoGrabber::close(), vpPylonGrabberGigE::connect(), vpPylonGrabberUsb::connect(), vpFlyCaptureGrabber::connect(), vpPylonGrabberUsb::disconnect(), vpPylonGrabberGigE::disconnect(), vpFlyCaptureGrabber::disconnect(), vpDiskGrabber::open(), vpV4l2Grabber::open(), vp1394TwoGrabber::resetBus(), vp1394CMUGrabber::selectCamera(), vp1394TwoGrabber::setFormat7ROI(), vpPylonGrabberUsb::startCapture(), vpPylonGrabberGigE::startCapture(), vpFlyCaptureGrabber::startCapture(), vpPylonGrabberGigE::stopCapture(), vpPylonGrabberUsb::stopCapture(), vpFlyCaptureGrabber::stopCapture(), vp1394CMUGrabber::vp1394CMUGrabber(), vp1394TwoGrabber::vp1394TwoGrabber(), vpDiskGrabber::vpDiskGrabber(), and vpV4l2Grabber::vpV4l2Grabber().
|
protected |
Number of columns in the image.
Definition at line 108 of file vpFrameGrabber.h.
Referenced by vpPylonGrabberGigE::acquire(), vpPylonGrabberUsb::acquire(), vpDiskGrabber::acquire(), vpFlyCaptureGrabber::acquire(), vpV4l2Grabber::acquire(), vp1394TwoGrabber::acquire(), vpV4l2Grabber::close(), vp1394TwoGrabber::dequeue(), vpVideoReader::getFrame(), vp1394TwoGrabber::getWidth(), vpDiskGrabber::open(), vpV4l2Grabber::open(), vp1394CMUGrabber::open(), vp1394CMUGrabber::selectCamera(), vpVideoReader::setFileName(), vp1394TwoGrabber::setFormat7ROI(), vp1394CMUGrabber::setVideoMode(), vp1394TwoGrabber::setVideoMode(), vp1394CMUGrabber::vp1394CMUGrabber(), and vp1394TwoGrabber::vp1394TwoGrabber().