MLToVTKColorTransferFunction

MLModule

genre

VTKAdapters

author

MeVis Medical Solutions AG

package

MeVisLab/VTK

dll

MLVTKAdapters

definition

MLVTKAdapters.def

see also

SoVTK, MLToVTKArray, VTKToMLImage, MLToVTKImage, VTKToMLLookupTable, MLToVTKPiecewiseFunction, MLBaseToVTKPolyData, VTKView, WEMToVTKPolyData, VTKPolyDataToWEM

keywords

convert, ML, VTK, LUT, transfer, function, translate, lookuptable

Purpose

The module MLToVTKColorTransferFunction converts a LUTFLinear Base object to a vtkColorTransferFunction object.

At least two entries must be in the input table for a successful conversion; otherwise, the output is invalidated. Only the first channel of the input table is converted; all other channels are ignored.

Windows

Default Panel

../../../Modules/ML/MLVTKAdapters/mhelp/Images/Screenshots/MLToVTKColorTransferFunction._default.png

Input Fields

inLUTFLinear

name: inLUTFLinear, type: LUTFLinear(MLBase)

The input must be an LUTFLinear Base object, for example, as it is created from a SoLUTEditor.

Output Fields

outputColorTransferFunction

name: outputColorTransferFunction, type: VTKObjectWrapper(MLBase)

This will be a vtkColorTransferFunction object and will be a NULL object if no valid LUTFLinear is connected to the input.

Parameter Fields

Visible Fields

Status

name: status, type: String, persistent: no

Shows whether a valid input object is connected or an error message otherwise.