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

PLFilterGetAlpha Class Reference

Returns an 8 bpp grayscale bitmap containing only the alpha channel of the source bitmap. More...

#include <plfiltergetalpha.h>

Inheritance diagram for PLFilterGetAlpha:

Inheritance graph
[legend]
Collaboration diagram for PLFilterGetAlpha:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PLFilterGetAlpha ()
virtual ~PLFilterGetAlpha ()
virtual void Apply (PLBmp *pBmpSource, PLBmp *pBmpDest) const
 Applies the Filter to pBmpSource and stores the result in pBmpDest.

Detailed Description

Returns an 8 bpp grayscale bitmap containing only the alpha channel of the source bitmap.

Definition at line 24 of file plfiltergetalpha.h.


Constructor & Destructor Documentation

PLFilterGetAlpha::PLFilterGetAlpha  ) 
 

Definition at line 16 of file plfiltergetalpha.cpp.

PLFilterGetAlpha::~PLFilterGetAlpha  )  [virtual]
 

Definition at line 20 of file plfiltergetalpha.cpp.


Member Function Documentation

void PLFilterGetAlpha::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 from PLFilter.

Definition at line 25 of file plfiltergetalpha.cpp.

References PLBmp::Create(), PLPixel32::GetA(), PLBmp::GetBitsPerPixel(), PLBmp::GetHeight(), PLBmp::GetLineArray(), PLBmp::GetLineArray32(), PLBmp::GetResolution(), PLBmp::GetWidth(), PLBmp::HasAlpha(), PLASSERT, and PLBYTE.

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:21:00 2004 for vuVolume by  doxygen 1.3.9.1