VTK
Public Member Functions | List of all members
vtkColor4ub Class Reference

#include <vtkColor.h>

Inheritance diagram for vtkColor4ub:
[legend]
Collaboration diagram for vtkColor4ub:
[legend]

Public Member Functions

 vtkColor4ub ()
 
 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)
 
- Public Member Functions inherited from vtkColor4< unsigned char >
 vtkColor4 ()
 
 vtkColor4 (const unsigned char &scalar)
 
 vtkColor4 (const unsigned char *init)
 
 vtkColor4 (const unsigned char &red, const unsigned char &green, const unsigned char &blue, const unsigned char &alpha)
 
void SetRed (const unsigned char &red)
 
const unsigned char & GetRed () const
 
void SetGreen (const unsigned char &green)
 
const unsigned char & GetGreen () const
 
void SetBlue (const unsigned char &blue)
 
const unsigned char & GetBlue () const
 
void SetAlpha (const unsigned char &alpha)
 
void Set (const unsigned char &red, const unsigned char &green, const unsigned char &blue)
 
void Set (const unsigned char &red, const unsigned char &green, const unsigned char &blue, const unsigned char &alpha)
 
const unsigned char & GetAlpha () const
 
- Public Member Functions inherited from vtkTuple< unsigned char, 4 >
int GetSize () const
 
 vtkTuple ()
 
 vtkTuple (const unsigned char &scalar)
 
 vtkTuple (const unsigned char *init)
 
unsigned char * GetData ()
 
const unsigned char * GetData () const
 
unsigned char & operator[] (int i)
 
const unsigned char & operator[] (int i) const
 
unsigned char operator() (int i) const
 
bool Compare (const vtkTuple< unsigned char, Size > &other, const unsigned char &tol) const
 
vtkTuple< TR, Size > Cast () const
 

Additional Inherited Members

- Protected Attributes inherited from vtkTuple< unsigned char, 4 >
unsigned char Data [Size]
 

Detailed Description

Definition at line 208 of file vtkColor.h.

Constructor & Destructor Documentation

vtkColor4ub::vtkColor4ub ( )
inline

Definition at line 211 of file vtkColor.h.

vtkColor4ub::vtkColor4ub ( unsigned char  scalar)
inlineexplicit

Definition at line 212 of file vtkColor.h.

vtkColor4ub::vtkColor4ub ( const unsigned char *  init)
inlineexplicit

Definition at line 214 of file vtkColor.h.

vtkColor4ub::vtkColor4ub ( int  hexSigned)
inlineexplicit

Construct a color from a hexadecimal representation such as 0x0000FFAA (opaque blue).

Definition at line 220 of file vtkColor.h.

vtkColor4ub::vtkColor4ub ( unsigned char  r,
unsigned char  g,
unsigned char  b,
unsigned char  a = 255 
)
inline

Definition at line 233 of file vtkColor.h.

vtkColor4ub::vtkColor4ub ( const vtkColor3ub c)
inline

Definition at line 236 of file vtkColor.h.


The documentation for this class was generated from the following file: