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

vlColor4< T > Class Template Reference

Class to store color with 4 components (RGB/HSV, and A).

#include <vlcolor.h>

Inheritance diagram for vlColor4< T >:

vlColor3< T > vlTriple< T > List of all members.

Public Member Functions

 vlColor4 (T x=0.0, T y=0.0, T z=0.0, T a=1.0)
 Default constructor.

 ~vlColor4 ()
 Default destructor.

a () const
 Returns the alpha value of the color.

T const & aRef () const
 Returns a reference to the alpha value of the color.

template<class S> void a (const S &value)
 set value of alpha


Protected Attributes

m_alpha
 The alpha value of the color.

template<class T>
class vlColor4< T >


Constructor & Destructor Documentation

template<class T>
vlColor4< T >::vlColor4 x = 0.0,
y = 0.0,
z = 0.0,
a = 1.0
[inline]
 

template<class T>
vlColor4< T >::~vlColor4  )  [inline]
 


Member Function Documentation

template<class T>
template<class S>
void vlColor4< T >::a const S &  value  )  [inline]
 

Definition at line 219 of file vlcolor.h.

template<class T>
T vlColor4< T >::a  )  const [inline]
 

Definition at line 212 of file vlcolor.h.

template<class T>
T const& vlColor4< T >::aRef  )  const [inline]
 

Definition at line 215 of file vlcolor.h.


Member Data Documentation

template<class T>
T vlColor4< T >::m_alpha [protected]
 

Definition at line 223 of file vlcolor.h.

Referenced by vlColor4< uint8 >::a(), and vlColor4< uint8 >::aRef().


The documentation for this class was generated from the following file:
Generated on Fri Mar 18 11:33:18 2005 for OpenVL by doxygen 1.3.3