SoGVRDebug

InventorModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoGVR
definition soGVR.def

Purpose

The SoGVRDebug module allows for changing various settings of a SoGVRVolumeRenderer and may be used for debugging the renderer and render modes.

It should only be utilized for testing purposes. Most settings are enabled by default, and it only makes sense to disable them when you intend to perform debugging.

Tips

Do not use it in production networks, as it will change over time, and no guarantees are made that it will remain consistent.

Windows

Default Panel

../../../Modules/Inventor/SoGVR/mhelp/Images/Screenshots/SoGVRDebug._default.png

Output Fields

self

name: self, type: SoNode

A node that should be put in front of the SoGVRVolumeRenderer

Parameter Fields

Visible Fields

Enabled

name: enabled, type: Bool, default: TRUE

If checked, the debug extension is enabled.

Freeze Last View Direction

name: freezeLastViewDirection, type: Bool, default: FALSE

If checked, the last viewing direction is “frozen” and can be used to debug the slicer.

Allow Geometry Shader Slicing

name: allowGeometryShaderSlicing, type: Bool, default: FALSE

If checked, the slicer uses the geometry shader (GPU) to perform the slicing instead of the CPU.

Allow Bindless Textures

name: allowBindlessTextures, type: Bool, default: FALSE

If checked and supported by the hardware, bindless textures are utilized, and the texture unit limit no longer applies to LUTs and transformed volumes.

Custom Fragment Shader

name: customGLSLShader, type: String

Sets a custom fragment shader solely for debugging purposes.

This should not be used in production code. See SoGVRShaderDiagnosis.

Custom Vertex Shader

name: customGLSLVertexShader, type: String

Sets a custom vertex shader solely for debugging purposes.

This should not be used in production code. See SoGVRShaderDiagnosis.

Ray Cast Debug Rendering

name: rayCastDebugRendering, type: Bool, default: FALSE

If checked, the entry and exit ray cast textures, along with the previous depth buffer, are rendered as small overlays.

Debug Picking

name: debugPicking, type: Bool, default: FALSE

If checked, additional picking debug geometry is rendered.

Show Octree

name: showOctree, type: Bool, default: FALSE

If checked, the octree is rendered as node boxes.

This feature is only available in the slicer, not in the ray caster.

Show Wire Frame

name: showWireFrame, type: Bool, default: FALSE

If checked, the slicer renders in wireframe mode to facilitate debugging of the slicing.

Render volume

name: showVolume, type: Bool, default: TRUE

If checked, the volume is rendered, which is the default behavior.

Show volume border

name: showBorder, type: Bool, default: FALSE

Deprecated, use SoGVRDecoration instead.

Show subvolume

name: showSubVolume, type: Bool, default: FALSE

Deprecated, use SoGVRDecoration instead.

Enable Culling

name: enableCulling, type: Bool, default: TRUE

If checked, octree nodes are culled based on the current camera position.

Correct anisotropy

name: correctAnisotropy, type: Bool, default: TRUE

If checked, the sampling rate for anisotropic datasets is adjusted according to the viewing direction.

Correct transparency

name: correctAlpha, type: Bool, default: TRUE

If checked, the alpha of the LUTs is adjusted according to the sampling rate.

Lock Octree Level

name: lockOctreeLevel, type: Bool, default: FALSE

If checked, this allows for rendering a specific level of the octree.

Octree Level

name: octreeLevel, type: Integer, default: 0

Sets the octree level to be rendered if Lock Octree Level is enabled.

If the specified level does not exist, the largest existing level is used instead.

Gradient Computation Method

name: gradientComputationMethod, type: Enum, default: GradientMethodSobel

Defines the gradient computation mode for precomputed gradients.

Values:

Title Name
Sobel GradientMethodSobel
Forward Differences GradientMethodForwardDifferences
Central Differences GradientMethodCentralDifferences

Legacy Mode

name: legacyMode, type: Enum, default: LegacyRendererOff

Defines the legacy render mode to be used.

Values:

Title Name Description
Off LegacyRendererOff Legacy rendering off.
Texture3D LegacyRendererTexture3D Render a single volume with 3D textures without shaders.

Hidden Fields

shaderOn

name: shaderOn, type: Bool, default: TRUE

texturingOn

name: texturingOn, type: Bool, default: TRUE

textureStorageMode

name: textureStorageMode, type: Enum, default: TexStorage_Auto

Values:

Title Name
Auto TexStorage_Auto
Per Node TexStorage_PerNode
Whole Volume TexStorage_WholeVolume
Bricked TexStorage_Bricked