SoView2DWEMContour¶
-
InventorModule
¶ genre WEMInteraction
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoWEM
definition SoWEM.def see also SoWEMExtrude
inherits from SoView2DExtension
keywords Extrude
Purpose¶
The SoView2DWEMContour module allows for an interactive generation of a 2D contour on a 3D viewer.
This module should be used with SoWEMInteract
(have a look at the internal network of WEMInteract
).
Usage¶
Attach this module to an Open Inventor viewer that has also a SoView2D
attached.
Then, a contour can be drawn with the mouse on the viewer and the 2D screen coordinates of the points constituing the contour are gathered on the module’s GUI.
Parameter Fields¶
Field Index¶
alt : Enum |
drawFilteredHitPoints : Bool |
maskValid : Bool |
button1 : Enum |
drawingOn : Bool |
needsValidVoxel : Bool |
button2 : Enum |
editingOn : Bool |
renderOnSlab : Bool |
button3 : Enum |
Filter Sensitivity : Float |
selectionTolerance : Float |
Clear : Trigger |
filteredHitPointsLineColor : Color |
setEventHandled : Bool |
clipToSlice : Bool |
fixZOn : Bool |
shift : Enum |
color : Color |
hideClosedContours : Bool |
wantsAllEvents : Bool |
control : Enum |
Hit Points : Vector2List |
wantsKeyEvents : Bool |
createNewMode : Bool |
ignoreHandledEvents : Bool |
wantsMouseWheelEvents : Bool |
createNewModeRequest : Trigger |
interactionProviderID : String |
|
cursorShape : Enum |
Line Color : Color |
Visible Fields¶
Hit Points¶
-
name:
hitPoints
, type:
Vector2List
, default:
0 0
¶ Displays the 2D coordinates of the contour that has been drawn.
Filter Sensitivity¶
-
name:
filterSensitivity
, type:
Float
, default:
0.99000001
, minimum:
0.6
, maximum:
1
¶ Adjusts the amount of internal smoothing.