WEMInteract¶
-
MacroModule
¶ genre WEMInteraction
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition WEMInteract.def keywords surface
,interaction
Purpose¶
The WEMInteract module allows to draw a contour onto the screen. The portion of the input WEM that falls into this contour is tagged. The input WEM is then split into two halves.
Usage¶
Add the Inventor output to a SoExaminerViewer and draw a contour.
Details¶
The contour is drawn in screen coordinates. The input WEM is projected onto the screen. All nodes that fall inside the contour are tagged. Afterwards the WEM is divided in two halves based on this tagging.
Input Fields¶
inWEM¶
-
name:
inWEM
, type:
WEM(MLBase)
¶ The input WEM.
For accessing this object via scripting see the Scripting Reference:MLWEMWrapper
.
Output Fields¶
innerWEM¶
-
name:
innerWEM
, type:
WEM(MLBase)
¶ The part of the input WEM inside the drawn contour.
For accessing this object via scripting see the Scripting Reference:MLWEMWrapper
.
outerWEM¶
-
name:
outerWEM
, type:
WEM(MLBase)
¶ The part of the input WEM outside the drawn contour.
For accessing this object via scripting see the Scripting Reference:MLWEMWrapper
.
Parameter Fields¶
Field Index¶
Apply : Trigger |
Tag Nodes : Bool |
Auto Apply : Bool |
|
Auto Update : Bool |
|
Clear : Trigger |
|
Editing On : Bool |
|
Generate Edges : Bool |
|
Line Color : Color |
|
status : String |
Visible Fields¶
Line Color¶
-
name:
lineColor
, type:
Color
, default:
1 0 0
¶ Sets the color of the interactively drawn contour line.
Clear¶
-
name:
clear
, type:
Trigger
¶ If pressed, all drawn contours are removed and the output WEMs are reset to unmodified state.
Editing On¶
-
name:
editingOn
, type:
Bool
, default:
TRUE
¶ If checked, the module allows for an interactive editing of contours (drawing contours).
Auto Update¶
-
name:
autoUpdate
, type:
Bool
, default:
TRUE
¶ If checked, the module generates new outputs when the input WEM changes.
Auto Apply¶
-
name:
autoApply
, type:
Bool
, default:
TRUE
¶ If checked, the module generates new outputs on every parameter change.