SoGVRSecondaryLUT¶
- InventorModule¶
genre
author
package
dll
definition
see also
Purpose¶
The SoGVRSecondaryLUT module allows for setting an additional LUT for the SoGVRVolumeRenderer module. The LUT is available in the GLSL shader and can be used by SoGVRSecondaryVolume and SoGVRTransformedVolume via its name. The module requires either a valid input image/octree volume or manually supplied min/max values because it needs to request the LUT data in a range that matches the range of the incoming dataset so that the lookup in the GLSL shader will work correctly.
Input Fields¶
inLUT¶
- name: inLUT, type: LUTFunction(MLBase)¶
The input LUT.
image¶
- name: image, type: Image¶
The image that the LUT uses for min/max values.
inVolume¶
Output Fields¶
self¶
- name: self, type: SoNode¶
A node that must be put in front of the
SoGVRVolumeRenderer
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
Visible Fields¶
Enabled¶
- name: enabled, type: Bool, default: TRUE¶
If checked, the LUT is enabled.
Lut Name¶
- name: lutName, type: String, default: secondaryLut¶
Sets the name of the LUT.
This name defines the texture sampler in GLSL and is used in the
SoGVRSecondaryVolumeandSoGVRTransformedVolume.
Filter Lut¶
- name: filterLut, type: Bool, default: TRUE¶
If checked, linear filtering of the LUT is enabled.
Manual Scaled Data Min Max¶
- name: manualScaledDataMinMax, type: Bool, default: FALSE¶
If checked, manual scaling of the LUT is enabled.
Scaled Data Min¶
- name: scaledDataMin, type: Integer, default: 0¶
Sets the scaled data minimum value.
Scaled Data Max¶
- name: scaledDataMax, type: Integer, default: 255¶
Sets the scaled data maximum value.
Manual Original Data Min Max¶
- name: manualOriginalDataMinMax, type: Bool, default: FALSE¶
If checked, the setting of manual original data min/max values is enabled. Otherwise, the input image is used.
Original Data Min¶
- name: originalDataMin, type: Double, default: 0¶
Sets the minimum value of original data.
Original Data Max¶
- name: originalDataMax, type: Double, default: 4095¶
Sets the maximum value of original data.
Use Alpha Correction¶
- name: useAlphaCorrection, type: Bool, default: TRUE¶
If checked, alpha correction of the LUT is enabled.
This way, the LUT’s alpha is adapted to the slice distance when rendering.