SoDrawFiberSet

InventorModule

genre

DTIOther

authors

Olaf Konrad, Markus Huellebrand

package

FMEwork/Release

dll

SoDrawFiberSet

definition

SoDrawFiberSet.def

see also

SoFiberVis

keywords

DTI, draw, fiber, cluster, bundle, phantom

Purpose

The SoDrawFiberSet module allows for an interactive generation of fibers. Fiber bundles can be generated with the use of some random parameters.

Usage

Connect any OpenInventor scene to the module?s input and to a viewer where the module?s output is also connected to. Draw some lines onto the surface of the OpenInventor scene. Adjust the module?s parameters and press ?Apply? (if ?Auto Apply? is not checked).

Details

Nothing special.

Interaction

This module allows for a direct drawing interaction on any OpenInventor scene.

Tips

Example: Just draw onto the shown sphere some lines and press ?Apply?

Windows

Default Panel

../../../Modules/Inventor/SoDiffusionMRI/SoDrawFiberSet/mhelp/Images/Screenshots/SoDrawFiberSet._default.png

Input Fields

inputNode

name: inputNode, type: SoNode

Any OpenInventor scene to draw onto.

Output Fields

The output is: the drawn lines (Inventor) and the generated fiber bundles.

outputFibers

name: outputFibers, type: MLBase

self

name: self, type: SoNode

Parameter Fields

Field Index

Active: Integer

Elevation: Float

Num. Passes: Integer

Active Line Color: Color

End: Integer

pickCulling: Enum

Apply: Trigger

Factor: Float

Point Density: Float

Auto apply: Bool

Fibers in Bundle: Integer

renderCaching: Enum

boundingBoxCaching: Enum

Jitter Factor: Float

renderCulling: Enum

Bundle Radius: Float

Line Color: Color

Seed: Integer

Clear Active: Trigger

Line Width: Float

Start: Integer

Clear All: Trigger

Num. Fibers: Integer

Visible Fields

Clear Active

name: clearActive, type: Trigger

If pressed, the currently active drawn line gets erased.

Clear All

name: clearAll, type: Trigger

If pressed, all drawn lines get erased.

Num. Fibers

name: numFibers, type: Integer, persistent: no

The total number of drawn lines.

Active

name: activeFiber, type: Integer, default: 0

The number of the currently active drawn line.

Seed

name: randomSeed, type: Integer, default: 0

A random seed for all random generation.

Bundle Radius

name: varRadius, type: Float, default: 40

This is the radius in which new parallel fibers are generated within for each drawn line.

Fibers in Bundle

name: varNumFibers, type: Integer, default: 20

This is the amount of generated fibers for one drawn line.

Jitter Factor

name: varJitterPoints, type: Float, default: 0

Each point of each fiber is displaced in a sphere with the radius = jitterFactor * space_between_points [0..1].

Point Density

name: varDensity, type: Float, default: 0.1

The relative density of points of one fiber.

Num. Passes

name: smoothingPasses, type: Integer, default: 0

The number of smoothing passes.

Factor

name: smoothingFactor, type: Float, default: 0.2

The smoothing factor [0..1].

Start

name: cropStart, type: Integer, default: 0

The maximum number of the random amount of points that are erased at the beginning of a fiber.

End

name: cropEnd, type: Integer, default: 0

The same as ?Start?, just that points at the end of a fiber are erased.

Auto apply

name: autoApply, type: Bool, default: FALSE

If checked, all parameter changes (except for visualization parameters) lead to a new generation of fiber bundles.

Apply

name: apply, type: Trigger

If checked, the fiber bundle is generated anew (note that the result may be the same, unless the ?Seed? is changed).

Line Width

name: lineWidth, type: Float, default: 1

The width of the drawn lines.

Line Color

name: lineColor, type: Color, default: 1 1 0

The color of the (inactive) drawn lines.

Active Line Color

name: activeColor, type: Color, default: 1 0 0

The color of the active drawn line.

Elevation

name: lineElevation, type: Float, default: 0.1

An elevation factor: each drawn point is displaced by this factor in normal direction. This does not influence the resulting fiber points.

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