SoView2DWEMContour

InventorModule
genre WEMInteraction
status stable
author Bart De Dobbelaer
package MeVisLab/Standard
dll SoWEM
definition SoWEM.def
see also WEMBoolOp, SoWEMExtrude
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 OpenInventor 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

Clear

name: clear, type: Trigger

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

Filter Sensitivity

name: filterSensitivity, type: Float, default: 0.99000001, minimum: 0.6, maximum: 1

Adjusts the amount of internal smoothing.

Hit Points

name: hitPoints, type: String, default: 0 0

Displays the 2D coordinates of the contour that has been drawn.

Line Color

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

Sets the color of the interactively drawn contour.

Hidden Fields

alt

name: alt, type: Enum, default: IGNORED

Values:

Title Name
Pressed PRESSED
Released RELEASED
Ignored IGNORED

button1

name: button1, type: Enum, default: IGNORED

Values:

Title Name
Pressed PRESSED
Released RELEASED
Ignored IGNORED

button2

name: button2, type: Enum, default: IGNORED

Values:

Title Name
Pressed PRESSED
Released RELEASED
Ignored IGNORED

button3

name: button3, type: Enum, default: IGNORED

Values:

Title Name
Pressed PRESSED
Released RELEASED
Ignored IGNORED

clipToSlice

name: clipToSlice, type: Bool, default: FALSE

color

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

control

name: control, type: Enum, default: IGNORED

Values:

Title Name
Pressed PRESSED
Released RELEASED
Ignored IGNORED

createNewMode

name: createNewMode, type: Bool, default: FALSE

createNewModeRequest

name: createNewModeRequest, type: Trigger

cursorShape

name: cursorShape, type: Enum, default: UNDEFINED_CURSOR

Values:

Title Name
Undefined Cursor UNDEFINED_CURSOR
Default Cursor DEFAULT_CURSOR
Forbidden Cursor FORBIDDEN_CURSOR
Pointing Hand Cursor POINTING_HAND_CURSOR
Open Hand Cursor OPEN_HAND_CURSOR
Closed Hand Cursor CLOSED_HAND_CURSOR
Move All Cursor MOVE_ALL_CURSOR
Move Hori Cursor MOVE_HORI_CURSOR
Move Vert Cursor MOVE_VERT_CURSOR
Move Fdiag Cursor MOVE_FDIAG_CURSOR
Move Bdiag Cursor MOVE_BDIAG_CURSOR
Move Inout Cursor MOVE_INOUT_CURSOR
Rotate X Cursor ROTATE_X_CURSOR
Rotate Y Cursor ROTATE_Y_CURSOR
Rotate Z Cursor ROTATE_Z_CURSOR
Rotate Xy Cursor ROTATE_XY_CURSOR
Zoom Cursor ZOOM_CURSOR
Zoom In Cursor ZOOM_IN_CURSOR
Zoom Out Cursor ZOOM_OUT_CURSOR
Cross Cursor CROSS_CURSOR
Cross Plus Cursor CROSS_PLUS_CURSOR
Cross Minus Cursor CROSS_MINUS_CURSOR
Cross Move Cursor CROSS_MOVE_CURSOR
Cross Rotate Cursor CROSS_ROTATE_CURSOR
Cross Rect Cursor CROSS_RECT_CURSOR
Cross Oval Cursor CROSS_OVAL_CURSOR
Cross Vector Cursor CROSS_VECTOR_CURSOR
Cross Freeform Cursor CROSS_FREEFORM_CURSOR
Cross Point Cursor CROSS_POINT_CURSOR
Cross Line Cursor CROSS_LINE_CURSOR
Cross Curve Cursor CROSS_CURVE_CURSOR
Cross Polyline Cursor CROSS_POLYLINE_CURSOR
Cross Polygon Cursor CROSS_POLYGON_CURSOR
Cross Fill Cursor CROSS_FILL_CURSOR
Cross Link Cursor CROSS_LINK_CURSOR
Cross 0 Cursor CROSS_0_CURSOR
Cross 1 Cursor CROSS_1_CURSOR
Cross 2 Cursor CROSS_2_CURSOR
Cross 3 Cursor CROSS_3_CURSOR
Lut Cursor LUT_CURSOR
Slicing Cursor SLICING_CURSOR

drawFilteredHitPoints

name: drawFilteredHitPoints, type: Bool, default: FALSE

drawingOn

name: drawingOn, type: Bool, default: TRUE

editingOn

name: editingOn, type: Bool, default: TRUE

filteredHitPointsLineColor

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

fixZOn

name: fixZOn, type: Bool, default: TRUE

hideClosedContours

name: hideClosedContours, type: Bool, default: FALSE

ignoreHandledEvents

name: ignoreHandledEvents, type: Bool, default: FALSE

maskValid

name: maskValid, type: Bool, default: FALSE

needsValidVoxel

name: needsValidVoxel, type: Bool, default: TRUE

renderOnSlab

name: renderOnSlab, type: Bool, default: FALSE

selectionTolerance

name: selectionTolerance, type: Float, default: 4

setEventHandled

name: setEventHandled, type: Bool, default: FALSE

shift

name: shift, type: Enum, default: IGNORED

Values:

Title Name
Pressed PRESSED
Released RELEASED
Ignored IGNORED

wantsAllEvents

name: wantsAllEvents, type: Bool, default: FALSE

wantsKeyEvents

name: wantsKeyEvents, type: Bool, default: FALSE

wantsMouseWheelEvents

name: wantsMouseWheelEvents, type: Bool, default: FALSE