|
| vtkColor4ub ()=default |
| vtkColor4ub (unsigned char scalar) |
| vtkColor4ub (const unsigned char *init) |
| vtkColor4ub (unsigned char r, unsigned char g, unsigned char b, unsigned char a=255) |
| vtkColor4ub (const vtkColor3ub &c) |
| vtkColor4ub (int hexSigned) |
| Construct a color from a hexadecimal representation such as 0x0000FFAA (opaque blue).
|
| vtkColor4 ()=default |
void | SetRed (const unsigned char &red) |
| Set the red component of the color, i.e.
|
const unsigned char & | GetRed () const |
| Get the red component of the color, i.e.
|
void | SetGreen (const unsigned char &green) |
| Set the green component of the color, i.e.
|
const unsigned char & | GetGreen () const |
| Get the green component of the color, i.e.
|
void | SetBlue (const unsigned char &blue) |
| Set the blue component of the color, i.e.
|
const unsigned char & | GetBlue () const |
| Get the blue component of the color, i.e.
|
void | SetAlpha (const unsigned char &alpha) |
| Set the alpha component of the color, i.e.
|
const unsigned char & | GetAlpha () const |
| Get the alpha component of the color, i.e.
|
void | Set (const unsigned char &red, const unsigned char &green, const unsigned char &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.
|
unsigned char * | GetData () |
| Get a pointer to the underlying data of the tuple.
|
unsigned char & | operator[] (int i) |
| Get a reference to the underlying data element of the tuple.
|
unsigned char | operator() (int i) const |
| Get the value of the tuple at the index specified.
|
bool | Compare (const vtkTuple< unsigned char, Size > &other, const unsigned char &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.
|
Definition at line 264 of file vtkColor.h.