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

vuColour9a Class Reference

Implementation for the seven component colour model plus alpha channel. More...

#include <vuColour9a.h>

Inheritance diagram for vuColour9a:

Inheritance graph
[legend]
Collaboration diagram for vuColour9a:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vuColour9a ()
 default constructor
 vuColour9a (const vuColour9a &inst)
 copy constructor
 vuColour9a (const vuColour< 10 > &inst)
 constructor, basiclly a copy constructor
 vuColour9a (const float *f)
 cunstruct from an array of floats.
 vuColour9a (const float f)
 Sets all components (including the alpha value) to f.
void to (vuColourRGBa &rgba)
 this will convert the vuColour9a to RGBA and store that value in rgba
void from (const vuColour31a &c31a)
 This will convert from c31a to vucolour9a and store the result in this instance.
void to (vuColour31a &c31a)
 this will convert the value stored in this instance to vucolour31a and store the result in c31a

Detailed Description

Implementation for the seven component colour model plus alpha channel.

Derived from vuColour general colour template class. With conversion functions from other colour models.

Definition at line 155 of file vuColour9a.h.


Constructor & Destructor Documentation

vuColour9a::vuColour9a  )  [inline]
 

default constructor

Definition at line 159 of file vuColour9a.h.

vuColour9a::vuColour9a const vuColour9a inst  )  [inline]
 

copy constructor

Definition at line 161 of file vuColour9a.h.

vuColour9a::vuColour9a const vuColour< 10 > &  inst  )  [inline]
 

constructor, basiclly a copy constructor

Definition at line 164 of file vuColour9a.h.

vuColour9a::vuColour9a const float f  )  [inline]
 

cunstruct from an array of floats.

The alpha value is taken from the N+1st position.

Definition at line 168 of file vuColour9a.h.

vuColour9a::vuColour9a const float  f  )  [inline]
 

Sets all components (including the alpha value) to f.

Definition at line 170 of file vuColour9a.h.


Member Function Documentation

void vuColour9a::from const vuColour31a c31a  )  [inline]
 

This will convert from c31a to vucolour9a and store the result in this instance.

Definition at line 179 of file vuColour9a.h.

References CXF31to9, and vuColour< 10 >::fromColourN().

Here is the call graph for this function:

void vuColour9a::to vuColour31a c31a  )  [inline]
 

this will convert the value stored in this instance to vucolour31a and store the result in c31a

Definition at line 185 of file vuColour9a.h.

References CXF9to31, and vuColour< 10 >::toColourN().

Here is the call graph for this function:

void vuColour9a::to vuColourRGBa rgba  )  [inline]
 

this will convert the vuColour9a to RGBA and store that value in rgba

Definition at line 173 of file vuColour9a.h.

References CXF9toRGB, and vuColour< 10 >::toColourN().

Referenced by vuTFIntensity::getRGBa().

Here is the call graph for this function:


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