SoView2DSlicer¶
- InventorModule¶
genre
author
package
dll
definition
see also
inherits from
keywords
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¶
Output Fields¶
self¶
- name: self, type: SoNode¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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¶
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.