71 #ifndef vtkNamedColors_h
72 #define vtkNamedColors_h
80 class vtkNamedColorsDataStore;
81 class vtkColorStringParser;
98 int GetNumberOfColors();
118 unsigned char & r,
unsigned char & g,
119 unsigned char & b,
unsigned char & a);
144 double & r,
double & g,
double & b,
double & a);
174 double & r,
double & g,
double & b);
198 const unsigned char & r,
const unsigned char & g,
199 const unsigned char & b,
const unsigned char & a = 255);
207 const double & r,
const double & g,
208 const double & b,
const double & a = 1);
215 virtual void SetColor(
const vtkStdString &
name,
const unsigned char rgba[4]);
299 vtkNamedColorsDataStore *Colors;
300 vtkColorStringParser* Parser;
Wrapper around std::string to keep symbols short.
#define VTKCOMMONCOLOR_EXPORT
abstract base class for most VTK objects
A class holding colors and their names.
a vtkAbstractArray subclass for strings
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation