#include <vtkColor.h>
|
| vtkColor3 ()=default |
| vtkColor3 (const T &scalar) |
| vtkColor3 (const T *init) |
| vtkColor3 (const T &red, const T &green, const T &blue) |
void | SetRed (const T &red) |
| Set the red component of the color, i.e.
|
const T & | GetRed () const |
| Get the red component of the color, i.e.
|
void | SetGreen (const T &green) |
| Set the green component of the color, i.e.
|
const T & | GetGreen () const |
| Get the green component of the color, i.e.
|
void | SetBlue (const T &blue) |
| Set the blue component of the color, i.e.
|
const T & | GetBlue () const |
| Get the blue component of the color, i.e.
|
void | Set (const T &red, const T &green, const T &blue) |
| Set the red, green and blue components of the color.
|
| vtkTuple ()=default |
| The default constructor does not initialize values.
|
int | GetSize () const |
| Get the size of the tuple.
|
T * | GetData () |
| Get a pointer to the underlying data of the tuple.
|
T & | operator[] (int i) |
| Get a reference to the underlying data element of the tuple.
|
T | operator() (int i) const |
| Get the value of the tuple at the index specified.
|
bool | Compare (const vtkTuple< T, Size > &other, const T &tol) const |
| Equality operator with a tolerance to allow fuzzy comparisons.
|
vtkTuple< TR, Size > | Cast () const |
| Cast the tuple to the specified type, returning the result.
|
|
T | Data [Size] |
| The only thing stored in memory!
|
template<typename T>
class vtkColor3< T >
Definition at line 34 of file vtkColor.h.
◆ vtkColor3() [1/4]
◆ vtkColor3() [2/4]
◆ vtkColor3() [3/4]
◆ vtkColor3() [4/4]
◆ Set()
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 60 of file vtkColor.h.
◆ SetRed()
Set the red component of the color, i.e.
element 0.
Definition at line 71 of file vtkColor.h.
◆ GetRed()
Get the red component of the color, i.e.
element 0.
Definition at line 76 of file vtkColor.h.
◆ SetGreen()
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 81 of file vtkColor.h.
◆ GetGreen()
Get the green component of the color, i.e.
element 1.
Definition at line 86 of file vtkColor.h.
◆ SetBlue()
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 91 of file vtkColor.h.
◆ GetBlue()
Get the blue component of the color, i.e.
element 2.
Definition at line 96 of file vtkColor.h.
The documentation for this class was generated from the following file: