GVRContourOverlayExtension

MacroModule
genre VolRend
author Christian Rieder
package FMEstable/ReleaseMeVis
definition GVRMacros.def
see also SoGVRVolumeRenderer, SoGVRSecondaryVolume, GVRContourOverlay
keywords GVR, scondary, volume, mask, contour, extension

Purpose

Draws additional contours for GVRContourOverlay

Usage

Connect the module before the GVRContourOverly in the scene graph and specify name and ID.

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.

Windows

Default Panel

../../../Projects/GVRContourOverlay/Modules/mhelp/Images/Screenshots/GVRContourOverlayExtension._default.png

Output Fields

outGVRSecondaryVolume

name: outGVRSecondaryVolume, type: SoNode

A node that should be put in front of the GVRContourOverlay.

Parameter Fields

Field Index

Color: Color Name: String
Contour Alpha: Float  
Contour Iso Value: Float  
contourSmoothness: Float  
contourThickness: Float  
Enabled: Bool  
ID: String  
Interior Alpha: Float  

Visible Fields

Enabled

name: enabled, type: Bool, default: TRUE

Defines if the contour is enabled.

Name

name: volumeName, type: String, default: Lesion

Defines the name of the GVRContourOverlay the contour will be added.

ID

name: ID, type: String, default: 0

Defines the unique ID that will be used to address this contour.

Color

name: color, type: Color, default: 1 0.329411774873734 0

Defines the color of the countour.

Interior Alpha

name: interiorAlpha, type: Float, default: 0.5, 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 Iso Value

name: contourIsoValue, type: Float, default: 0.80000001, minimum: 0, maximum: 1

Defines the relative iso value the contour to be drawn.

Hidden Fields

contourThickness

name: contourThickness, type: Float, default: 3, minimum: 0, maximum: 8

contourSmoothness

name: contourSmoothness, type: Float, default: 0.001, minimum: 0, maximum: 1