WEMExtrude¶
-
MacroModule
¶ genre WEMInteraction
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition WEMExtrude.def
Purpose¶
The WEMExtrude module allows to draw a contour onto the screen which is then projected into to screen along the viewing direction.
Usage¶
Add the Inventor output to a SoExaminerViewer and draw a contour.
Details¶
The contour is drawn in screen coordinates. By means of the projection matrix this contour can be projected onto the near Z clipping plane. By moving this contour along the viewing direction a 3D shape is created: an extruded WEM. The result is only created in the close neighborhood of the scene bounding box.
Interaction¶
Use a SoExaminerViewer to draw a contour. Every new interaction creates a new contour and thus a new extruded WEM.
Output Fields¶
outWEM¶
-
name:
outWEM
, type:
WEM(MLBase)
¶ The extruded output WEM.
For accessing this object via scripting see the Scripting Reference:MLWEMWrapper
.
Parameter Fields¶
Field Index¶
Apply : Trigger |
Triangulate : Bool |
Auto Apply : Bool |
Undo : Trigger |
Auto Update : Bool |
|
Clear : Trigger |
|
Filter Sensitivity : Float |
|
Line Color : Color |
|
status : String |
|
Subdivide : Bool |
Visible Fields¶
Line Color¶
-
name:
lineColor
, type:
Color
, default:
1 1 0.600000023841858
¶ Adjusts the color of the interactively drawn contour line.
Filter Sensitivity¶
-
name:
filterSensitivity
, type:
Float
, default:
0.99000001
, minimum:
0.6
, maximum:
1
¶ Value to adjust the extruded WEM’s coarseness. A low value mean a high coarseness, a high value means that the drawn contour is extruded without any smoothing.
Auto Update¶
-
name:
autoUpdate
, type:
Bool
, default:
TRUE
¶ If checked, the module generates a new output on each input change (which the module does not have).
Auto Apply¶
-
name:
autoApply
, type:
Bool
, default:
TRUE
¶ If checked, the module generates a new output on each parameter change.
Undo¶
-
name:
undo
, type:
Trigger
¶ Each consecutive drawing of a contour leads to another extruded WEM being added to the output.
With this field, the adding of the last extruded WEM can be undone.