SoView2DSlicer¶
-
InventorModule¶ genre Interactionauthor MeVis Medical Solutions AGpackage MeVisLab/Standarddll SoView2Ddefinition view2d.def see also SoView2Dinherits from SoView2DExtensionkeywords 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.
Parameter Fields¶
Field Index¶
Alt: Enum |
Editing On: Bool |
selectionTolerance: Float |
clipToSlice: Bool |
fixZOn: Bool |
Sensitivity: Float |
color: Color |
ignoreHandledEvents: Bool |
setEventHandled: Bool |
createNewMode: Bool |
interactionProviderID: String |
singleClicked: Trigger |
createNewModeRequest: Trigger |
maskValid: Bool |
Step Size: Integer |
cursorShape: Enum |
needsValidVoxel: Bool |
wantsAllEvents: Bool |
doubleClicked: Trigger |
permitInteractionOutsideImage: Bool |
wantsKeyEvents: Bool |
drawingOn: Bool |
renderOnSlab: Bool |
wantsMouseWheelEvents: Bool |
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