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 (unsigned char r=0, unsigned char g=0, unsigned char b=0, unsigned char a=255)
 
 vtkColor4ub (const unsigned char *init)
 
 vtkColor4ub (const vtkColor3ub &c)
 
- Public Member Functions inherited from vtkColor4< unsigned char >
 vtkColor4 (const unsigned char &red=0, const unsigned char &green=0, const unsigned char &blue=0, const unsigned char &alpha=0)
 
 vtkColor4 (const unsigned char *init)
 
void SetRed (const unsigned char &red)
 
void SetGreen (const unsigned char &green)
 
void SetBlue (const unsigned char &blue)
 
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 & GetRed () const
 
const unsigned char & Red () const
 
const unsigned char & GetGreen () const
 
const unsigned char & Green () const
 
const unsigned char & GetBlue () const
 
const unsigned char & Blue () const
 
const unsigned char & GetAlpha () const
 
const unsigned char & Alpha () const
 
- Public Member Functions inherited from vtkVector< unsigned char, 4 >
 vtkVector ()
 
 vtkVector (const unsigned char *init)
 
int GetSize () const
 
unsigned char operator() (int i) const
 
unsigned char * GetData ()
 
const unsigned char * GetData () const
 
unsigned char & operator[] (int i)
 
const unsigned char & operator[] (int i) const
 
vtkVector< TR, Size > Cast () const
 

Additional Inherited Members

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

Detailed Description

Definition at line 188 of file vtkColor.h.

Constructor & Destructor Documentation

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

Definition at line 191 of file vtkColor.h.

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

Definition at line 194 of file vtkColor.h.

vtkColor4ub::vtkColor4ub ( const vtkColor3ub c)
inline

Definition at line 196 of file vtkColor.h.


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