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)
237 vtkColor4<unsigned char>(c[0], c[1], c[2], 255) {}
vtkColor3f(const float *init)
void SetAlpha(const T &alpha)
vtkColor3(const T &scalar)
vtkColor4ub(const vtkColor3ub &c)
GLboolean GLboolean GLboolean b
const T & GetBlue() const
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)
void SetBlue(const T &blue)
vtkColor3ub(int hexSigned)
vtkColor4ub(const unsigned char *init)
vtkColor3ub(unsigned char r, unsigned char g, unsigned char b)
GLdouble GLdouble GLdouble r
vtkColor4ub(unsigned char scalar)
vtkColor3d(double scalar)
void SetGreen(const T &green)
void SetRed(const T &red)
void SetRed(const T &red)
const T & GetBlue() const
void Set(const T &red, const T &green, const T &blue)
templated base type for containers of constant size.
const T & GetAlpha() const
const T & GetGreen() const
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)
GLboolean GLboolean GLboolean GLboolean a
vtkColor4ub(int hexSigned)
void SetBlue(const T &blue)
const T & GetGreen() const
GLclampf GLclampf GLclampf alpha
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)
vtkColor3f(float r, float g, float b)
vtkColor4d(double scalar)