43 #ifndef vtkImageQuantizeRGBToIndex_h
44 #define vtkImageQuantizeRGBToIndex_h
47 #include "vtkImagingColorModule.h"
49 VTK_ABI_NAMESPACE_BEGIN
64 vtkSetClampMacro(NumberOfColors,
int, 2, 65536);
65 vtkGetMacro(NumberOfColors,
int);
68 vtkSetVector3Macro(SamplingRate,
int);
69 vtkGetVector3Macro(SamplingRate,
int);
71 vtkSetMacro(SortIndexByLuminance,
bool);
72 vtkGetMacro(SortIndexByLuminance,
bool);
73 vtkBooleanMacro(SortIndexByLuminance,
bool);
83 vtkGetMacro(InitializeExecuteTime,
double);
84 vtkGetMacro(BuildTreeExecuteTime,
double);
85 vtkGetMacro(LookupIndexExecuteTime,
double);
91 vtkGetMacro(InputType,
int);
98 vtkSetMacro(InitializeExecuteTime,
double);
99 vtkSetMacro(BuildTreeExecuteTime,
double);
100 vtkSetMacro(LookupIndexExecuteTime,
double);
127 VTK_ABI_NAMESPACE_END
Generic algorithm superclass for image algs.
generalized histograms up to 4 dimensions
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageQuantizeRGBToIndex * New()
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
double LookupIndexExecuteTime
vtkImageQuantizeRGBToIndex()
bool SortIndexByLuminance
double BuildTreeExecuteTime
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
double InitializeExecuteTime
vtkLookupTable * LookupTable
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.
~vtkImageQuantizeRGBToIndex() override
a simple class to control print indentation
map scalar values into colors via a lookup table