Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

qgar::AbstractMultiImage Class Reference
[Images]

#include <qgarlib/AbstractMultiImage.H>

Inheritance diagram for qgar::AbstractMultiImage:

qgar::AbstractGradientImage qgar::CannyGradientImage qgar::DericheGradientImage List of all members.

Detailed Description

Root class for classes defining multi-layered images.

Just an empty abstract class to group such classes together in the same subtree of the inheritance hierarchy.

Definition at line 60 of file AbstractMultiImage.H.

Public Member Functions

Destructor
virtual ~AbstractMultiImage ()
 Virtual destructor.
Access to image characteristics
int width () const
 Get the image width.
int height () const
 Get the image height.
Operators
AbstractMultiImageoperator= (const AbstractMultiImage &anImg)
 Assign given image to current image.

Protected Member Functions

Constructors
Constructors belong to the protected section so that the class cannot be instantiated.

 AbstractMultiImage ()
 Default constructor: Set 0 to width and height.
 AbstractMultiImage (const AbstractMultiImage &anImg)
 Copy constructor.
 AbstractMultiImage (unsigned int aWidth, unsigned int aHeight)
 Initialize with given width and height.

Protected Attributes

Representation of an image
int _width
 Width of the image.
int _height
 Height of the image.


Constructor & Destructor Documentation

qgar::AbstractMultiImage::~AbstractMultiImage  )  [virtual]
 

Virtual destructor.

Definition at line 99 of file AbstractMultiImage.C.

qgar::AbstractMultiImage::AbstractMultiImage  )  [protected]
 

Default constructor: Set 0 to width and height.

The constructor belongs to the protected section so that the class cannot be instantiated.

Definition at line 56 of file AbstractMultiImage.C.

qgar::AbstractMultiImage::AbstractMultiImage const AbstractMultiImage anImg  )  [protected]
 

Copy constructor.

Parameters:
anImg image to be copied

Definition at line 69 of file AbstractMultiImage.C.

qgar::AbstractMultiImage::AbstractMultiImage unsigned int  aWidth,
unsigned int  aHeight
[protected]
 

Initialize with given width and height.

Parameters:
aWidth width of the image (in pixels)
aHeight height of the image (in pixels)

Definition at line 81 of file AbstractMultiImage.C.


Member Function Documentation

int qgar::AbstractMultiImage::height  )  const [inline]
 

Get the image height.

Definition at line 191 of file AbstractMultiImage.H.

References _height.

AbstractMultiImage & qgar::AbstractMultiImage::operator= const AbstractMultiImage anImg  ) 
 

Assign given image to current image.

Parameters:
anImg image to assign to the current image

Definition at line 113 of file AbstractMultiImage.C.

References _height, and _width.

Referenced by qgar::AbstractGradientImage::operator=().

int qgar::AbstractMultiImage::width  )  const [inline]
 

Get the image width.

Definition at line 182 of file AbstractMultiImage.H.

References _width.


Member Data Documentation

int qgar::AbstractMultiImage::_height [protected]
 

Height of the image.

Definition at line 159 of file AbstractMultiImage.H.

Referenced by qgar::AbstractGradientImage::AbstractGradientImage(), qgar::DericheGradientImage::dfilterX(), qgar::DericheGradientImage::dfilterY(), height(), operator=(), and qgar::AbstractGradientImage::shallowCopy().

int qgar::AbstractMultiImage::_width [protected]
 

Width of the image.

Definition at line 154 of file AbstractMultiImage.H.

Referenced by qgar::AbstractGradientImage::AbstractGradientImage(), qgar::DericheGradientImage::dfilterX(), qgar::DericheGradientImage::dfilterY(), operator=(), qgar::AbstractGradientImage::shallowCopy(), and width().


The documentation for this class was generated from the following files: