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
-
BACKWARD
-
-
DEBUG_INVESTIGATE_CHILDREN
-
-
DEBUG_KEYMAP
-
-
DEBUG_PRINT
-
-
DEBUG_TOGGLE_BOUNDING_BOX_CULLING
-
-
DEBUG_TOGGLE_FRAME_RATE_PRINTING
-
-
DEBUG_TOGGLE_PRINT_CULLING_STATISTICS
-
-
DEBUG_TOGGLE_SHOW_COLLIDED_NODES
-
-
DEBUG_TOGGLE_SHOW_SCENE_EVENTS
-
-
debugKeyMappings
-
-
DOWN
-
-
ENABLE_MAXIMUM_QUALITY
-
-
FORWARD
-
-
HEADLIGHT_TOGGLE
-
-
LEFT
-
-
PITCH_DOWN
-
-
PITCH_UP
-
-
RIGHT
-
-
TOGGLE_COLLISION_DETECTION
-
-
TOGGLE_SCENE_FRAMES
-
-
UP
-
-
YAW_LEFT
-
-
YAW_RIGHT
-
-
WalkViewer()
-
-
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)
-
-
mapDebugKey(int, int)
-
-
mouseDown(View3D, Event, float, float)
-
-
mouseDrag(View3D, Event, float, float)
-
-
mouseUp(View3D, Event, float, float)
-
-
setViewerSpeed(float)
- Set the speed (in units per second)
debugKeyMappings
protected IntIntHashtable debugKeyMappings
FORWARD
public final static int FORWARD
BACKWARD
public final static int BACKWARD
LEFT
public final static int LEFT
RIGHT
public final static int RIGHT
UP
public final static int UP
DOWN
public final static int 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
HEADLIGHT_TOGGLE
public final static int HEADLIGHT_TOGGLE
DEBUG_PRINT
public final static int DEBUG_PRINT
DEBUG_KEYMAP
public final static int DEBUG_KEYMAP
TOGGLE_SCENE_FRAMES
public final static int TOGGLE_SCENE_FRAMES
TOGGLE_COLLISION_DETECTION
public final static int TOGGLE_COLLISION_DETECTION
ENABLE_MAXIMUM_QUALITY
public final static int ENABLE_MAXIMUM_QUALITY
DEBUG_TOGGLE_BOUNDING_BOX_CULLING
public final static int DEBUG_TOGGLE_BOUNDING_BOX_CULLING
DEBUG_TOGGLE_PRINT_CULLING_STATISTICS
public final static int DEBUG_TOGGLE_PRINT_CULLING_STATISTICS
DEBUG_INVESTIGATE_CHILDREN
public final static int DEBUG_INVESTIGATE_CHILDREN
DEBUG_TOGGLE_FRAME_RATE_PRINTING
public final static int DEBUG_TOGGLE_FRAME_RATE_PRINTING
DEBUG_TOGGLE_SHOW_COLLIDED_NODES
public final static int DEBUG_TOGGLE_SHOW_COLLIDED_NODES
DEBUG_TOGGLE_SHOW_SCENE_EVENTS
public final static int DEBUG_TOGGLE_SHOW_SCENE_EVENTS
WalkViewer
public WalkViewer()
mapDebugKey
protected void mapDebugKey(int key,
int function)
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 v,
long when)
- Overrides:
- frameUpdate in class BrowserViewer
setViewerSpeed
public void setViewerSpeed(float speed)
- Set the speed (in units per second)
- 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