38#ifndef vpDirectShowGrabber_hh
39#define vpDirectShowGrabber_hh
41#include <visp3/core/vpConfig.h>
42#if (defined(VISP_HAVE_DIRECTSHOW))
44#include <visp3/core/vpFrameGrabber.h>
45#include <visp3/core/vpImage.h>
46#include <visp3/core/vpRGBa.h>
49class vpDirectShowGrabberImpl;
64 vpDirectShowGrabberImpl *grabber;
void getFormat(unsigned int &width, unsigned int &height, double &framerate)
bool setDevice(unsigned int id)
unsigned int getDeviceNumber()
bool getStreamCapabilities()
bool setImageSize(unsigned int width, unsigned int height)
bool setMediaType(int mediaTypeID)
bool setFramerate(double framerate)
bool setFormat(unsigned int width, unsigned int height, double framerate)
virtual void open(vpImage< unsigned char > &I)=0
unsigned int height
Number of rows in the image.
unsigned int width
Number of columns in the image.
unsigned int getWidth() const
Return the number of columns in the image.
virtual void acquire(vpImage< unsigned char > &I)=0
unsigned int getHeight() const
Return the number of rows in the image.
Definition of the vpImage class member functions.