72 #ifndef vtkNamedColors_h
73 #define vtkNamedColors_h
75 #include "vtkCommonColorModule.h"
81 class vtkNamedColorsDataStore;
82 class vtkColorStringParser;
105 int GetNumberOfColors();
134 unsigned char & r,
unsigned char & g,
135 unsigned char & b,
unsigned char & a);
170 double & r,
double & g,
double & b,
double & a);
213 double & r,
double & g,
double & b);
247 const unsigned char & r,
const unsigned char & g,
248 const unsigned char & b,
const unsigned char & a = 255);
257 const double & r,
const double & g,
258 const double & b,
const double & a = 1);
268 virtual void SetColor(
const vtkStdString &
name,
const unsigned char rgba[4]);
404 vtkNamedColorsDataStore *Colors;
405 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...