34#ifndef vtkImageQuantizeRGBToIndex_h
35#define vtkImageQuantizeRGBToIndex_h
38#include "vtkImagingColorModule.h"
40VTK_ABI_NAMESPACE_BEGIN
55 vtkSetClampMacro(NumberOfColors,
int, 2, 65536);
56 vtkGetMacro(NumberOfColors,
int);
59 vtkSetVector3Macro(SamplingRate,
int);
60 vtkGetVector3Macro(SamplingRate,
int);
62 vtkSetMacro(SortIndexByLuminance,
bool);
63 vtkGetMacro(SortIndexByLuminance,
bool);
64 vtkBooleanMacro(SortIndexByLuminance,
bool);
74 vtkGetMacro(InitializeExecuteTime,
double);
75 vtkGetMacro(BuildTreeExecuteTime,
double);
76 vtkGetMacro(LookupIndexExecuteTime,
double);
82 vtkGetMacro(InputType,
int);
89 vtkSetMacro(InitializeExecuteTime,
double);
90 vtkSetMacro(BuildTreeExecuteTime,
double);
91 vtkSetMacro(LookupIndexExecuteTime,
double);
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.
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
static vtkImageQuantizeRGBToIndex * New()
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