SoView2DSlicer

InventorModule
genre Interaction
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoView2D
definition view2d.def
see also SoView2D
inherits from SoView2DExtension
keywords 3D, scroll, extension

Purpose

The module SoView2DSlicer allows for an interactive slicing (or stacking) through a volume image in a 2D viewer.

Interaction

Note that if you use Manged Interaction (see Managed Interaction) and want to map stacking to keys with a SoInteractionMapping module, the stacking through z-slices is done by changing the y-value, while stacking through time points is done by changing the x-value.

By default, the SoInteractionMapping maps keys to changes of the x-value.

If you want to use keys for stacking through z-slices, you have to use ;swap at the end of your mapping, e.g.:

slicer.SoView2DSliceOffsetAction:key:E/F;swap

This line in SoInteractionMapping will map the E and F keys to stacking through z-slices. If you omit the ;swap directive, those keys will stack through time points instead.

Windows

Default Panel

../../../Modules/Inventor/SoView2D/mhelp/Images/Screenshots/SoView2DSlicer._default.png

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Editing On

name: editingOn, type: Bool, default: TRUE

If checked, an interaction according to the tristate causes a slicing through the image.

see also SoView2DExtension.editingOn

Alt

name: alt, type: Enum, default: IGNORED

see SoView2DExtension.alt

Sensitivity

name: sensitivity, type: Float, default: 0.25, minimum: -2, maximum: 2

Sets the speed of slicing relative to the mouse movement. A low sensitivity value causes a slow slicing. Negative values invert the slicing direction.

Step Size

name: stepSize, type: Integer, default: 1, minimum: 1

Determines the number of slices that the current slice is incremented / decremented on each step.

Hidden Fields

interactionProviderID

name: interactionProviderID, type: String

see SoView2DExtension.interactionProviderID

drawingOn

name: drawingOn, type: Bool, default: TRUE

see SoView2DExtension.drawingOn

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, deprecated name: selectDistance

needsValidVoxel

name: needsValidVoxel, type: Bool, default: FALSE

see SoView2DExtension.needsValidVoxel

wantsAllEvents

name: wantsAllEvents, type: Bool, default: FALSE

wantsKeyEvents

name: wantsKeyEvents, type: Bool, default: FALSE

wantsMouseWheelEvents

name: wantsMouseWheelEvents, type: Bool, default: TRUE

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: MOVE_VERT_CURSOR

see SoView2DExtension.cursorShape

singleClicked

name: singleClicked, type: Trigger, persistent: no

doubleClicked

name: doubleClicked, type: Trigger, persistent: no

permitInteractionOutsideImage

name: permitInteractionOutsideImage, type: Bool, default: FALSE