SoView2DTranslationRotation

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

Purpose

The module SoView2DTranslationRotation enables the same navigation with a 2D MPR as in a SoExaminerViewer.

Usage

Use this module in conjunction with a MPR module.

Interaction

Standard Mouse Interaction

Button Function
Left Rotate
Middle Pan
Middle+Left Dolly

Standard Key Interaction

Key Function
Cursor Up/Down Rotate around y-axis
Page Up/Down Rotate around y-axis
Cursor Left/Right Rotate around z-axis

Windows

Default Panel

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

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Button1

name: button1, type: Enum, default: PRESSED

see SoView2DExtension.button1

Button2

name: button2, type: Enum, default: IGNORED

see SoView2DExtension.button2

Button3

name: button3, type: Enum, default: IGNORED

see SoView2DExtension.button3

Shift

name: shift, type: Enum, default: IGNORED

see SoView2DExtension.shift

Control

name: control, type: Enum, default: IGNORED

see SoView2DExtension.control

Translation

name: translation, type: Vector3, default: 0 0 0

Sets and shows the current translation.

Rotation

name: rotation, type: Rotation, default: 0 0 1 0

Sets and shows the current rotation.

Field Of View

name: fieldOfView, type: Float, default: 100

Shows the current field of view.

Hidden Fields

interactionProviderID

name: interactionProviderID, type: String

see SoView2DExtension.interactionProviderID

drawingOn

name: drawingOn, type: Bool, default: TRUE

see SoView2DExtension.drawingOn

editingOn

name: editingOn, type: Bool, default: TRUE

see SoView2DExtension.editingOn

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

alt

name: alt, type: Enum, default: IGNORED

see SoView2DExtension.alt

wantsAllEvents

name: wantsAllEvents, type: Bool, default: TRUE

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

see SoView2DExtension.cursorShape

mouseFunctionButton1

name: mouseFunctionButton1, type: Enum, default: ROTATE

Values:

Title Name
None NONE
Rotate X ROTATE_X
Rotate Y ROTATE_Y
Rotate Z ROTATE_Z
Rotate ROTATE
Pan PAN
Slice SLICE
Zoom ZOOM

mouseFunctionButton2

name: mouseFunctionButton2, type: Enum, default: PAN

Values:

Title Name
None NONE
Rotate X ROTATE_X
Rotate Y ROTATE_Y
Rotate Z ROTATE_Z
Rotate ROTATE
Pan PAN
Slice SLICE
Zoom ZOOM

mouseFunctionButton1and2

name: mouseFunctionButton1and2, type: Enum, default: SLICE

Values:

Title Name
None NONE
Rotate X ROTATE_X
Rotate Y ROTATE_Y
Rotate Z ROTATE_Z
Rotate ROTATE
Pan PAN
Slice SLICE
Zoom ZOOM

mouseFunctionWheel

name: mouseFunctionWheel, type: Enum, default: ROTATE_Z

Values:

Title Name
None NONE
Rotate X ROTATE_X
Rotate Y ROTATE_Y
Rotate Z ROTATE_Z
Pan X PAN_X
Pan Y PAN_Y
Slice SLICE
Zoom ZOOM
Slice Or Zoom SLICE_OR_ZOOM

keyFunctionHoriCursor

name: keyFunctionHoriCursor, type: Enum, default: ROTATE_Z

Values:

Title Name
None NONE
Rotate X ROTATE_X
Rotate Y ROTATE_Y
Rotate Z ROTATE_Z
Pan X PAN_X
Pan Y PAN_Y
Slice SLICE
Zoom ZOOM
Slice Or Zoom SLICE_OR_ZOOM

keyFunctionVertCursor

name: keyFunctionVertCursor, type: Enum, default: SLICE_OR_ZOOM

Values:

Title Name
None NONE
Rotate X ROTATE_X
Rotate Y ROTATE_Y
Rotate Z ROTATE_Z
Pan X PAN_X
Pan Y PAN_Y
Slice SLICE
Zoom ZOOM
Slice Or Zoom SLICE_OR_ZOOM

keyFunctionPageKeys

name: keyFunctionPageKeys, type: Enum, default: SLICE_OR_ZOOM

Values:

Title Name
None NONE
Rotate X ROTATE_X
Rotate Y ROTATE_Y
Rotate Z ROTATE_Z
Pan X PAN_X
Pan Y PAN_Y
Slice SLICE
Zoom ZOOM
Slice Or Zoom SLICE_OR_ZOOM

adaptCursorShape

name: adaptCursorShape, type: Bool, default: FALSE