VTK
Public Member Functions | List of all members
vtkColor3< T > Class Template Reference

#include <vtkColor.h>

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

Public Member Functions

 vtkColor3 (const T &red=0, const T &green=0, const T &blue=0)
 
 vtkColor3 (const T *init)
 
void SetRed (const T &red)
 
void SetGreen (const T &green)
 
void SetBlue (const T &blue)
 
void Set (const T &red, const T &green, const T &blue)
 
const T & GetRed () const
 
const T & Red () const
 
const T & GetGreen () const
 
const T & Green () const
 
const T & GetBlue () const
 
const T & Blue () const
 
- Public Member Functions inherited from vtkVector< T, 3 >
 vtkVector ()
 
 vtkVector (const T *init)
 
int GetSize () const
 
operator() (int i) const
 
T * GetData ()
 
const T * GetData () const
 
T & operator[] (int i)
 
const T & operator[] (int i) const
 
vtkVector< TR, Size > Cast () const
 

Additional Inherited Members

- Protected Attributes inherited from vtkVector< T, 3 >
Data [Size]
 

Detailed Description

template<typename T>
class vtkColor3< T >

Definition at line 32 of file vtkColor.h.

Constructor & Destructor Documentation

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

Definition at line 35 of file vtkColor.h.

template<typename T>
vtkColor3< T >::vtkColor3 ( const T *  init)
inlineexplicit

Definition at line 41 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 47 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 56 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 60 of file vtkColor.h.

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

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

Definition at line 61 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 65 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 69 of file vtkColor.h.

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

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

Definition at line 70 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 74 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 78 of file vtkColor.h.

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

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

Definition at line 79 of file vtkColor.h.


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