27#ifndef vtkLookupTableManager_h
28#define vtkLookupTableManager_h
31#include "vtkViewsScivisModule.h"
33VTK_ABI_NAMESPACE_BEGIN
101 vtkSetMacro(DefaultColorScheme,
int);
102 vtkGetMacro(DefaultColorScheme,
int);
110 vtkSetMacro(NumberOfTableValues,
int);
111 vtkGetMacro(NumberOfTableValues,
int);
129 vtkInternals* Internals;
131 int DefaultColorScheme;
132 int NumberOfTableValues;
a simple class to control print indentation
void SetLookupTable(const char *arrayName, vtkScalarsToColors *lut)
Use lut for arrayName in place of whatever table the array had.
void RemoveLookupTable(const char *arrayName)
Forget the lookup table of arrayName.
void BuildDefaultLookupTable(vtkLookupTable *lut)
Fill lut with NumberOfTableValues entries interpolated across the colors of DefaultColorScheme.
void RemoveAllLookupTables()
Forget every lookup table.
static vtkLookupTableManager * New()
~vtkLookupTableManager() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMTimeType GetMTime() override
The tables handed out here stay reachable and mutable by their users, so the modified time reported i...
bool HasLookupTable(const char *arrayName)
Whether arrayName already has a lookup table.
const char * GetLookupTableName(int index)
The tables currently held, in name order.
vtkScalarsToColors * GetLookupTable(const char *arrayName)
Get the lookup table for arrayName, creating one from DefaultColorScheme if this is the first time th...
int GetNumberOfLookupTables()
The tables currently held, in name order.
map scalar values into colors via a lookup table
Superclass for mapping scalar values to colors.
vtkTypeUInt32 vtkMTimeType