#include <ImageSource.h>
Public Member Functions | |
| virtual const char * | getDescription () const =0 |
| virtual int | getNumberOfImages () const =0 |
| virtual bool | hasNextImage ()=0 |
| virtual IplImage * | getNextImage ()=0 |
Abstract class that defines the methods an image source, i.e. provider, needs to implement.
| virtual const char* ImageSource::getDescription | ( | ) | const [pure virtual] |
This method should returns a single sentence describing the image source.
Implemented in CVCameraSource, and CVVideoSource.
| virtual IplImage* ImageSource::getNextImage | ( | ) | [pure virtual] |
This method should return the next image.
NULL in case of an error or if there is not any image left for processing Implemented in CVImageSource.
| virtual int ImageSource::getNumberOfImages | ( | ) | const [pure virtual] |
This method should return the number of available images.
Implemented in CVCameraSource, and CVVideoSource.
| virtual bool ImageSource::hasNextImage | ( | ) | [pure virtual] |
This method should return true in case there are more images that can be fetched using getNextImage()
true = one or more images available, false = no images Implemented in CVCameraSource, and CVVideoSource.
1.7.2