VTK
|
#include <vtkColor.h>
Public Member Functions | |
vtkColor4 (const T &red=0, const T &green=0, const T &blue=0, const T &alpha=0) | |
vtkColor4 (const T *init) | |
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 |
Definition at line 86 of file vtkColor.h.
vtkColor4< T >::vtkColor4 | ( | const T & | red = 0 , |
const T & | green = 0 , |
||
const T & | blue = 0 , |
||
const T & | alpha = 0 |
||
) | [inline] |
Definition at line 89 of file vtkColor.h.
Definition at line 97 of file vtkColor.h.
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 103 of file vtkColor.h.
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 113 of file vtkColor.h.
Set the red component of the color, i.e. element 0.
Definition at line 123 of file vtkColor.h.
Get the red component of the color, i.e. element 0.
Definition at line 127 of file vtkColor.h.
Get the red component of the color, i.e. element 0.
Definition at line 128 of file vtkColor.h.
Set the green component of the color, i.e. element 1.
Definition at line 132 of file vtkColor.h.
Get the green component of the color, i.e. element 1.
Definition at line 136 of file vtkColor.h.
Get the green component of the color, i.e. element 1.
Definition at line 137 of file vtkColor.h.
Set the blue component of the color, i.e. element 2.
Definition at line 141 of file vtkColor.h.
Get the blue component of the color, i.e. element 2.
Definition at line 145 of file vtkColor.h.
Get the blue component of the color, i.e. element 2.
Definition at line 146 of file vtkColor.h.
Set the alpha component of the color, i.e. element 3.
Definition at line 150 of file vtkColor.h.
Get the alpha component of the color, i.e. element 3.
Definition at line 154 of file vtkColor.h.
Get the alpha component of the color, i.e. element 3.
Definition at line 155 of file vtkColor.h.