40 #include <visp3/core/vpConfig.h> 41 #if (defined(VISP_HAVE_DIRECTSHOW)) 43 #include <visp3/sensor/vpDirectShowGrabber.h> 44 #include <visp3/sensor/vpDirectShowGrabberImpl.h> 136 return grabber->setImageSize(width, height);
155 return grabber->setFormat(width, height, framerate);
166 grabber->getFormat(width, height, framerate);
192 #elif !defined(VISP_BUILD_SHARED_LIBS) 195 void dummy_vpDirectShowGrabber(){};
void getFormat(unsigned int &width, unsigned int &height, double &framerate)
bool setMediaType(int mediaTypeID)
bool setFramerate(double framerate)
bool setDevice(unsigned int id)
bool setFormat(unsigned int width, unsigned int height, double framerate)
unsigned int height
Number of rows in the image.
void acquire(vpImage< unsigned char > &I)
virtual ~vpDirectShowGrabber()
bool setImageSize(unsigned int width, unsigned int height)
bool getStreamCapabilities()
unsigned int getDeviceNumber()
unsigned int width
Number of columns in the image.