MLToVTKLookupTable

MLModule

genre

VTKAdapters

author

MeVis Medical Solutions AG

package

MeVisLab/VTK

dll

MLVTKAdapters

definition

MLVTKAdapters.def

see also

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

keywords

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

Purpose

The module MLToVTKLookupTable converts an ML lookup table to a vtkLookupTable.

Usage

Looking at the example: The module converts a lookup table from the SoLUTEditor module to a vtkLookupTable. It is then used to modify the coloring of a texture mapped onto a cube.

Modify any of the sample points in the SoLUTEditor to see how the coloring of the textured cube changes. Execute the Python script after each modification.

Windows

Default Panel

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

Input Fields

An ML lookup table object of any of the following visual types: LUT_L, LUT_LA, LUT_RGB, LUT_RGBA.

Output Fields

The Base object containing a vtkLookupTable, which can be connected to VTK modules that use lookup tables.

Parameter Fields

Visible Fields

Number Of Entries

name: numberOfEntries, type: Integer, default: 256

Shows the number of entries detected at the input object and sets it in the output lookup table.

Status

name: status, type: String, persistent: no

Shows whether the connected input object is a valid lookup table and whether it is of a convertible format.