View2DIsoContourShader

MacroModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition View2DIsoContourShader.def
keywords overlay, mpr

Purpose

The View2DIsoContourShader allows for rendering the contour lines at a given iso-value using a shader.

The contours are rendered implicitly, without creating an explicit line representation, allowing the iso-value to be changed interactively.

The module works on any reformatted view, since it uses a SoView2DOverlayMPR internally.

Input Fields

input0

name: input0, type: Image

Output Fields

nodeOut0

name: nodeOut0, type: SoNode

Parameter Fields

Field Index

Alpha Factor: Float
Color: Color
Enable: Bool
Iso Value: Float
Thickness: Float

Visible Fields

Enable

name: enable, type: Bool, default: TRUE

If checked, rendering is enabled.

Iso Value

name: isoValue, type: Float, default: 200

Sets the iso-value, specified in the input image range.

Thickness

name: thickness, type: Float, default: 1, minimum: 0.5, maximum: 6

Sets the thickness of the contour.

Color

name: color, type: Color, default: 0.333333343267441 0.666666686534882 1

Sets the color of the contour.

Alpha Factor

name: alphaFactor, type: Float, default: 1, minimum: 0, maximum: 1

Sets the blending alpha factor of the contour.