SoView2DSliceZoom¶
-
InventorModule
¶ genre Interaction
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoView2D
definition view2d.def see also SoView2D
inherits from SoView2DExtension
keywords extension
Purpose¶
The module SoView2DSliceZoom
allows for a zooming in and out of a 2D viewer slice interactively.
Usage¶
Press the mouse button and the modifier key as you set on the module’s GUI and move the mouse up and down to zoom in and out.
If the module zooms in on moving the mouse up or down depends on the Drag Mode
.
Move the mouse anywhere over the viewer and press return to zoom. The module not only zooms on pressing return but also shifts into the direction of the mouse cursor, seen from the middle of the viewer.
Parameter Fields¶
Field Index¶
Alt : Enum |
Evaluate handled-flag : Bool |
Sensitivity : Float |
clipToSlice : Bool |
Evaluate started-flag : Bool |
Set handled-flag : Bool |
color : Color |
fixZOn : Bool |
singleClicked : Trigger |
createNewMode : Bool |
interactionProviderID : String |
Use Alternative Zoom Formula : Bool |
createNewModeRequest : Trigger |
maskValid : Bool |
wantsAllEvents : Bool |
cursorShape : Enum |
Max : Float |
wantsKeyEvents : Bool |
doubleClicked : Trigger |
Min : Float |
wantsMouseWheelEvents : Bool |
Drag Mode : Enum |
needsValidVoxel : Bool |
Zoom Around Click Position : Bool |
drawingOn : Bool |
renderOnSlab : Bool |
|
Editing On : Bool |
selectionTolerance : Float |
Visible Fields¶
Evaluate handled-flag¶
-
name:
ignoreHandledEvents
, type:
Bool
, default:
FALSE
, deprecated name:
evalHandled
¶
Sensitivity¶
-
name:
sensitivity
, type:
Float
, default:
100
, minimum:
-1000
, maximum:
1000
¶ Sets the sensitivity of the zooming. A higher sensitivity leads to a faster zooming.
Negative values lead to zooming in the opposite direction.
Drag Mode¶
-
name:
dragMode
, type:
Enum
, default:
DRAG_TAKE_AND_PUSH
¶ Defines the drag mode.
Values:
Title | Name |
---|---|
Take And Push | DRAG_TAKE_AND_PUSH |
Approach And Depart | DRAG_APPROACH_AND_DEPART |
Evaluate started-flag¶
-
name:
evalStarted
, type:
Bool
, default:
FALSE
¶ If checked, the module reacts only if an interaction (shifting) is started in the target viewer.