Class dnx.lr.app.FlyViewer
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.lr.app.FlyViewer
java.lang.Object
|
+----dnx.util.DNXObject
|
+----dnx.lr.app.Viewer
|
+----dnx.lr.app.BrowserViewer
|
+----dnx.lr.app.FlyViewer
- public class FlyViewer
- extends BrowserViewer
-
ACCEL_BACKWARD
-
-
ACCEL_DOWN
-
-
ACCEL_FORWARD
-
-
ACCEL_LEFT
-
-
ACCEL_RIGHT
-
-
ACCEL_UP
-
-
PITCH_DOWN
-
-
PITCH_UP
-
-
ROLL_LEFT
-
-
ROLL_RIGHT
-
-
YAW_LEFT
-
-
YAW_RIGHT
-
-
FlyViewer()
-
-
frameUpdate(View, long)
-
-
getCurrentSpeed()
- Get the speed at which the viewer is currently moving (this is
not in general the same as the value set with setViewerSpeed()).
-
keyDown(View3D, Event)
-
-
keyUp(View3D, Event)
-
-
mouseDown(View3D, Event, float, float)
-
-
mouseDrag(View3D, Event, float, float)
-
-
mouseUp(View3D, Event, float, float)
-
-
setViewerSpeed(float)
- Set the viewer speed.
ACCEL_FORWARD
public final static int ACCEL_FORWARD
ACCEL_BACKWARD
public final static int ACCEL_BACKWARD
ACCEL_LEFT
public final static int ACCEL_LEFT
ACCEL_RIGHT
public final static int ACCEL_RIGHT
ACCEL_UP
public final static int ACCEL_UP
ACCEL_DOWN
public final static int ACCEL_DOWN
YAW_LEFT
public final static int YAW_LEFT
YAW_RIGHT
public final static int YAW_RIGHT
PITCH_UP
public final static int PITCH_UP
PITCH_DOWN
public final static int PITCH_DOWN
ROLL_LEFT
public final static int ROLL_LEFT
ROLL_RIGHT
public final static int ROLL_RIGHT
FlyViewer
public FlyViewer()
mouseDown
public synchronized boolean mouseDown(View3D view,
Event e,
float x,
float y)
- Overrides:
- mouseDown in class BrowserViewer
mouseDrag
public synchronized boolean mouseDrag(View3D view,
Event e,
float x,
float y)
- Overrides:
- mouseDrag in class BrowserViewer
mouseUp
public synchronized boolean mouseUp(View3D view,
Event e,
float x,
float y)
- Overrides:
- mouseUp in class BrowserViewer
keyDown
public synchronized boolean keyDown(View3D view,
Event e)
- Overrides:
- keyDown in class BrowserViewer
keyUp
public synchronized boolean keyUp(View3D view,
Event e)
- Overrides:
- keyUp in class BrowserViewer
frameUpdate
public synchronized void frameUpdate(View view,
long when)
- Overrides:
- frameUpdate in class BrowserViewer
setViewerSpeed
public synchronized void setViewerSpeed(float speed)
- Set the viewer speed.
- Overrides:
- setViewerSpeed in class BrowserViewer
getCurrentSpeed
public float getCurrentSpeed()
- Get the speed at which the viewer is currently moving (this is
not in general the same as the value set with setViewerSpeed()).
- Overrides:
- getCurrentSpeed in class BrowserViewer
All Packages Class Hierarchy This Package Previous Next Index