VTK
|
#include <vtkColor.h>
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) |
const T & | GetRed () const |
void | SetGreen (const T &green) |
const T & | GetGreen () const |
void | SetBlue (const T &blue) |
const T & | GetBlue () const |
void | SetAlpha (const T &alpha) |
const T & | GetAlpha () const |
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 & | Red () const |
const T & | Green () const |
const T & | Blue () const |
const T & | Alpha () const |
Definition at line 98 of file vtkColor.h.
Definition at line 101 of file vtkColor.h.
Definition at line 105 of file vtkColor.h.
Definition at line 109 of file vtkColor.h.
vtkColor4< T >::vtkColor4 | ( | const T & | red, |
const T & | green, | ||
const T & | blue, | ||
const T & | alpha | ||
) | [inline] |
Definition at line 113 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 123 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 133 of file vtkColor.h.
Set the red component of the color, i.e. element 0.
Definition at line 143 of file vtkColor.h.
Get the red component of the color, i.e. element 0.
Definition at line 146 of file vtkColor.h.
Set the green component of the color, i.e. element 1.
Definition at line 149 of file vtkColor.h.
Get the green component of the color, i.e. element 1.
Definition at line 152 of file vtkColor.h.
Set the blue component of the color, i.e. element 2.
Definition at line 155 of file vtkColor.h.
Get the blue component of the color, i.e. element 2.
Definition at line 158 of file vtkColor.h.
Set the alpha component of the color, i.e. element 3.
Definition at line 161 of file vtkColor.h.
Get the alpha component of the color, i.e. element 3.
Definition at line 164 of file vtkColor.h.
Legacy method for getting the red component.
Definition at line 304 of file vtkColor.h.
Legacy method for getting the green component.
Definition at line 311 of file vtkColor.h.
Legacy method for getting the blue component.
Definition at line 318 of file vtkColor.h.
Legacy method for getting the alpha component.
Definition at line 325 of file vtkColor.h.