map the input image through a lookup table
More...
#include <vtkImageMapToColors16.h>
Inherits vtkThreadedImageAlgorithm.
|
| | vtkImageMapToColors16 () |
| |
| | ~vtkImageMapToColors16 () |
| |
| virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
| |
| void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int id) |
| |
| virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
| |
map the input image through a lookup table
The vtkImageMapToColors16 filter will take an input image of any valid scalar type, and map the first component of the image through a lookup table. The result is an image of type VTK_UNSIGNED_CHAR. If the lookup table is not set, or is set to NULL, then the input data will be passed through if it is already of type VTK_UNSIGNED_CHAR.
- See also
- vtkLookupTable vtkScalarsToColors
Definition at line 52 of file vtkImageMapToColors16.h.
◆ Superclass
◆ vtkImageMapToColors16()
| vtkImageMapToColors16::vtkImageMapToColors16 |
( |
| ) |
|
|
protected |
◆ ~vtkImageMapToColors16()
| vtkImageMapToColors16::~vtkImageMapToColors16 |
( |
| ) |
|
|
protected |
◆ New()
◆ GetClassName()
| virtual const char* vtkImageMapToColors16::GetClassName |
( |
| ) |
|
|
virtual |
◆ IsTypeOf()
| static int vtkImageMapToColors16::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ IsA()
| virtual int vtkImageMapToColors16::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ SafeDownCast()
◆ PrintSelf()
| void vtkImageMapToColors16::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ SetLookupTable()
| virtual void vtkImageMapToColors16::SetLookupTable |
( |
vtkScalarsToColors * |
| ) |
|
|
virtual |
◆ GetLookupTable()
| virtual vtkScalarsToColors* vtkImageMapToColors16::GetLookupTable |
( |
| ) |
|
|
virtual |
◆ SetOutputFormat()
| virtual void vtkImageMapToColors16::SetOutputFormat |
( |
int |
| ) |
|
|
virtual |
Set the output format, the default is RGBA.
◆ GetOutputFormat()
| virtual int vtkImageMapToColors16::GetOutputFormat |
( |
| ) |
|
|
virtual |
◆ SetOutputFormatToRGBA()
| void vtkImageMapToColors16::SetOutputFormatToRGBA |
( |
| ) |
|
|
inline |
◆ SetOutputFormatToRGB()
| void vtkImageMapToColors16::SetOutputFormatToRGB |
( |
| ) |
|
|
inline |
◆ SetOutputFormatToLuminanceAlpha()
| void vtkImageMapToColors16::SetOutputFormatToLuminanceAlpha |
( |
| ) |
|
|
inline |
◆ SetOutputFormatToLuminance()
| void vtkImageMapToColors16::SetOutputFormatToLuminance |
( |
| ) |
|
|
inline |
◆ SetActiveComponent()
| virtual void vtkImageMapToColors16::SetActiveComponent |
( |
int |
| ) |
|
|
virtual |
Set the component to map for multi-component images (default: 0)
◆ GetActiveComponent()
| virtual int vtkImageMapToColors16::GetActiveComponent |
( |
| ) |
|
|
virtual |
◆ SetPassAlphaToOutput()
| virtual void vtkImageMapToColors16::SetPassAlphaToOutput |
( |
int |
| ) |
|
|
virtual |
Use the alpha component of the input when computing the alpha component of the output (useful when converting monochrome+alpha data to RGBA)
◆ PassAlphaToOutputOn()
| virtual void vtkImageMapToColors16::PassAlphaToOutputOn |
( |
| ) |
|
|
virtual |
◆ PassAlphaToOutputOff()
| virtual void vtkImageMapToColors16::PassAlphaToOutputOff |
( |
| ) |
|
|
virtual |
◆ GetPassAlphaToOutput()
| virtual int vtkImageMapToColors16::GetPassAlphaToOutput |
( |
| ) |
|
|
virtual |
◆ GetMTime()
| virtual unsigned long vtkImageMapToColors16::GetMTime |
( |
| ) |
|
|
virtual |
We need to check the modified time of the lookup table too.
◆ RequestInformation()
| virtual int vtkImageMapToColors16::RequestInformation |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
◆ ThreadedRequestData()
| void vtkImageMapToColors16::ThreadedRequestData |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector, |
|
|
vtkImageData *** |
inData, |
|
|
vtkImageData ** |
outData, |
|
|
int |
extent[6], |
|
|
int |
id |
|
) |
| |
|
protected |
◆ RequestData()
| virtual int vtkImageMapToColors16::RequestData |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
protectedvirtual |
◆ LookupTable
| vtkScalarsToColors* vtkImageMapToColors16::LookupTable |
|
protected |
◆ OutputFormat
| int vtkImageMapToColors16::OutputFormat |
|
protected |
◆ ActiveComponent
| int vtkImageMapToColors16::ActiveComponent |
|
protected |
◆ PassAlphaToOutput
| int vtkImageMapToColors16::PassAlphaToOutput |
|
protected |
◆ DataWasPassed
| int vtkImageMapToColors16::DataWasPassed |
|
protected |
The documentation for this class was generated from the following file: