public class InteractiveViewPlatformTransformer extends ViewPlatformTransformer
canvas, rotCenter, univ
Constructor and Description |
---|
InteractiveViewPlatformTransformer(DefaultUniverse univ,
BehaviorCallback callback)
Initializes a new InteractiveViewPlatformTransformer.
|
Modifier and Type | Method and Description |
---|---|
void |
init(MouseEvent e)
This method should be called when a new transformation is started (i.e.
|
void |
rotate(MouseEvent e)
This method should be called during the mouse is dragged, if the mouse
event should result in a rotation.
|
void |
translate(MouseEvent e)
This method should be called during the mouse is dragged, if the mouse
event should result in a translation.
|
void |
wheel_zoom(MouseEvent e)
This method should be called, if the specified MouseEvent should affect
zooming based on wheel movement.
|
void |
zoom(MouseEvent e)
This method should be called, if the specified MouseEvent should affect
zooming based on vertical mouse dragging.
|
centerAt, distanceEyeOrigin, distanceEyeTo, getAxisVworld, getCenterTranslation, getRotationCenter, getTranslateTranslation, getXDir, getXDir, getYDir, getYDir, getZDir, getZDir, getZoomTranslation, originInCanvas, pointInCanvas, rotate, rotateX, rotateXY, rotateY, rotateZ, translate, translateXY, translateXY, updateFrontBackClip, zoom, zoomTo
public InteractiveViewPlatformTransformer(DefaultUniverse univ, BehaviorCallback callback)
univ
- callback
- public void init(MouseEvent e)
e
- public void translate(MouseEvent e)
e
- public void rotate(MouseEvent e)
e
- public void wheel_zoom(MouseEvent e)
e
- public void zoom(MouseEvent e)
e
- Copyright © 2015–2021 Fiji. All rights reserved.