CSOBulgeProcessor

MLModule
genre CSOProcessor
status stable
author Olaf Konrad
package MeVisLab/Standard
dll SoCSO
definition SoCSO.def
see also SoView2DCSOEditor, CSOModifyProcessor
keywords CSO, contour, interpolation, segmentation

Purpose

The CSOBulgeProcessor allows for a deforming modification of any type of existing CSO.

Usage

Just attach this module at the processor input of a SoView2DCSOEditor.

Details

If clicked in the vicinity of an existing CSO, the CSO can locally be deformed while dragging the mouse. The amount of deformation depends on the module's influence range, which is measured as a geodesic distance in screen coordinates (pixels) along the contour. Additionally, the influence range may be modified by an optional angle criterion. This is done by following the contour from the clicked point on until either the range limit is reached or until the contour yields a larger angle then is specified is reached.

Only the nearest contour is deformed.

The influenced path points are smoothly deformed using a cosine sigmoid function.

Windows

Default Panel

../../../Modules/Inventor/SoCSO/mhelp/Images/Screenshots/CSOBulgeProcessor._default.png

Output Fields

None.

outProcessorData

name: outProcessorData, type: MLBase

Connect this output to the processor input of a SoView2DCSOEditor.

Parameter Fields

Visible Fields

Influence Range (screen)

name: influenceRange, type: Integer, default: 64, minimum: 0

This specifies the influence range in pixels along the contour.

Restrict to

name: restrictToCurvature, type: Bool, default: TRUE

If checked, the influence range is eventually further shortened by the contour's curvature.

Angle

name: angleLimit, type: Float, default: 90

The curvature limit in degrees that restricts the influence range.

Adapt while interacting

name: adaptInfluenceWhileInteracting, type: Bool, default: FALSE

If checked, the influence range is computed anew in each interaction step.

Adapt influence range by distance

name: adaptInfluenceByDistance, type: Bool, default: FALSE

If checked, the influence range is adapted by the distance of the hitpoint to the CSO, creating larger influence ranges when far away from the CSO.

Hidden Fields

updateMode

name: updateMode, type: Enum, default: Off

Values:

Title Name
Off Off
Auto Update AutoUpdate

autoApply

name: autoApply, type: Bool, default: FALSE

apply

name: apply, type: Trigger

isProcessing

name: isProcessing, type: Bool, default: FALSE

done

name: done, type: Trigger

emptyGroupBeforeGeneration

name: emptyGroupBeforeGeneration, type: Bool, default: FALSE

addCSOToGroupMode

name: addCSOToGroupMode, type: Enum, default: AddToGroupByLabel

Values:

Title Name
None AddToGroupNone
By Label AddToGroupByLabel
By Id AddToGroupById

addCSOToGroupWithId

name: addCSOToGroupWithId, type: Integer, default: -1