Purpose

Converts a LUTFLinear base object to a vtkPiecewieseFunction 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/MLToVTKPiecewiseFunction._default.png

Input Fields

inLUTFLinear

name: inLUTFLinear, type: MLBase

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

Output Fields

outputPiecewiseFunction

name: outputPiecewiseFunction, type: MLBase

This will be a NULL object if no valid LUTFLinear is connected to the input, otherwise it will be a vtkPiecewiseFunction object.

Parameter Fields

Visible Fields

Status

name: status, type: String, default: Input is invalid

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