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

#include <vtkColor.h>

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

Public Member Functions

 vtkColor3ub ()
 
 vtkColor3ub (unsigned char scalar)
 
 vtkColor3ub (const unsigned char *init)
 
 vtkColor3ub (unsigned char r, unsigned char g, unsigned char b)
 
 vtkColor3ub (int hexSigned)
 
- Public Member Functions inherited from vtkColor3< unsigned char >
 vtkColor3 ()
 
 vtkColor3 (const unsigned char &scalar)
 
 vtkColor3 (const unsigned char *init)
 
 vtkColor3 (const unsigned char &red, const unsigned char &green, const unsigned char &blue)
 
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)
 
void Set (const unsigned char &red, const unsigned char &green, const unsigned char &blue)
 
const unsigned char & GetBlue () const
 
- Public Member Functions inherited from vtkTuple< unsigned char, 3 >
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, 3 >
unsigned char Data [Size]
 

Detailed Description

Some derived classes for the different colors commonly used.

Definition at line 162 of file vtkColor.h.

Constructor & Destructor Documentation

vtkColor3ub::vtkColor3ub ( )
inline

Definition at line 165 of file vtkColor.h.

vtkColor3ub::vtkColor3ub ( unsigned char  scalar)
inlineexplicit

Definition at line 166 of file vtkColor.h.

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

Definition at line 168 of file vtkColor.h.

vtkColor3ub::vtkColor3ub ( int  hexSigned)
inlineexplicit

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

Definition at line 175 of file vtkColor.h.

vtkColor3ub::vtkColor3ub ( unsigned char  r,
unsigned char  g,
unsigned char  b 
)
inline

Definition at line 186 of file vtkColor.h.


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