SoView2DAutoCenter

InventorModule

genre

View2DExtended

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

SoView2D

definition

view2d.def

see also

SoView2D, SoView2DSliceZoom

inherits from

SoView2DExtension

keywords

zoom, enlarge, scale, extension

Purpose

The module SoView2DAutoCenter zooms and unzooms a 2D image.

Interaction

Click into a image to zoom to the position of the mouse cursor. The image is zoomed as long as the according mouse button is being held down.

On a subsequent mouse click, the zoom is reset.

The zoom can also be reset by clicking Reset Zoom.

Windows

Default Panel

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

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Alt: Enum

Editing on: Bool

selectionTolerance: Float

clipToSlice: Bool

fixZOn: Bool

setEventHandled: Bool

color: Color

ignoreHandledEvents: Bool

singleClicked: Trigger

createNewMode: Bool

interactionProviderID: String

wantsAllEvents: Bool

createNewModeRequest: Trigger

maskValid: Bool

wantsKeyEvents: Bool

cursorShape: Enum

needsValidVoxel: Bool

wantsMouseWheelEvents: Bool

doubleClicked: Trigger

renderOnSlab: Bool

drawingOn: Bool

Reset Zoom: Trigger

Visible Fields

Editing on

name: editingOn, type: Bool, default: TRUE

If checked, the module zooms and resets the zoom on mouse clicks.

see also SoView2DExtension.editingOn

Alt

name: alt, type: Enum, default: IGNORED

see SoView2DExtension.alt

Reset Zoom

name: triggerResetZoom, type: Trigger

When pressed, the module resets the zoom.

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

see SoView2DExtension.needsValidVoxel

wantsAllEvents

name: wantsAllEvents, type: Bool, default: FALSE

wantsKeyEvents

name: wantsKeyEvents, type: Bool, default: FALSE

wantsMouseWheelEvents

name: wantsMouseWheelEvents, type: Bool, default: FALSE

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

see SoView2DExtension.cursorShape

singleClicked

name: singleClicked, type: Trigger, persistent: no

doubleClicked

name: doubleClicked, type: Trigger, persistent: no