GVRContourOverlay¶
-
MacroModule
¶ genre VolRend
author Christian Rieder
package FMEstable/ReleaseMeVis
definition GVRContourOverlay.def see also SoGVRVolumeRenderer
,SoGVRSecondaryVolume
,GVRContourOverlayExtension
keywords GVR
,scondary
,volume
,mask
,contour
Purpose¶
The GVRContourOverlay
alllows to draw a contour in a GVR volume rendering utilizing the SoGVRSecondaryVolume.
Usage¶
Connect the module before the SoGVRVolumeRenderer module in the scene graph and set a unique name, if you want to use more than one GVRContourOverlay
in the scene.
Details¶
The contour is calculated in a GLSL shader using a 4-neighbourhood in screen coordinates. Thus, zooming in does not affect the contour thickness.
Input Fields¶
Output Fields¶
Parameter Fields¶
Field Index¶
Border Grey Value : Float |
Enabled (enabledTransformation) : Bool |
Use LUT Color : Bool |
Color : Color |
Interior Alpha : Float |
World Center : Vector3 |
Contour Alpha : Float |
Invert Contour : Integer |
World Rotation : Rotation |
Contour Iso Value : Float |
Modify World Coordinates : Bool |
World Scale : Vector3 |
Contour Thickness : Float |
Name : String |
|
Custom World To Voxel Matrix : Matrix |
Replace World To Voxel Matrix : Bool |
|
Enable merge mode : Bool |
Transform Mode : Enum |
|
Enabled (enabled) : Bool |
Use Border Grey Value : Bool |
Visible Fields¶
Enabled (enabled)¶
-
name:
enabled
, type:
Bool
, default:
TRUE
¶ Defines if the mask (secondary volume) is enabled.
Name¶
-
name:
volumeName
, type:
String
, default:
MyContour
¶ Defines the unique name that will be used to address this volume.
Interior Alpha¶
-
name:
interiorAlpha
, type:
Float
, default:
0.30000001
, minimum:
0
, maximum:
1
¶ Defines the interior alpha value.
Contour Alpha¶
-
name:
contourAlpha
, type:
Float
, default:
1
, minimum:
0
, maximum:
1
¶ Defines the contour alpha value.
Contour Thickness¶
-
name:
contourThickness
, type:
Float
, default:
2
, minimum:
0
, maximum:
8
¶ Defines the contour thickness.
Contour Iso Value¶
-
name:
contourIsoValue
, type:
Float
, default:
0.5
, minimum:
0
, maximum:
1
¶ Defines the relative iso value the contour to be drawn.
Enabled (enabledTransformation)¶
-
name:
enabledTransformation
, type:
Bool
, default:
FALSE
¶ Enables transformation.
Transform Mode¶
-
name:
transformMode
, type:
Enum
, default:
UseWorldCoordinates
¶ Select world coordinates or scale to image.
Modify World Coordinates¶
-
name:
modifyWorldCoordinates
, type:
Bool
, default:
FALSE
¶ Enable the additional transforms.
Replace World To Voxel Matrix¶
-
name:
replaceWorldToVoxelMatrix
, type:
Bool
, default:
FALSE
¶ Enable the use of the transformation matrix.
World Center¶
-
name:
worldCenter
, type:
Vector3
, default:
32 32 32
¶ Defines the new world center of the mask volume, takes the center of the mask volume and moves it to the new center.
World Rotation¶
-
name:
worldRotation
, type:
Rotation
, default:
0 0 1 3.14159274101257
¶ Defines the additional rotation (around the center of the volume).
Custom World To Voxel Matrix¶
-
name:
customWorldToVoxelMatrix
, type:
Matrix
, default:
1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1
¶ Defines the world transformation with a matrix.