VTK
Public Member Functions
vtkColor3< T > Class Template Reference

#include <vtkColor.h>

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

List of all members.

Public Member Functions

 vtkColor3 ()
 vtkColor3 (const T &scalar)
 vtkColor3 (const T *init)
 vtkColor3 (const T &red, const T &green, const T &blue)
void SetRed (const T &red)
const T & GetRed () const
void SetGreen (const T &green)
const T & GetGreen () const
void SetBlue (const T &blue)
const T & GetBlue () const
void Set (const T &red, const T &green, const T &blue)
const T & Red () const
const T & Green () const
const T & Blue () const

Detailed Description

template<typename T>
class vtkColor3< T >

Definition at line 33 of file vtkColor.h.


Constructor & Destructor Documentation

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

Definition at line 36 of file vtkColor.h.

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

Definition at line 40 of file vtkColor.h.

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

Definition at line 44 of file vtkColor.h.

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

Definition at line 48 of file vtkColor.h.


Member Function Documentation

template<typename T>
void vtkColor3< 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 57 of file vtkColor.h.

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

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

Definition at line 66 of file vtkColor.h.

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

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

Definition at line 69 of file vtkColor.h.

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

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

Definition at line 72 of file vtkColor.h.

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

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

Definition at line 75 of file vtkColor.h.

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

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

Definition at line 78 of file vtkColor.h.

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

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

Definition at line 81 of file vtkColor.h.

template<typename T >
const T & vtkColor3< T >::Red ( ) const

Legacy method for getting the red component.

Definition at line 283 of file vtkColor.h.

template<typename T >
const T & vtkColor3< T >::Green ( ) const

Legacy method for getting the green component.

Definition at line 290 of file vtkColor.h.

template<typename T >
const T & vtkColor3< T >::Blue ( ) const

Legacy method for getting the blue component.

Definition at line 297 of file vtkColor.h.


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