Visual Servoing Platform
version 3.0.1
|
#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 102 of file vpFrameGrabber.h.
|
inline |
Definition at line 121 of file vpFrameGrabber.h.
|
inlinevirtual |
Definition at line 122 of file vpFrameGrabber.h.
|
pure virtual |
Implemented in vp1394TwoGrabber, vpVideoReader, vpV4l2Grabber, vp1394CMUGrabber, vpFlyCaptureGrabber, vpDiskGrabber, and vpDirectShowGrabber.
Implemented in vp1394TwoGrabber, vpVideoReader, vpV4l2Grabber, vp1394CMUGrabber, vpFlyCaptureGrabber, vpDiskGrabber, and vpDirectShowGrabber.
|
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, and vpDirectShowGrabber.
|
inline |
Return the number of rows in the image.
Definition at line 115 of file vpFrameGrabber.h.
|
inline |
Return the number of columns in the image.
Definition at line 117 of file vpFrameGrabber.h.
|
pure virtual |
Implemented in vp1394TwoGrabber, vpVideoReader, vp1394CMUGrabber, vpV4l2Grabber, vpFlyCaptureGrabber, vpDiskGrabber, and vpDirectShowGrabber.
Implemented in vp1394TwoGrabber, vpVideoReader, vp1394CMUGrabber, vpV4l2Grabber, vpFlyCaptureGrabber, vpDiskGrabber, and vpDirectShowGrabber.
|
protected |
Number of rows in the image.
Definition at line 108 of file vpFrameGrabber.h.
Referenced by vpDiskGrabber::acquire(), vpFlyCaptureGrabber::acquire(), vpV4l2Grabber::acquire(), vp1394TwoGrabber::acquire(), vp1394TwoGrabber::dequeue(), vp1394TwoGrabber::getHeight(), vpDiskGrabber::open(), vpV4l2Grabber::open(), vp1394CMUGrabber::open(), vpVideoReader::open(), 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 105 of file vpFrameGrabber.h.
Referenced by vpV4l2Grabber::acquire(), vp1394CMUGrabber::close(), vp1394TwoGrabber::close(), vpFlyCaptureGrabber::connect(), vpFlyCaptureGrabber::disconnect(), vpDiskGrabber::open(), vpV4l2Grabber::open(), vp1394TwoGrabber::resetBus(), vpFlyCaptureGrabber::startCapture(), vpFlyCaptureGrabber::stopCapture(), vp1394CMUGrabber::vp1394CMUGrabber(), vp1394TwoGrabber::vp1394TwoGrabber(), vpDiskGrabber::vpDiskGrabber(), and vpV4l2Grabber::vpV4l2Grabber().
|
protected |
Number of columns in the image.
Definition at line 109 of file vpFrameGrabber.h.
Referenced by vpDiskGrabber::acquire(), vpFlyCaptureGrabber::acquire(), vpV4l2Grabber::acquire(), vp1394TwoGrabber::acquire(), vp1394TwoGrabber::dequeue(), vp1394TwoGrabber::getWidth(), vpDiskGrabber::open(), vpV4l2Grabber::open(), vp1394CMUGrabber::open(), vpVideoReader::open(), vp1394TwoGrabber::setFormat7ROI(), vp1394CMUGrabber::setVideoMode(), vp1394TwoGrabber::setVideoMode(), vp1394CMUGrabber::vp1394CMUGrabber(), and vp1394TwoGrabber::vp1394TwoGrabber().