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

vuColour7a Class Reference

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

#include <vuColour7a.h>

Inheritance diagram for vuColour7a:

Inheritance graph
[legend]
Collaboration diagram for vuColour7a:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vuColour7a ()
 default constructor
 vuColour7a (const vuColour7a &inst)
 copy constructor
 vuColour7a (const vuColour< 8 > &inst)
 copy constructor
 vuColour7a (const float *f)
 cunstruct from an array of floats.
 vuColour7a (const float f)
 Sets all components (including the alpha value) to f.
 vuColour7a (const vuColour31a &c31a)
 construct from a full spectrum
void from (const vuColour31a &c31a)
 takes the value stored in c31a, converts it to the equivalent value in 7a format, and saves the converted value in this object

Static Public Member Functions

floatgetCXF31to7 ()
 returns the V31 to V7 transformation matrix

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 197 of file vuColour7a.h.


Constructor & Destructor Documentation

vuColour7a::vuColour7a  )  [inline]
 

default constructor

Definition at line 201 of file vuColour7a.h.

vuColour7a::vuColour7a const vuColour7a inst  )  [inline]
 

copy constructor

Definition at line 203 of file vuColour7a.h.

vuColour7a::vuColour7a const vuColour< 8 > &  inst  )  [inline]
 

copy constructor

Definition at line 205 of file vuColour7a.h.

vuColour7a::vuColour7a const float f  )  [inline]
 

cunstruct from an array of floats.

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

Definition at line 209 of file vuColour7a.h.

vuColour7a::vuColour7a const float  f  )  [inline]
 

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

Definition at line 211 of file vuColour7a.h.

vuColour7a::vuColour7a const vuColour31a c31a  )  [inline]
 

construct from a full spectrum

Definition at line 214 of file vuColour7a.h.

References from().

Here is the call graph for this function:


Member Function Documentation

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

takes the value stored in c31a, converts it to the equivalent value in 7a format, and saves the converted value in this object

Definition at line 218 of file vuColour7a.h.

References CXF31to7, and vuColour< 8 >::fromColourN().

Referenced by vuTFIntensity::operator=(), ns_vu1112112::Parser::ReadColourType(), and vuColour7a().

Here is the call graph for this function:

float* vuColour7a::getCXF31to7  )  [inline, static]
 

returns the V31 to V7 transformation matrix

Definition at line 224 of file vuColour7a.h.


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