SoDiagram2DPan

InventorModule
genre Diagram
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoDiagram2D
definition SoDiagram2DPan.def
see also SoDiagram2D, SoDiagram2DAxisZoom
inherits from SoDiagram2DInteractionExtension

Purpose

Use this extension to enable pan interaction by mouse drag.

Usage

Connect this module in front of a SoDiagram2D module.

Windows

Default Panel

../../../Modules/Inventor/SoDiagram2D/mhelp/Images/Screenshots/SoDiagram2DPan._default.png

Output Fields

self

name: self, type: SoNode

Inventor scene node.

Parameter Fields

Visible Fields

Extension enabled

name: isEnabled, type: Bool, default: TRUE

see SoDiagram2DExtension.isEnabled

Button1

name: button1, type: Enum, default: PRESSED

see SoDiagram2DInteractionExtension.button1

Button2

name: button2, type: Enum, default: RELEASED

see SoDiagram2DInteractionExtension.button2

Button3

name: button3, type: Enum, default: RELEASED

see SoDiagram2DInteractionExtension.button3

Shift

name: shift, type: Enum, default: IGNORED

see SoDiagram2DInteractionExtension.shift

Control

name: control, type: Enum, default: IGNORED

see SoDiagram2DInteractionExtension.control

Alt

name: alt, type: Enum, default: IGNORED

see SoDiagram2DInteractionExtension.alt

Enable X pan

name: xPanEnabled, type: Bool, default: TRUE

Enable panning along X direction.

Enable Y pan

name: yPanEnabled, type: Bool, default: TRUE

Enable panning along Y direction.

Drag only within axis (allowXPanOnlyOnAxis)

name: allowXPanOnlyOnAxis, type: Bool, default: FALSE

Use this to allow X panning only on X axis.

Drag only within axis (allowYPanOnlyOnAxis)

name: allowYPanOnlyOnAxis, type: Bool, default: FALSE

Use this to allow Y panning only on Y axis.

Restrict Pan To Diagram Area

name: restrictPanToDiagramArea, type: Bool, default: FALSE

Set boundaries for panning by setting all restrict- parameters accordingly.

Auto (restrictAutoXMin)

name: restrictAutoXMin, type: Bool, default: TRUE

If checked, panning will be only possible down to all current curves’ min value.

Auto (restrictAutoXMax)

name: restrictAutoXMax, type: Bool, default: TRUE

If checked, panning will be only possible up to all current curves’ max value.

Auto (restrictAutoYMin)

name: restrictAutoYMin, type: Bool, default: TRUE

If checked, panning will be only possible down to all current curves’ min value.

Auto (restrictAutoYMax)

name: restrictAutoYMax, type: Bool, default: TRUE

If checked, panning will be only possible down to all current curves’ max value.

X Min

name: restrictXMin, type: Double, default: 0

Set a custom boundary for panning.

X Max

name: restrictXMax, type: Double, default: 1

Set a custom boundary for panning.

Y Min

name: restrictYMin, type: Double, default: 0

Set a custom boundary for panning.

Y Max

name: restrictYMax, type: Double, default: 1

Set a custom boundary for panning.

Hidden Fields

interactionProviderID

name: interactionProviderID, type: String

see SoDiagram2DExtension.interactionProviderID

isEditingEnabled

name: isEditingEnabled, type: Bool, default: TRUE

see SoDiagram2DExtension.isEditingEnabled

cursorShape

name: cursorShape, type: Enum, default: UNDEFINED_CURSOR

Unused.

see also SoDiagram2DInteractionExtension.cursorShape