#include <vtkColor.h>
|
| vtkColor3f ()=default |
| vtkColor3f (float scalar) |
| vtkColor3f (const float *init) |
| vtkColor3f (float r, float g, float b) |
| vtkColor3 ()=default |
void | SetRed (const float &red) |
| Set the red component of the color, i.e.
|
const float & | GetRed () const |
| Get the red component of the color, i.e.
|
void | SetGreen (const float &green) |
| Set the green component of the color, i.e.
|
const float & | GetGreen () const |
| Get the green component of the color, i.e.
|
void | SetBlue (const float &blue) |
| Set the blue component of the color, i.e.
|
const float & | GetBlue () const |
| Get the blue component of the color, i.e.
|
void | Set (const float &red, const float &green, const float &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.
|
float * | GetData () |
| Get a pointer to the underlying data of the tuple.
|
float & | operator[] (int i) |
| Get a reference to the underlying data element of the tuple.
|
float | operator() (int i) const |
| Get the value of the tuple at the index specified.
|
bool | Compare (const vtkTuple< float, Size > &other, const float &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.
|
|
float | Data [Size] |
| The only thing stored in memory!
|
Definition at line 228 of file vtkColor.h.
◆ vtkColor3f() [1/4]
vtkColor3f::vtkColor3f |
( |
| ) |
|
|
default |
◆ vtkColor3f() [2/4]
vtkColor3f::vtkColor3f |
( |
float | scalar | ) |
|
|
inlineexplicit |
◆ vtkColor3f() [3/4]
vtkColor3f::vtkColor3f |
( |
const float * | init | ) |
|
|
inlineexplicit |
◆ vtkColor3f() [4/4]
vtkColor3f::vtkColor3f |
( |
float | r, |
|
|
float | g, |
|
|
float | b ) |
|
inline |
The documentation for this class was generated from the following file: