WEMBulgeEditor¶
-
MLModule
¶ genre WEMInteraction
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoWEM
definition SoWEM.def see also SoWEMRenderer
,SoWEMBulgeEditor
,SoView2DWEMBulgeEditor
keywords convert
,process
Purpose¶
The module WEMBulgeEditor
performs bulging of a WEM surface. Attach a 2D or a 3D editor to this module.
Input Fields¶
inWEM¶
-
name:
inWEM
, type:
WEM(MLBase)
¶ - For accessing this object via scripting see the Scripting Reference:
MLWEMWrapper
.
inUndoContext¶
-
name:
inUndoContext
, type:
UndoContext(MLBase)
¶ - For accessing this object via scripting see the Scripting Reference:
MLUndoContextWrapper
.
Parameter Fields¶
Field Index¶
Change Factor : Float |
Use min/max radius : Bool |
Influence Radius : Float |
|
Is interacting with WEM : Bool |
|
Max Radius : Float |
|
Min Radius : Float |
|
Mouse Leaves Window Handling : Enum |
|
primitiveValueLists : String |
|
PVL Used as LUT Values : String |
Visible Fields¶
PVL Used as LUT Values¶
-
name:
selectedPrimitiveValueList
, type:
String
, default:
LUT
¶ Defines the PVL which is used to encode the influence radius for visualization purposes.
Influenced WEMNodes have a PVL value in [-1..1], non-influenced WEMNodes have a PVL value of 0.
WEMNodes haves values in [-1..0] if in preview mode (not bulging), interactive WEMNodes have values in [0..1] (while being bulged/dragged).
Influence Radius¶
-
name:
influenceRadius
, type:
Float
, default:
40
, minimum:
0
¶ Sets the influence radius for bulging.
Note that this radius can also be set interactively by the actual 2D and 3D editors by turning the mouse wheel with ALT pressed (default).
Change Factor¶
-
name:
influenceRadiusChangeFactor
, type:
Float
, default:
1
¶ Sets a factor for changing the influence radius on turning the mouse wheel.
Use min/max radius¶
-
name:
useMinMaxInfluenceRadius
, type:
Bool
, default:
FALSE
¶ If checked, the
Influence Radius
can be clamped against the values of the fieldsMin Radius
andMax Radius
.
Min Radius¶
-
name:
minInfluenceRadius
, type:
Float
, default:
0
¶ Sets the minimum value for the
Influence Radius
ifUse min/max radius
is checked.
Max Radius¶
-
name:
maxInfluenceRadius
, type:
Float
, default:
1
¶ Sets the maximum value for the
Influence Radius
ifUse min/max radius
is checked.
Mouse Leaves Window Handling¶
-
name:
mouseLeavesWindowWhileBulgingHandling
, type:
Enum
, default:
continueBulging
¶ Defines how the modules should react when the mouse cursor leaves the window while bulging.
Values:
Title | Name | Description |
---|---|---|
cancel Bulging | cancelBulging | The bulging is canceled and the WEM snaps back to the shape it had when starting the interaction. |
stop Bulging | stopBulging | The WEM stays in the shape it had when the mouse cursor left the window. On re-entry, the bulging is continued. |
continue Bulging | continueBulging | The bulging continues with the mouse cursor being outside the window. |