map the input image through a lookup table
More...
#include <vtkImageMapToColors.h>
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkImageMapToColors () |
|
| ~vtkImageMapToColors () |
|
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 vtkImageMapToColors 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
- Examples:
- vtkImageMapToColors (Examples)
- Tests:
- vtkImageMapToColors (Tests)
Definition at line 43 of file vtkImageMapToColors.h.
vtkImageMapToColors::vtkImageMapToColors |
( |
| ) |
|
|
protected |
vtkImageMapToColors::~vtkImageMapToColors |
( |
| ) |
|
|
protected |
static int vtkImageMapToColors::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkImageMapToColors::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkImageMapToColors::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkImageMapToColors::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkImageMapToColors::SetLookupTable |
( |
vtkScalarsToColors * |
| ) |
|
|
virtual |
virtual vtkScalarsToColors* vtkImageMapToColors::GetLookupTable |
( |
| ) |
|
|
virtual |
virtual void vtkImageMapToColors::SetOutputFormat |
( |
int |
| ) |
|
|
virtual |
Set the output format, the default is RGBA.
virtual int vtkImageMapToColors::GetOutputFormat |
( |
| ) |
|
|
virtual |
Set the output format, the default is RGBA.
void vtkImageMapToColors::SetOutputFormatToRGBA |
( |
| ) |
|
|
inline |
void vtkImageMapToColors::SetOutputFormatToRGB |
( |
| ) |
|
|
inline |
void vtkImageMapToColors::SetOutputFormatToLuminanceAlpha |
( |
| ) |
|
|
inline |
void vtkImageMapToColors::SetOutputFormatToLuminance |
( |
| ) |
|
|
inline |
virtual void vtkImageMapToColors::SetActiveComponent |
( |
int |
| ) |
|
|
virtual |
Set the component to map for multi-component images (default: 0)
virtual int vtkImageMapToColors::GetActiveComponent |
( |
| ) |
|
|
virtual |
Set the component to map for multi-component images (default: 0)
virtual void vtkImageMapToColors::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)
virtual void vtkImageMapToColors::PassAlphaToOutputOn |
( |
| ) |
|
|
virtual |
Use the alpha component of the input when computing the alpha component of the output (useful when converting monochrome+alpha data to RGBA)
virtual void vtkImageMapToColors::PassAlphaToOutputOff |
( |
| ) |
|
|
virtual |
Use the alpha component of the input when computing the alpha component of the output (useful when converting monochrome+alpha data to RGBA)
virtual int vtkImageMapToColors::GetPassAlphaToOutput |
( |
| ) |
|
|
virtual |
Use the alpha component of the input when computing the alpha component of the output (useful when converting monochrome+alpha data to RGBA)
virtual unsigned long vtkImageMapToColors::GetMTime |
( |
| ) |
|
|
virtual |
We need to check the modified time of the lookup table too.
virtual int vtkImageMapToColors::RequestInformation |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
void vtkImageMapToColors::ThreadedRequestData |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector, |
|
|
vtkImageData *** |
inData, |
|
|
vtkImageData ** |
outData, |
|
|
int |
extent[6], |
|
|
int |
id |
|
) |
| |
|
protected |
virtual int vtkImageMapToColors::RequestData |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
protectedvirtual |
vtkScalarsToColors* vtkImageMapToColors::LookupTable |
|
protected |
int vtkImageMapToColors::OutputFormat |
|
protected |
int vtkImageMapToColors::ActiveComponent |
|
protected |
int vtkImageMapToColors::PassAlphaToOutput |
|
protected |
int vtkImageMapToColors::DataWasPassed |
|
protected |
The documentation for this class was generated from the following file: