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 (unsigned char r=0, unsigned char g=0, unsigned char b=0)
 
 vtkColor3ub (const unsigned char *init)
 
- Public Member Functions inherited from vtkColor3< unsigned char >
 vtkColor3 (const unsigned char &red=0, const unsigned char &green=0, const unsigned char &blue=0)
 
 vtkColor3 (const unsigned char *init)
 
void SetRed (const unsigned char &red)
 
void SetGreen (const unsigned char &green)
 
void SetBlue (const unsigned char &blue)
 
void Set (const unsigned char &red, const unsigned char &green, const unsigned char &blue)
 
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
 
- Public Member Functions inherited from vtkVector< unsigned char, 3 >
 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, 3 >
unsigned char Data [Size]
 

Detailed Description

Some derived classes for the different vectors and colors commonly used.

Definition at line 162 of file vtkColor.h.

Constructor & Destructor Documentation

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

Definition at line 165 of file vtkColor.h.

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

Definition at line 167 of file vtkColor.h.


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