Class dnx.lr.app.WalkViewer
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dnx.lr.app.WalkViewer

java.lang.Object
   |
   +----dnx.util.DNXObject
           |
           +----dnx.lr.app.Viewer
                   |
                   +----dnx.lr.app.BrowserViewer
                           |
                           +----dnx.lr.app.WalkViewer

public class WalkViewer
extends BrowserViewer

Variable Index

 o BACKWARD
 o DEBUG_INVESTIGATE_CHILDREN
 o DEBUG_KEYMAP
 o DEBUG_PRINT
 o DEBUG_TOGGLE_BOUNDING_BOX_CULLING
 o DEBUG_TOGGLE_FRAME_RATE_PRINTING
 o DEBUG_TOGGLE_PRINT_CULLING_STATISTICS
 o DEBUG_TOGGLE_SHOW_COLLIDED_NODES
 o DEBUG_TOGGLE_SHOW_SCENE_EVENTS
 o debugKeyMappings
 o DOWN
 o ENABLE_MAXIMUM_QUALITY
 o FORWARD
 o HEADLIGHT_TOGGLE
 o LEFT
 o PITCH_DOWN
 o PITCH_UP
 o RIGHT
 o TOGGLE_COLLISION_DETECTION
 o TOGGLE_SCENE_FRAMES
 o UP
 o YAW_LEFT
 o YAW_RIGHT

Constructor Index

 o WalkViewer()

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 mapDebugKey(int, int)
 o mouseDown(View3D, Event, float, float)
 o mouseDrag(View3D, Event, float, float)
 o mouseUp(View3D, Event, float, float)
 o setViewerSpeed(float)
Set the speed (in units per second)

Variables

 o debugKeyMappings
  protected IntIntHashtable debugKeyMappings
 o FORWARD
  public final static int FORWARD
 o BACKWARD
  public final static int BACKWARD
 o LEFT
  public final static int LEFT
 o RIGHT
  public final static int RIGHT
 o UP
  public final static int UP
 o DOWN
  public final static int 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 HEADLIGHT_TOGGLE
  public final static int HEADLIGHT_TOGGLE
 o DEBUG_PRINT
  public final static int DEBUG_PRINT
 o DEBUG_KEYMAP
  public final static int DEBUG_KEYMAP
 o TOGGLE_SCENE_FRAMES
  public final static int TOGGLE_SCENE_FRAMES
 o TOGGLE_COLLISION_DETECTION
  public final static int TOGGLE_COLLISION_DETECTION
 o ENABLE_MAXIMUM_QUALITY
  public final static int ENABLE_MAXIMUM_QUALITY
 o DEBUG_TOGGLE_BOUNDING_BOX_CULLING
  public final static int DEBUG_TOGGLE_BOUNDING_BOX_CULLING
 o DEBUG_TOGGLE_PRINT_CULLING_STATISTICS
  public final static int DEBUG_TOGGLE_PRINT_CULLING_STATISTICS
 o DEBUG_INVESTIGATE_CHILDREN
  public final static int DEBUG_INVESTIGATE_CHILDREN
 o DEBUG_TOGGLE_FRAME_RATE_PRINTING
  public final static int DEBUG_TOGGLE_FRAME_RATE_PRINTING
 o DEBUG_TOGGLE_SHOW_COLLIDED_NODES
  public final static int DEBUG_TOGGLE_SHOW_COLLIDED_NODES
 o DEBUG_TOGGLE_SHOW_SCENE_EVENTS
  public final static int DEBUG_TOGGLE_SHOW_SCENE_EVENTS

Constructors

 o WalkViewer
  public WalkViewer()

Methods

 o mapDebugKey
  protected void mapDebugKey(int key,
                             int function)
 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 v,
                                       long when)
Overrides:
frameUpdate in class BrowserViewer
 o setViewerSpeed
  public void setViewerSpeed(float speed)
Set the speed (in units per second)
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