SoGVRSecondaryLUT

InventorModule
genre VolRendExtensions
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoGVR
definition soGVR.def
see also SoGVRVolumeRenderer

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

name: inVolume, type: GVRVolume(MLBase)

The GVRVolume that the LUT uses for min/max values (alternative to the image field).

Output Fields

self

name: self, type: SoNode

A node that must be put in front of the SoGVRVolumeRenderer

Parameter Fields

Field Index

Enabled: Bool Scaled Data Min: Integer
Filter Lut: Bool Use Alpha Correction: Bool
Lut Name: String  
Manual Original Data Min Max: Bool  
Manual Scaled Data Min Max: Bool  
Original Data Max: Double  
Original Data Min: Double  
Scaled Data Max: Integer  

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 SoGVRSecondaryVolume and SoGVRTransformedVolume.

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.