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

PLPixel8 Class Reference

8 bit pixel class. More...

#include <plpixel8.h>

Collaboration diagram for PLPixel8:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PLPixel8 ()
 PLPixel8 (PLBYTE val)
void Set (PLBYTE val)
PLBYTE Get () const
bool operator== (const PLPixel8 &)
bool operator!= (const PLPixel8 &)
int BoxDist (PLPixel8 Pix)
 Simple and fast 'distance' between two pixels.

Private Attributes

PLBYTE m_Data

Detailed Description

8 bit pixel class.

A pixel in this class contains 8 bits of image data. This class is meant to be fast, so all methods are inlined.

Definition at line 19 of file plpixel8.h.


Constructor & Destructor Documentation

PLPixel8::PLPixel8  )  [inline]
 

Definition at line 44 of file plpixel8.h.

PLPixel8::PLPixel8 PLBYTE  val  )  [inline]
 

Definition at line 49 of file plpixel8.h.

References PLBYTE, and Set().

Here is the call graph for this function:


Member Function Documentation

int PLPixel8::BoxDist PLPixel8  Pix  )  [inline]
 

Simple and fast 'distance' between two pixels.

Definition at line 67 of file plpixel8.h.

References linalg::abs(), and Get().

Here is the call graph for this function:

PLBYTE PLPixel8::Get  )  const [inline]
 

Definition at line 61 of file plpixel8.h.

References PLBYTE.

Referenced by BoxDist(), and operator==().

bool PLPixel8::operator!= const PLPixel8  )  [inline]
 

Definition at line 77 of file plpixel8.h.

bool PLPixel8::operator== const PLPixel8  )  [inline]
 

Definition at line 72 of file plpixel8.h.

References Get().

Here is the call graph for this function:

void PLPixel8::Set PLBYTE  val  )  [inline]
 

Definition at line 55 of file plpixel8.h.

References m_Data, and PLBYTE.

Referenced by PLPixel8().


Member Data Documentation

PLBYTE PLPixel8::m_Data [private]
 

Definition at line 41 of file plpixel8.h.

Referenced by Set().


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