VTK
Public Member Functions
vtkColor4< T > Class Template Reference

#include <vtkColor.h>

Inheritance diagram for vtkColor4< T >:
Inheritance graph
[legend]
Collaboration diagram for vtkColor4< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 vtkColor4 ()
 vtkColor4 (const T &scalar)
 vtkColor4 (const T *init)
 vtkColor4 (const T &red, const T &green, const T &blue, const T &alpha)
void SetRed (const T &red)
void SetGreen (const T &green)
void SetBlue (const T &blue)
void SetAlpha (const T &alpha)
void Set (const T &red, const T &green, const T &blue)
void Set (const T &red, const T &green, const T &blue, const T &alpha)
const T & GetRed () const
const T & Red () const
const T & GetGreen () const
const T & Green () const
const T & GetBlue () const
const T & Blue () const
const T & GetAlpha () const
const T & Alpha () const

Detailed Description

template<typename T>
class vtkColor4< T >

Definition at line 95 of file vtkColor.h.


Constructor & Destructor Documentation

template<typename T>
vtkColor4< T >::vtkColor4 ( ) [inline]

Definition at line 98 of file vtkColor.h.

template<typename T>
vtkColor4< T >::vtkColor4 ( const T &  scalar) [inline, explicit]

Definition at line 102 of file vtkColor.h.

template<typename T>
vtkColor4< T >::vtkColor4 ( const T *  init) [inline, explicit]

Definition at line 106 of file vtkColor.h.

template<typename T>
vtkColor4< T >::vtkColor4 ( const T &  red,
const T &  green,
const T &  blue,
const T &  alpha 
) [inline]

Definition at line 110 of file vtkColor.h.


Member Function Documentation

template<typename T>
void vtkColor4< T >::Set ( const T &  red,
const T &  green,
const T &  blue 
) [inline]

Set the red, green and blue components of the color.

Definition at line 120 of file vtkColor.h.

template<typename T>
void vtkColor4< T >::Set ( const T &  red,
const T &  green,
const T &  blue,
const T &  alpha 
) [inline]

Set the red, green, blue and alpha components of the color.

Definition at line 130 of file vtkColor.h.

template<typename T>
void vtkColor4< T >::SetRed ( const T &  red) [inline]

Set the red component of the color, i.e. element 0.

Definition at line 140 of file vtkColor.h.

template<typename T>
const T& vtkColor4< T >::GetRed ( ) const [inline]

Get the red component of the color, i.e. element 0.

Definition at line 144 of file vtkColor.h.

template<typename T>
const T& vtkColor4< T >::Red ( ) const [inline]

Get the red component of the color, i.e. element 0.

Definition at line 145 of file vtkColor.h.

template<typename T>
void vtkColor4< T >::SetGreen ( const T &  green) [inline]

Set the green component of the color, i.e. element 1.

Definition at line 149 of file vtkColor.h.

template<typename T>
const T& vtkColor4< T >::GetGreen ( ) const [inline]

Get the green component of the color, i.e. element 1.

Definition at line 153 of file vtkColor.h.

template<typename T>
const T& vtkColor4< T >::Green ( ) const [inline]

Get the green component of the color, i.e. element 1.

Definition at line 154 of file vtkColor.h.

template<typename T>
void vtkColor4< T >::SetBlue ( const T &  blue) [inline]

Set the blue component of the color, i.e. element 2.

Definition at line 158 of file vtkColor.h.

template<typename T>
const T& vtkColor4< T >::GetBlue ( ) const [inline]

Get the blue component of the color, i.e. element 2.

Definition at line 162 of file vtkColor.h.

template<typename T>
const T& vtkColor4< T >::Blue ( ) const [inline]

Get the blue component of the color, i.e. element 2.

Definition at line 163 of file vtkColor.h.

template<typename T>
void vtkColor4< T >::SetAlpha ( const T &  alpha) [inline]

Set the alpha component of the color, i.e. element 3.

Definition at line 167 of file vtkColor.h.

template<typename T>
const T& vtkColor4< T >::GetAlpha ( ) const [inline]

Get the alpha component of the color, i.e. element 3.

Definition at line 171 of file vtkColor.h.

template<typename T>
const T& vtkColor4< T >::Alpha ( ) const [inline]

Get the alpha component of the color, i.e. element 3.

Definition at line 172 of file vtkColor.h.


The documentation for this class was generated from the following file: