![]() |
Visual Servoing Platform
version 3.2.0
|
#include <vpFrameGrabber.h>
Public Member Functions | |
Inherited functionalities from vpFramegrabber | |
unsigned int | getHeight () const |
unsigned int | getWidth () const |
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 |
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 100 of file vpFrameGrabber.h.
|
inline |
Definition at line 119 of file vpFrameGrabber.h.
|
inlinevirtual |
Definition at line 120 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 vpPylonGrabber, vp1394TwoGrabber, vpV4l2Grabber, vpVideoReader, vp1394CMUGrabber, vpFlyCaptureGrabber, vpDiskGrabber, vpDirectShowGrabber, vpPylonGrabberGigE, and vpPylonGrabberUsb.
|
inline |
Return the number of rows in the image.
Definition at line 113 of file vpFrameGrabber.h.
|
inline |
Return the number of columns in the image.
Definition at line 115 of file vpFrameGrabber.h.
|
pure virtual |
|
protected |
Number of rows in the image.
Definition at line 106 of file vpFrameGrabber.h.
Referenced by vpDirectShowGrabber::getFormat().
bool vpFrameGrabber::init |
Set to true if the frame grabber has been initialized.
Definition at line 103 of file vpFrameGrabber.h.
|
protected |
Number of columns in the image.
Definition at line 107 of file vpFrameGrabber.h.
Referenced by vpDirectShowGrabber::getFormat().