35 #ifndef vtkImageMapToColors_h 36 #define vtkImageMapToColors_h 39 #include "vtkImagingCoreModule.h" 63 vtkSetMacro(OutputFormat,
int);
64 vtkGetMacro(OutputFormat,
int);
75 vtkSetMacro(ActiveComponent,
int);
76 vtkGetMacro(ActiveComponent,
int);
99 vtkSetVector4Macro(NaNColor,
unsigned char);
100 vtkGetVector4Macro(NaNColor,
unsigned char);
115 int extent[6],
int id)
override;
129 unsigned char NaNColor[4];
#define VTK_LUMINANCE_ALPHA
void SetOutputFormatToLuminance()
Set the output format, the default is RGBA.
vtkTypeUInt32 vtkMTimeType
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
void SetOutputFormatToLuminanceAlpha()
Set the output format, the default is RGBA.
vtkScalarsToColors * LookupTable
Superclass for mapping scalar values to colors.
Generic filter that has one input.
a simple class to control print indentation
void SetOutputFormatToRGBA()
Set the output format, the default is RGBA.
topologically and geometrically regular array of data
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
virtual vtkMTimeType GetMTime()
Return this object's modified time.
map the input image through a lookup table
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method.
void SetOutputFormatToRGB()
Set the output format, the default is RGBA.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool PassAlphaToOutput