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

Variable Index

 o ACCEL_BACKWARD
 o ACCEL_DOWN
 o ACCEL_FORWARD
 o ACCEL_LEFT
 o ACCEL_RIGHT
 o ACCEL_UP
 o PITCH_DOWN
 o PITCH_UP
 o ROLL_LEFT
 o ROLL_RIGHT
 o YAW_LEFT
 o YAW_RIGHT

Constructor Index

 o FlyViewer()

Method Index

 o frameUpdate(View, long)
 o getCurrentSpeed()
Get the speed at which the viewer is currently moving (this is not in general the same as the value set with setViewerSpeed()).
 o keyDown(View3D, Event)
 o keyUp(View3D, Event)
 o mouseDown(View3D, Event, float, float)
 o mouseDrag(View3D, Event, float, float)
 o mouseUp(View3D, Event, float, float)
 o setViewerSpeed(float)
Set the viewer speed.

Variables

 o ACCEL_FORWARD
  public final static int ACCEL_FORWARD
 o ACCEL_BACKWARD
  public final static int ACCEL_BACKWARD
 o ACCEL_LEFT
  public final static int ACCEL_LEFT
 o ACCEL_RIGHT
  public final static int ACCEL_RIGHT
 o ACCEL_UP
  public final static int ACCEL_UP
 o ACCEL_DOWN
  public final static int ACCEL_DOWN
 o YAW_LEFT
  public final static int YAW_LEFT
 o YAW_RIGHT
  public final static int YAW_RIGHT
 o PITCH_UP
  public final static int PITCH_UP
 o PITCH_DOWN
  public final static int PITCH_DOWN
 o ROLL_LEFT
  public final static int ROLL_LEFT
 o ROLL_RIGHT
  public final static int ROLL_RIGHT

Constructors

 o FlyViewer
  public FlyViewer()

Methods

 o mouseDown
  public synchronized boolean mouseDown(View3D view,
                                        Event e,
                                        float x,
                                        float y)
Overrides:
mouseDown in class BrowserViewer
 o mouseDrag
  public synchronized boolean mouseDrag(View3D view,
                                        Event e,
                                        float x,
                                        float y)
Overrides:
mouseDrag in class BrowserViewer
 o mouseUp
  public synchronized boolean mouseUp(View3D view,
                                      Event e,
                                      float x,
                                      float y)
Overrides:
mouseUp in class BrowserViewer
 o keyDown
  public synchronized boolean keyDown(View3D view,
                                      Event e)
Overrides:
keyDown in class BrowserViewer
 o keyUp
  public synchronized boolean keyUp(View3D view,
                                    Event e)
Overrides:
keyUp in class BrowserViewer
 o frameUpdate
  public synchronized void frameUpdate(View view,
                                       long when)
Overrides:
frameUpdate in class BrowserViewer
 o setViewerSpeed
  public synchronized void setViewerSpeed(float speed)
Set the viewer speed.
Overrides:
setViewerSpeed in class BrowserViewer
 o 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