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.
Output Fields¶
self¶
-
name:
self
, type:
SoNode
¶ A node that should be put in front of the
SoGVRVolumeRenderer
Parameter Fields¶
Field Index¶
Allow Bindless Textures : Bool |
Enabled : Bool |
shaderOn : Bool |
Allow Geometry Shader Slicing : Bool |
Freeze Last View Direction : Bool |
Show Octree : Bool |
Correct anisotropy : Bool |
Gradient Computation Method : Enum |
Show subvolume : Bool |
Correct transparency : Bool |
Legacy Mode : Enum |
Show volume border : Bool |
Custom Fragment Shader : String |
Lock Octree Level : Bool |
Show Wire Frame : Bool |
Custom Vertex Shader : String |
Octree Level : Integer |
textureStorageMode : Enum |
Debug Picking : Bool |
Ray Cast Debug Rendering : Bool |
texturingOn : Bool |
Enable Culling : Bool |
Render volume : Bool |
Visible Fields¶
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 |