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 to set 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 should 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

Enables the LUT

Lut Name

name: lutName, type: String, default: secondaryLut

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

Enables linear filtering of the LUT.

Manual Scaled Data Min Max

name: manualScaledDataMinMax, type: Bool, default: FALSE

Enables manual scaling of the LUT.

Scaled Data Min

name: scaledDataMin, type: Integer, default: 0

Defines the scaled data min value.

Scaled Data Max

name: scaledDataMax, type: Integer, default: 255

Defines the scaled data max value.

Manual Original Data Min Max

name: manualOriginalDataMinMax, type: Bool, default: FALSE

Enables manual original data min/max values (otherwise the input image is used).

Original Data Min

name: originalDataMin, type: Double, default: 0

Min value of original data.

Original Data Max

name: originalDataMax, type: Double, default: 4095

Max value of original data.

Use Alpha Correction

name: useAlphaCorrection, type: Bool, default: TRUE

Enables alpha correction on the LUT (so that the LUT’s alpha is adapted to the slice distance when rendering).