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.

Windows

Default Panel

../../../Modules/Inventor/SoWEM/mhelp/Images/Screenshots/SoView2DWEMContour._default.png

Output Fields

self

name: self, type: SoNode

Parameter Fields

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.

Line Color

name: lineColor, type: Color, default: 1 1 0.600000023841858

Sets the color of the interactively drawn contour.

Clear

name: clear, type: Trigger

If pressed, the current contour and all its 2D coordinates are cleared.

Hidden Fields

interactionProviderID

name: interactionProviderID, type: String

see SoView2DExtension.interactionProviderID

drawingOn

name: drawingOn, type: Bool, default: TRUE

see SoView2DExtension.drawingOn

editingOn

name: editingOn, type: Bool, default: TRUE

see SoView2DExtension.editingOn

maskValid

name: maskValid, type: Bool, persistent: no

fixZOn

name: fixZOn, type: Bool, default: TRUE

color

name: color, type: Color, default: 1 1 1

see SoView2DExtension.color

selectionTolerance

name: selectionTolerance, type: Float, default: 4

needsValidVoxel

name: needsValidVoxel, type: Bool, default: TRUE

see SoView2DExtension.needsValidVoxel

button1

name: button1, type: Enum, default: IGNORED

see SoView2DExtension.button1

button2

name: button2, type: Enum, default: IGNORED

see SoView2DExtension.button2

button3

name: button3, type: Enum, default: IGNORED

see SoView2DExtension.button3

shift

name: shift, type: Enum, default: IGNORED

see SoView2DExtension.shift

control

name: control, type: Enum, default: IGNORED

see SoView2DExtension.control

alt

name: alt, type: Enum, default: IGNORED

see SoView2DExtension.alt

wantsAllEvents

name: wantsAllEvents, type: Bool, default: FALSE

wantsKeyEvents

name: wantsKeyEvents, type: Bool, default: FALSE

wantsMouseWheelEvents

name: wantsMouseWheelEvents, type: Bool, default: FALSE

setEventHandled

name: setEventHandled, type: Bool, default: FALSE

see SoView2DExtension.setEventHandled

ignoreHandledEvents

name: ignoreHandledEvents, type: Bool, default: FALSE

see SoView2DExtension.ignoreHandledEvents

createNewMode

name: createNewMode, type: Bool, default: FALSE

see SoView2DExtension.createNewMode

createNewModeRequest

name: createNewModeRequest, type: Trigger

see SoView2DExtension.createNewModeRequest

renderOnSlab

name: renderOnSlab, type: Bool, default: FALSE

clipToSlice

name: clipToSlice, type: Bool, default: FALSE

cursorShape

name: cursorShape, type: Enum, default: UNDEFINED_CURSOR

see SoView2DExtension.cursorShape

drawFilteredHitPoints

name: drawFilteredHitPoints, type: Bool, default: FALSE

filteredHitPointsLineColor

name: filteredHitPointsLineColor, type: Color, default: 0 0 1

hideClosedContours

name: hideClosedContours, type: Bool, default: FALSE