SoView2DMarkerExample¶
- InventorModule¶
 author
package
dll
definition
inherits from
Purpose¶
The module SoView2DMarkerExample shows how to use the ManagedInteractions by implementing a simple editor for XMarkers.
Interaction¶
Click on an existing marker to select it. Drag the marker to move it on the image slice.
Click anywhere else onto the image to create a new marker. Leave the mouse button pressed and move the mouse to drag the newly created markers.
Press DEL or BACKSPACE to remove the selected marker.
Press ESC to deselect any selected marker.
Windows¶
Default Panel¶
Input Fields¶
inMarkerList¶
- name: inMarkerList, type: MLBase¶
 
Output Fields¶
self¶
- name: self, type: SoNode¶
 
Parameter Fields¶
Field Index¶
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
Visible Fields¶
Drawing On¶
- name: drawingOn, type: Bool, default: TRUE¶
 If checked, the module draws all attached markers.
see also SoView2DExtension.drawingOn
Editing On¶
- name: editingOn, type: Bool, default: TRUE¶
 If checked, the module allows to create new marker, and to move or remove existing markers.
see also SoView2DExtension.editingOn
Selection Tolerance¶
- name: selectionTolerance, type: Float, default: 4, minimum: 1¶
 Sets the selection distance in pixel.
Shift¶
- name: shift, type: Enum, default: IGNORED¶
 Defines whether to react on modifier key SHIFT.
see also SoView2DExtension.shift
Control¶
- name: control, type: Enum, default: IGNORED¶
 Defines whether to react on modifier key CONTROL.
see also SoView2DExtension.control
Alt¶
- name: alt, type: Enum, default: IGNORED¶
 Defines whether to react on modifier key ALT.
see also SoView2DExtension.alt
Marker Size¶
- name: markerSize, type: Integer, default: 4, minimum: 1¶
 Sets the size of the rendered markers in pixel.
Marker Color¶
- name: markerColor, type: Color, default: 1 1 1¶
 Sets the color of the rendered, non-selected markers.
Selected Marker Color¶
- name: selectedMarkerColor, type: Color, default: 1 1 0¶
 Sets the color of the rendered, selected markers.