 |
VTK
9.1.0
|
Go to the documentation of this file.
138 #ifndef vtkImageMapToColors_h
139 #define vtkImageMapToColors_h
141 #include "vtkImagingCoreModule.h"
165 vtkSetMacro(OutputFormat,
int);
166 vtkGetMacro(OutputFormat,
int);
177 vtkSetMacro(ActiveComponent,
int);
178 vtkGetMacro(ActiveComponent,
int);
201 vtkSetVector4Macro(NaNColor,
unsigned char);
202 vtkGetVector4Macro(NaNColor,
unsigned char);
213 int outExt[6],
int id)
override;
226 unsigned char NaNColor[4];
void SetOutputFormatToLuminance()
Set the output format, the default is RGBA.
vtkTypeBool PassAlphaToOutput
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageMapToColors * New()
Generic filter that has one input.
map the input image through a lookup table
vtkScalarsToColors * LookupTable
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
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.
topologically and geometrically regular array of data
a simple class to control print indentation
~vtkImageMapToColors() override
Superclass for mapping scalar values to colors.
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,...
virtual void SetLookupTable(vtkScalarsToColors *)
Set the lookup table.
#define VTK_LUMINANCE_ALPHA
void SetOutputFormatToLuminanceAlpha()
Set the output format, the default is RGBA.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkTypeUInt32 vtkMTimeType
void SetOutputFormatToRGBA()
Set the output format, the default is RGBA.