SoGVROptimizations

InventorModule

genre

VolRendExtensions

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

SoGVR

definition

soGVR.def

see also

SoGVRVolumeRenderer

Purpose

The SoGVROptimizations module allows for setting the optimization settings of the SoGVRVolumeRenderer. This is typically required when creating custom shaders to disable/enable optimizations depending on the shader requirements and for debugging of GVR optimizations (to see if an optimization is the reason for a problem).

Output Fields

self

name: self, type: SoNode

A node that should be put in front of the SoGVRVolumeRenderer

Parameter Fields

Field Index

Allow Empty Tag Images: Enum

Allow Specialized Per Tag Effect Shaders: Enum

Enabled: Bool

Handles Clip Planes In Shader: Enum

Requires Gradient Textures: Enum

Requires Gradients: Enum

Use LUTHistogram For Node Visibility Check: Enum

Visible Fields

Enabled

name: enabled, type: Bool, default: TRUE

If checked, the settings are enabled.

Requires Gradients

name: requiresGradients, type: Enum, default: GVR_AUTO

Defines whether gradients are needed.

Requires Gradient Textures

name: requiresGradientTextures, type: Enum, default: GVR_AUTO

Defines whether a gradient texture is needed.

Values:

Title

Name

​Auto

​GVR_AUTO

​On

​GVR_ON

​Off

​GVR_OFF

Handles Clip Planes In Shader

name: handlesClipPlanesInShader, type: Enum, default: GVR_AUTO

Defines whether the shader handles the clip planes.

Use LUTHistogram For Node Visibility Check

name: useLUTHistogramForNodeVisibilityCheck, type: Enum, default: GVR_AUTO

Defines the visibility checking; this depends on the LUT min/max and histogram.

Allow Empty Tag Images

name: allowEmptyTagImages, type: Enum, default: GVR_AUTO

Defines whether empty tag volume octree nodes are allowed.

Allow Specialized Per Tag Effect Shaders

name: allowSpecializedPerTagEffectShaders, type: Enum, default: GVR_AUTO

Defines wheter per-tag shading should be used.