48 vtkColor3(
const T& red,
const T& green,
const T& blue)
51 this->
Data[1] = green;
57 void Set(
const T& red,
const T& green,
const T& blue)
60 this->
Data[1] = green;
107 this->
Data[1] = green;
108 this->
Data[2] = blue;
114 void Set(
const T& red,
const T& green,
const T& blue)
117 this->
Data[1] = green;
118 this->
Data[2] = blue;
124 void Set(
const T& red,
const T& green,
const T& blue,
const T&
alpha)
127 this->
Data[1] = green;
128 this->
Data[2] = blue;
177 unsigned int hex =
static_cast<unsigned int>(hexSigned);
178 this->
Data[2] = hex & 0xff;
180 this->
Data[1] = hex & 0xff;
182 this->
Data[0] = hex & 0xff;
222 unsigned int hex =
static_cast<unsigned int>(hexSigned);
223 this->
Data[3] = hex & 0xff;
225 this->
Data[2] = hex & 0xff;
227 this->
Data[1] = hex & 0xff;
229 this->
Data[0] = hex & 0xff;
234 unsigned char b,
unsigned char a = 255)
235 :
vtkColor4<unsigned char>(r, g, b, a) {}
237 vtkColor4<unsigned char>(c[0], c[1], c[2], 255) {}
const T & GetGreen() const
vtkColor3f(const float *init)
void SetAlpha(const T &alpha)
vtkColor3(const T &scalar)
const T & GetAlpha() const
vtkColor4ub(const vtkColor3ub &c)
vtkColor3(const T &red, const T &green, const T &blue)
void Set(const T &red, const T &green, const T &blue, const T &alpha)
void SetGreen(const T &green)
vtkColor3d(const double *init)
const T & GetBlue() const
void SetBlue(const T &blue)
vtkColor3ub(int hexSigned)
vtkColor4ub(const unsigned char *init)
vtkColor3ub(unsigned char r, unsigned char g, unsigned char b)
vtkColor4ub(unsigned char scalar)
vtkColor3d(double scalar)
void SetGreen(const T &green)
void SetRed(const T &red)
void SetRed(const T &red)
void Set(const T &red, const T &green, const T &blue)
templated base type for containers of constant size.
vtkColor3d(double r, double g, double b)
vtkColor4ub(unsigned char r, unsigned char g, unsigned char b, unsigned char a=255)
vtkColor3ub(const unsigned char *init)
vtkColor4d(double r, double g, double b, double a=1.0)
void Set(const T &red, const T &green, const T &blue)
vtkColor3ub(unsigned char scalar)
vtkColor4f(const float *init)
vtkColor4(const T &scalar)
vtkColor4ub(int hexSigned)
void SetBlue(const T &blue)
const T & GetBlue() const
vtkColor4(const T &red, const T &green, const T &blue, const T &alpha)
vtkColor4f(float r, float g, float b, float a=1.0)
vtkColor4d(const double *init)
const T & GetGreen() const
vtkColor3f(float r, float g, float b)
vtkColor4d(double scalar)