genre | Diagram |
authors | Tobias Block, Olaf Konrad |
package | MeVisLab/Standard |
dll | SoDiagram2D |
definition | SoDiagram2D.def |
see also | SoDiagram2D, SoDiagram2DAxisZoom |
The module SoDiagram2DZoom zooms a diagram interactively.
The module offers two zoom modes: zooming by drawing a rubber band selection and zooming by turning the mouse wheel.
At the moment, the module only works with the left mouse button (in conjunction with an adjustable modified key) and with the mouse wheel.
The zoom factor can be restricted on the panel of the module SoDiagram2D.
Adapt Mouse Cursor: Bool | Color: Color | Shift: Enum |
Alt: Enum | Control: Enum | Show border: Bool |
Animate: Bool | Ease Factor: Float | Stop Epsilon: Float |
animateScrollingZoom: Bool | Enabled (isSelectionZoomEnabled): Bool | X Max: Float |
Auto (restrictAutoXMin): Bool | Enabled (isScrollingZoomEnabled): Bool | X Min: Float |
Auto (restrictAutoXMax): Bool | Extension enabled: Bool | Y Max: Float |
Auto (restrictAutoYMin): Bool | isEditingEnabled: Bool | Y Min: Float |
Auto (restrictAutoYMax): Bool | Opacity: Float | Zoom Factor: Float |
button1: Enum | Reset Zoom: Trigger | Zoom In: Trigger |
button2: Enum | Restrict Zoom Out To Diagram Area: Bool | Zoom Out: Trigger |
button3: Enum | Rotation Value: Float | zoomInOutValue: Float |
Sets the state of the SHIFT key to lead to an event.
Values:
Title | Name |
---|---|
Pressed | PRESSED |
Released | RELEASED |
Ignored | IGNORED |
Sets the state of the CONTROL key to lead to an event.
Values:
Title | Name |
---|---|
Pressed | PRESSED |
Released | RELEASED |
Ignored | IGNORED |
Sets the state of the ALT key to lead to an event.
Values:
Title | Name |
---|---|
Pressed | PRESSED |
Released | RELEASED |
Ignored | IGNORED |
If checked, the module allows to draw a rubber band rectangle onto the diagram. The selected portion of the diagram is zoomed on releasing the mouse button.
In this mode, pressing the right mouse button unzooms the diagram.
Sets the color of the selection rectangle in rubber band mode.
Sets the opacity of the selection rectangle in rubber band mode.
If checked, a border is rendered around the rubber band selection.
If checked, the zooming is animated instead of being immediate.
If checked, the zooming with the mouse wheel is enabled.
Sets the zoom factor for one tick of the mouse wheel.
Sets the rotation value for one tick of the mouse wheel.
Sets the ease factor for the zoom animation. This can be considered being a speed factor with 0.1 as the slowest and 1 as the fastest zoom animation speed.
Sets an epsilon factor for the zoom animation.
This factor also influences the animation speed.
If checked, the mouse cursor is set to be a magnifying glass.
If checked, the module restricts the zooming out of a diagram.
If checked, the module computes the restricting minimum value for the x-axis.
If checked, the module computes the restricting maximum value for the x-axis.
If checked, the module computes the restricting minimum value for the y-axis.
If checked, the module computes the restricting maximum value for the y-axis.
Sets the minimum value for the x-axis range as a zoom restriction.
Sets the maximum value for the x-axis range as a zoom restriction.