Jeospace API

org.jeospace.simulation
Interface NavManager

All Known Implementing Classes:
X3DNavManager

public interface NavManager

Defines the requirements for a navigation manager

Version:
$Revision: 1.1.1.1 $
Author:
Rex Melton
See Also:
Position, Orientation

Method Summary
 void addNavigationListener(NavigationListener nl)
          Add a listener for NavigationEvents
 ReferenceFrame getActiveReferenceFrame()
          Return the current active navigation reference frame
 Orientation getOrientation()
          Return the current active navigation orientation
 Position getPosition()
          Return the current active navigation position
 void removeNavigationListener(NavigationListener nl)
          Remove a listener for NavigationEvents
 void run()
          The per-simulation-frame task, updates the navigation objects properties.
 void setChronometer(Chronometer chronometer)
          Set the active Chronometer.
 void setOrientationControl(OrientationControl control)
          Set the user defined navigation control for orientation.
 void setPositionControl(PositionControl control)
          Set the user defined navigation control for position.
 

Method Detail

run

public void run()
The per-simulation-frame task, updates the navigation objects properties.


setChronometer

public void setChronometer(Chronometer chronometer)
Set the active Chronometer.

Parameters:
chronometer - The Chronometer.

getPosition

public Position getPosition()
Return the current active navigation position

Returns:
the current active navigation position

getOrientation

public Orientation getOrientation()
Return the current active navigation orientation

Returns:
the current active navigation orientation

getActiveReferenceFrame

public ReferenceFrame getActiveReferenceFrame()
Return the current active navigation reference frame

Returns:
the current active navigation reference frame

setPositionControl

public void setPositionControl(PositionControl control)
Set the user defined navigation control for position.

Parameters:
control - The PositionControl

setOrientationControl

public void setOrientationControl(OrientationControl control)
Set the user defined navigation control for orientation.

Parameters:
control - The OrientationControl

addNavigationListener

public void addNavigationListener(NavigationListener nl)
Add a listener for NavigationEvents

Parameters:
nl - The listener

removeNavigationListener

public void removeNavigationListener(NavigationListener nl)
Remove a listener for NavigationEvents

Parameters:
nl - The listener

Jeospace API

Copyright © 2006 - jeospace.org