34 #ifndef vpFrameGrabber_hh
35 #define vpFrameGrabber_hh
37 #include <visp3/core/vpImage.h>
38 #include <visp3/core/vpRGBa.h>
109 inline unsigned int getHeight()
const {
return height; }
111 inline unsigned int getWidth()
const {
return width; }
Base class for all video devices. It is designed to provide a front end to video sources.
virtual void acquire(vpImage< vpRGBa > &I)=0
virtual void open(vpImage< unsigned char > &I)=0
unsigned int height
Number of rows in the image.
bool init
Set to true if the frame grabber has been initialized.
unsigned int width
Number of columns in the image.
unsigned int getWidth() const
Return the number of columns in the image.
virtual void open(vpImage< vpRGBa > &I)=0
virtual void acquire(vpImage< unsigned char > &I)=0
virtual ~vpFrameGrabber()
unsigned int getHeight() const
Return the number of rows in the image.