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

PLFilter Class Reference

Base class for filters that operate on bitmaps. More...

#include <plfilter.h>

Inheritance diagram for PLFilter:

Inheritance graph
[legend]
Collaboration diagram for PLFilter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PLFilter ()
virtual ~PLFilter ()=0
virtual void ApplyInPlace (PLBmp *pBmp) const
 In-Place Apply.
virtual void Apply (PLBmp *pBmpSource, PLBmp *pBmpDest) const
 Applies the Filter to pBmpSource and stores the result in pBmpDest.

Detailed Description

Base class for filters that operate on bitmaps.

Derived classes need to override either the ApplyInPlace or the Apply function.

Definition at line 23 of file plfilter.h.


Constructor & Destructor Documentation

PLFilter::PLFilter  ) 
 

Definition at line 17 of file plfilter.cpp.

PLFilter::~PLFilter  )  [pure virtual]
 

Definition at line 22 of file plfilter.cpp.


Member Function Documentation

void PLFilter::Apply PLBmp pBmpSource,
PLBmp pBmpDest
const [virtual]
 

Applies the Filter to pBmpSource and stores the result in pBmpDest.

The base-class version copies the bitmap before calling ApplyInPlace (pBmpDest).

Reimplemented in PLFilterContrast, PLFilterCrop, PLFilterFlip, PLFilterGetAlpha, PLFilterGrayscale, PLFilterIntensity, PLFilterLightness, PLFilterMirror, PLFilterQuantize, PLFilterResizeBilinear, PLFilterResizeBox, PLFilterResizeGaussian, PLFilterResizeHamming, PLFilterThreshold, and PLFilterVideoInvert.

Definition at line 36 of file plfilter.cpp.

References ApplyInPlace().

Referenced by ApplyInPlace(), and PLBmp::CreateFilteredCopy().

Here is the call graph for this function:

void PLFilter::ApplyInPlace PLBmp pBmp  )  const [virtual]
 

In-Place Apply.

Applies the filter to pBmp. The base-class version copies the bitmap after calling Apply (pBmp, pTempBmp).

Reimplemented in PLFilterFill, PLFilterFillRect< PixelC >, and PLFilterPixel< PixelC, PixelOp >.

Definition at line 27 of file plfilter.cpp.

References Apply().

Referenced by Apply().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Wed Dec 15 21:20:59 2004 for vuVolume by  doxygen 1.3.9.1