public static class VolumeManipulator.DefaultEventGesture extends java.lang.Object implements KeyListener, MouseListener, MouseMotionListener, MouseWheelListener
| Modifier and Type | Class and Description |
|---|---|
static interface |
VolumeManipulator.DefaultEventGesture.ProjectionController |
| Modifier and Type | Field and Description |
|---|---|
protected VolumeManipulator |
volumeManipulator |
| Constructor and Description |
|---|
DefaultEventGesture() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
adjustProjection() |
boolean |
fit() |
boolean |
keyPressed(KeyEvent e) |
boolean |
mouseDragged(MouseEvent e) |
boolean |
mousePressed(MouseEvent e) |
boolean |
mouseReleased(MouseEvent e) |
boolean |
mouseWheelMoved(MouseWheelEvent e) |
void |
move(int deltaX,
int deltaY) |
void |
rotate(Vec3 axis,
float angle) |
void |
rotateWorld(Vec3 axis,
float angle) |
void |
update() |
boolean |
view(int dir) |
boolean |
viewFront(int dir) |
boolean |
viewLeft(int dir) |
boolean |
viewTop(int dir) |
void |
zoom(int delta) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitkeyReleasedmouseClicked, mouseEntered, mouseExitedmouseMovedsetVolumeManipulatorprotected VolumeManipulator volumeManipulator
public void update()
update in interface VolumeManipulator.Gesturepublic boolean mousePressed(MouseEvent e)
mousePressed in interface MouseListenere - the MouseEventpublic boolean mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenere - the MouseEventpublic boolean mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenere - the MouseEventpublic boolean mouseWheelMoved(MouseWheelEvent e)
mouseWheelMoved in interface MouseWheelListenere - the MouseWheelEventpublic boolean keyPressed(KeyEvent e)
keyPressed in interface KeyListenere - the KeyEventpublic boolean fit()
public boolean adjustProjection()
public boolean view(int dir)
public boolean viewTop(int dir)
public boolean viewLeft(int dir)
public boolean viewFront(int dir)
public void move(int deltaX,
int deltaY)
public void zoom(int delta)
public void rotate(Vec3 axis, float angle)
public void rotateWorld(Vec3 axis, float angle)
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com