Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

ImageSource Class Reference

The interface for any source of Image's. More...

#include <ImageSource.h>

Inheritance diagram for ImageSource::

AVISource AxisSource ImageMagicKSource JPEGSource MPEGSource QTSource RandomSource Video4LinuxSource List of all members.

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.


Detailed Description

The interface for any source of Image's.

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.


Constructor & Destructor Documentation

ImageSource::ImageSource ( ) [inline, protected]
 

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.


Member Function Documentation

void ImageSource::set_mode ( Image::Type t ) [inline]
 

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.


The documentation for this class was generated from the following file:
Generated at Fri Aug 13 17:29:22 2004 for libRTImage by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001