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 Fri Feb 3 14:18:50 2006 for Assignment 1 by  doxygen 1.4.1