SoFiberVis

InventorModule
genre DTIVisualization
authors Olaf Konrad, Alexander Köhn, Jan Klein
package FMEwork/Release
dll SoFiberVis
definition SoFiberVis.def
see also DiffusionTensorAnalysis, TensorTractography
keywords DTI

Purpose

Visualization of tracked fibers.

Usage

Connect input fiber set or fiber set container to left input (base field). As an option you may also connect a colored input imaged (e.g., result from VectorToColor) to color the fibers appropriately.

Details

The module internally uses vertex and fragment shader, it will thus not work together with other SoShader nodes in the scene graph.

Windows

Default Panel

../../../Projects/SoFiberVis/Modules/mhelp/Images/Screenshots/SoFiberVis._default.png

Input Fields

inFiberSetFld

name: inFiberSetFld, type: MLBase

The internal name is inFiberSetFld, the type is an Inventor MLBase. Object of type fiber set or fiber set container.

inColorImageFld

name: inColorImageFld, type: Image

The internal name is inColorImageFld, the type is an Inventor Image. This optional input should be a color image for coloring the fibers.

Output Fields

outFiberSetFld

name: outFiberSetFld, type: MLBase

The internal name is outFiberSetFld, the type is an Inventor MLBase. Colors are internally stored as fibers. This may be useful if they should be colored as streamtubes (FiberSetToGraph and SoVascularSystemsafterwards).

self

name: self, type: SoNode

The internal name is self, the type is a macro SoNode. Colored streamlines representing the fibers.

Parameter Fields

Visible Fields

Auto apply

name: autoApply, type: Bool, default: TRUE

The internal name is autoApply, the type is an Inventor Bool. Automatically update output if changes were made to parameters. Default is TRUE.

Apply

name: apply, type: Trigger

The internal name is apply, the type is an Inventor Trigger. Update output and apply changes made to parameters.

Auto update

name: autoUpdate, type: Bool, default: TRUE

The internal name is autoUpdate, the type is an Inventor Bool. Automatically update output on changed input. Default is TRUE.

Update

name: update, type: Trigger

The internal name is update, the type is an Inventor Trigger. Update output.

General Color

name: generalColor, type: Color, default: 1 1 1

The internal name is generalColor, the type is an Inventor Color. Color used for the fibers if ColorMode is set to “General”. Default is 1 1 1.

Draw lines

name: drawLines, type: Bool, default: TRUE

The internal name is drawLines, the type is an Inventor Bool. Enable drawing of streamlines. Default is TRUE.

Draw spheres

name: drawSpheres, type: Bool, default: FALSE

The internal name is drawSpheres, the type is an Inventor Bool. Enable drawing of spheres at start and end points of each fiber. Default is FALSE.

Optimize points

name: optimizePoints, type: Bool, default: FALSE

The internal name is optimizePoints, the type is an Inventor Bool. Optimize each fiber by removing points if the angle between to line segments is above “AngleThreshold” Default is FALSE.

Angle Threshold

name: angleThreshold, type: Float, default: 0.99900001

The internal name is angleThreshold, the type is an Inventor Float. The angle threshold used to determine if a point is removed. If the angle between its adjacent lines is greater the point gets removed for rendering. Default is 0.99900001.

Sphere Radius

name: sphereRadius, type: Float, default: 1

The internal name is sphereRadius, the type is an Inventor Float. The radius of the spheres. Default is 1.

Fiber set output

name: computeFiberSet, type: Bool, default: FALSE

The internal name is computeFiberSet, the type is an Inventor Bool. Enable outFiberSetFld. Default is FALSE.

Blend Color With Internal Color (0 = internal only)

name: alphaValue, type: Float, default: 1

The internal name is alphaValue, the type is an Inventor Float. Internal color value (r,g,b), which has been set by ColorizeFiberSet, is merged to the color selected by ColorMode. AlphaValue of 0: Only internal color is used. Default is 1.

Fiber Color Red If Fiberness Smaller

name: minFibernessValue, type: Float, default: 0

The internal name is minFibernessValue, the type is an Inventor Float. Fiber gets colored red if its fiberness is smaller than this value. Default is 0.

Color Mode

name: colorMode, type: Enum, default: COLOR_STANDARD

The internal name is colorMode, the type is an Inventor Enum.

Default is COLOR_STANDARD.

Values:

Title Name Description
Standard COLOR_STANDARD Use the standard color coding scheme
Fiberness COLOR_FIBERNESS Use fiberness for black to white coloring
General COLOR_GENERAL Use the color given in “GeneralColor”
Rgb COLOR_RGB Use rgb color corresponding to rgb value stored in the fiber point
Individual COLOR_INDIVIDUAL Use color stored inside a fiberset

Enable Lighting

name: enableLighting, type: Bool, default: FALSE

The internal name is enableLighting, the type is an Inventor Bool. Enable lighting of streamlines. Default is FALSE.

Ambient

name: ambient, type: Color, default: 0.100000001490116 0.100000001490116 0.100000001490116

The internal name is ambient, the type is an Inventor Color. Ambient color for lighting. Default is 0.100000001490116 0.100000001490116 0.100000001490116.

Specular

name: specular, type: Color, default: 1 1 1

The internal name is specular, the type is an Inventor Color. Specular color for lighting. Default is 1 1 1.

Shininess

name: shininess, type: Float, default: 1, minimum: 0.01, maximum: 1

The internal name is shininess, the type is an Inventor Float. Shininess for lighting. Default is 1.

Allow Clip

name: allowClip, type: Bool, default: TRUE

The internal name is allowClip, the type is an Inventor Bool. Activates clipping. Only applicable if lighting is enabled. Default is TRUE.

Hidden Fields

renderCaching

name: renderCaching, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

boundingBoxCaching

name: boundingBoxCaching, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

renderCulling

name: renderCulling, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

pickCulling

name: pickCulling, type: Enum, default: AUTO

Values:

Title Name
On ON
Off OFF
Auto AUTO

sceneModifiedFld

name: sceneModifiedFld, type: Trigger

diffuse

name: diffuse, type: Color, default: 1 1 1