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

vuColourSpecial Class Reference

Implementation for a colour model with a 'specialized' basis plus alpha channel. More...

#include <vuColourSpec.h>

Inheritance diagram for vuColourSpecial:

Inheritance graph
[legend]
Collaboration diagram for vuColourSpecial:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vuColourSpecial ()
 default constructor
 vuColourSpecial (const vuColourSpecial &inst)
 copy constructor
 vuColourSpecial (const vuColour< 4 > &inst)
 same as copy constructor
 vuColourSpecial (const float *f)
 constructor, will copy the ith value of f into the ith component of this
 vuColourSpecial (const float f)
 constructor, will set each component to be f
 vuColourSpecial (const vuColour31a &inst)
 constructor, will copy the colour equivalent to inst into this instance
void from (const vuColourRGBa &rgba)
 sets this instance to be rgba
void From (const vuColour31a &c31a)
 sets this instance to be the equivalent colour of c31a
void to (vuColourRGBa &rgba) const
 converts this instance to rgba and stores the result in rgba

Detailed Description

Implementation for a colour model with a 'specialized' basis plus alpha channel.

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

Definition at line 41 of file vuColourSpec.h.


Constructor & Destructor Documentation

vuColourSpecial::vuColourSpecial  )  [inline]
 

default constructor

Definition at line 45 of file vuColourSpec.h.

vuColourSpecial::vuColourSpecial const vuColourSpecial inst  )  [inline]
 

copy constructor

Definition at line 47 of file vuColourSpec.h.

vuColourSpecial::vuColourSpecial const vuColour< 4 > &  inst  )  [inline]
 

same as copy constructor

Definition at line 49 of file vuColourSpec.h.

vuColourSpecial::vuColourSpecial const float f  )  [inline]
 

constructor, will copy the ith value of f into the ith component of this

Definition at line 52 of file vuColourSpec.h.

vuColourSpecial::vuColourSpecial const float  f  )  [inline]
 

constructor, will set each component to be f

Definition at line 55 of file vuColourSpec.h.

vuColourSpecial::vuColourSpecial const vuColour31a inst  )  [inline]
 

constructor, will copy the colour equivalent to inst into this instance

Definition at line 59 of file vuColourSpec.h.

References from().

Here is the call graph for this function:


Member Function Documentation

void vuColourSpecial::From const vuColour31a c31a  )  [inline]
 

sets this instance to be the equivalent colour of c31a

Definition at line 68 of file vuColourSpec.h.

References CXF31toSPEC, and vuColour< 4 >::fromColourN().

Here is the call graph for this function:

void vuColourSpecial::from const vuColourRGBa rgba  )  [inline]
 

sets this instance to be rgba

Definition at line 62 of file vuColourSpec.h.

References vuColour< 4 >::fromColourN().

Referenced by vuColourSpecial().

Here is the call graph for this function:

void vuColourSpecial::to vuColourRGBa rgba  )  const [inline]
 

converts this instance to rgba and stores the result in rgba

Definition at line 74 of file vuColourSpec.h.

References CXFSPECtoRGB, and vuColour< 4 >::toColourN().

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:14 2004 for vuVolume by  doxygen 1.3.9.1