198 unsigned int hex =
static_cast<unsigned int>(hexSigned);
199 this->
Data[2] = hex & 0xff;
201 this->
Data[1] = hex & 0xff;
203 this->
Data[0] = hex & 0xff;
243 unsigned int hex =
static_cast<unsigned int>(hexSigned);
244 this->
Data[3] = hex & 0xff;
246 this->
Data[2] = hex & 0xff;
248 this->
Data[1] = hex & 0xff;
250 this->
Data[0] = hex & 0xff;
255 unsigned char b,
unsigned char a = 255)
258 vtkColor4<unsigned char>(c[0], c[1], c[2], 255) {}
281 #ifndef VTK_LEGACY_REMOVE
286 return this->GetRed();
293 return this->GetGreen();
300 return this->GetBlue();
307 return this->GetRed();
314 return this->GetGreen();
321 return this->GetBlue();
328 return this->GetAlpha();
330 #endif // VTK_LEGACY_REMOVE
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)
GLboolean GLboolean GLboolean b
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)
#define VTK_LEGACY_REPLACED_BODY(method, version, replace)
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)
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)
#define VTK_LEGACY(method)
vtkColor4(const T &scalar)
GLboolean GLboolean GLboolean GLboolean a
vtkColor4ub(int hexSigned)
void SetBlue(const T &blue)
const T & GetBlue() 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)
const T & GetGreen() const
vtkColor3f(float r, float g, float b)
vtkColor4d(double scalar)