#include <ImageSource.h>
Inheritance diagram for ImageSource::

Public Methods | |
| virtual | ~ImageSource () |
| Virtual destructor. | |
| void | set_mode (Image::Type t) |
| Set the default type of source. More... | |
| virtual void | get_size (unsigned int &, unsigned int &) |
| virtual ImageSource& | operator>> (ImageRGB &)=0 |
| Extract a colour image into the images data buffer. | |
| virtual ImageSource& | operator>> (ImageGrey &)=0 |
| Extract a greyscale image into the images brightness buffer. | |
| virtual ImageSource& | operator>> (Image &)=0 |
| Extract an image dependant on the default type. | |
Protected Methods | |
| ImageSource () | |
| Default constructor. More... | |
Protected Attributes | |
| Image::Type | type |
| Default type of source. | |
This interface is implemented by any class from which images can be pulled into an Image object. The contents of the Image's data and brightness buffers are overwritten with the new image from the specific source.
Definition at line 28 of file ImageSource.h.
|
|
Default constructor. protected as an instance of this class cannot be directly created. instead an instance of an inherited class should be used. Definition at line 81 of file ImageSource.h. |
|
|
Set the default type of source. The default type is the image that is extracted to an Image object by default. Definition at line 56 of file ImageSource.h. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001