69 #ifndef vtkNamedColors_h 70 #define vtkNamedColors_h 72 #include "vtkCommonColorModule.h" 78 class vtkNamedColorsDataStore;
79 class vtkColorStringParser;
102 int GetNumberOfColors();
131 unsigned char & r,
unsigned char & g,
132 unsigned char & b,
unsigned char & a);
167 double & r,
double & g,
double & b,
double & a);
210 double & r,
double & g,
double & b);
244 const unsigned char & r,
const unsigned char & g,
245 const unsigned char & b,
const unsigned char & a = 255);
254 const double & r,
const double & g,
255 const double & b,
const double & a = 1);
265 virtual void SetColor(
const vtkStdString &
name,
const unsigned char rgba[4]);
401 vtkNamedColorsDataStore *Colors;
402 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...