Main Page | Class Hierarchy | Class List | Class Members

Pixel Class Reference

List of all members.

Public Member Functions

 Pixel (void)
 Pixel (const class Pixel32 &p)

Public Attributes

float r
float g
float b
float a

Detailed Description

The value of pi to many significant digits/*/ #define PI

/** This structure represents a 4-channel, floating point precision pixel.


Constructor & Destructor Documentation

Pixel::Pixel void   ) 
 

This constructor instantiates a pixel with 0 for the red, green and blue components, and 255 for the alpha.

Pixel::Pixel const class Pixel32 p  ) 
 

This constructor instantiates a 32 bit pixel representation of the RGBA components.


Member Data Documentation

float Pixel::a
 

The red, green, blue, and alpha components of the pixel

float Pixel::b
 

The red, green, blue, and alpha components of the pixel

float Pixel::g
 

The red, green, blue, and alpha components of the pixel

float Pixel::r
 

The red, green, blue, and alpha components of the pixel


Generated on Wed Feb 22 15:44:23 2006 for Assignment 2 by  doxygen 1.4.1