35#ifndef vtkImageMapToColors_h
36#define vtkImageMapToColors_h
38#include "vtkImagingCoreModule.h"
62 vtkSetMacro(OutputFormat,
int);
63 vtkGetMacro(OutputFormat,
int);
74 vtkSetMacro(ActiveComponent,
int);
75 vtkGetMacro(ActiveComponent,
int);
98 vtkSetVector4Macro(NaNColor,
unsigned char);
99 vtkGetVector4Macro(NaNColor,
unsigned char);
110 int outExt[6],
int id)
override;
123 unsigned char NaNColor[4];
topologically and geometrically regular array of data
map the input image through a lookup table
void SetOutputFormatToLuminance()
Set the output format, the default is RGBA.
vtkScalarsToColors * LookupTable
~vtkImageMapToColors() override
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
vtkMTimeType GetMTime() override
We need to check the modified time of the lookup table too.
void SetOutputFormatToRGB()
Set the output format, the default is RGBA.
static vtkImageMapToColors * New()
vtkTypeBool PassAlphaToOutput
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetLookupTable(vtkScalarsToColors *)
Set the lookup table.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void SetOutputFormatToRGBA()
Set the output format, the default is RGBA.
void SetOutputFormatToLuminanceAlpha()
Set the output format, the default is RGBA.
a simple class to control print indentation
Superclass for mapping scalar values to colors.
Generic filter that has one input.
#define VTK_LUMINANCE_ALPHA
vtkTypeUInt32 vtkMTimeType