66 #ifndef vtkNamedColors_h 67 #define vtkNamedColors_h 69 #include "vtkCommonColorModule.h" 75 class vtkNamedColorsDataStore;
76 class vtkColorStringParser;
99 int GetNumberOfColors();
128 unsigned char & r,
unsigned char & g,
129 unsigned char & b,
unsigned char & a);
164 double & r,
double & g,
double & b,
double & a);
207 double & r,
double & g,
double & b);
241 const unsigned char & r,
const unsigned char & g,
242 const unsigned char & b,
const unsigned char & a = 255);
251 const double & r,
const double & g,
252 const double & b,
const double & a = 1);
262 virtual void SetColor(
const vtkStdString &
name,
const unsigned char rgba[4]);
398 vtkNamedColorsDataStore *Colors;
399 vtkColorStringParser* Parser;
Wrapper around std::string to keep symbols short.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A class holding colors and their names.
a vtkAbstractArray subclass for strings
Some derived classes for the different colors commonly used.
a simple class to control print indentation
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...