LUTColorAtIndex¶
- MLModule¶
 genre
author
package
dll
definition
keywords
Purpose¶
LUTColorAtValue allows to get a LUT color from LUT point index.
Usage¶
Connect input LUT and chose index to get color and alpha value.
Windows¶
Default Panel¶
Input Fields¶
inLUT¶
- name: inLUT, type: MLBase¶
 Input LUT.
Parameter Fields¶
Field Index¶
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
|
  | 
|
  | 
|
  | 
Visible Fields¶
Update¶
- name: update, type: Trigger¶
 Initiates update of all output field values.
Clear¶
- name: clear, type: Trigger¶
 Clears all output field values to a clean initial state.
On Input Change Behavior¶
- name: onInputChangeBehavior, type: Enum, default: Clear, deprecated name: shouldAutoUpdate,shouldUpdateAutomatically¶
 Declares how the module should react if a value of an input field changes.
Values:
Title  | 
Name  | 
Deprecated Name  | 
|---|---|---|
Update  | 
Update  | 
TRUE  | 
Clear  | 
Clear  | 
FALSE  | 
Status Code¶
- name: statusCode, type: Enum, persistent: no¶
 Reflects module’s status (successful or failed computations) as one of some predefined enumeration values.
Values:
Title  | 
Name  | 
|---|---|
Ok  | 
Ok  | 
Invalid input object  | 
Invalid input object  | 
Invalid input parameter  | 
Invalid input parameter  | 
Internal error  | 
Internal error  | 
Status Message¶
- name: statusMessage, type: String, persistent: no¶
 Gives additional, detailed information about status code as human-readable message.
Has Valid Output¶
- name: hasValidOutput, type: Bool, persistent: no¶
 Indicates validity of output field values (success of computation).
[]¶
- name: updateDone, type: Trigger, persistent: no¶
 Notifies that an update was performed (Check status interface fields to identify success or failure).
Index¶
- name: inIndex, type: Integer, default: 0, minimum: 0, maximum: 0¶
 Index for which the color should be evaluated.
Color¶
- name: outColor, type: Color, default: 1 1 1¶
 Color of the input LUT at the given index.
Alpha¶
- name: outAlpha, type: Double, default: 0¶
 Alpha of the input LUT at the given index.
Number of LUT points¶
- name: outNumLUTPoints, type: Integer, default: 0¶
 Number of LUTFLinear points.