|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.simulation.X3DNavManager
Manages the navigation components.
Profile,
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 |
interpolationAction(InterpolationEvent ie)
Listen for the completion of cockpit animations. |
void |
readableFieldChanged(org.web3d.x3d.sai.X3DFieldEvent xfe)
X3D Field Event Listener |
void |
removeNavigationListener(NavigationListener nl)
Remove a listener for NavigationEvents |
void |
run()
The per-simulation-frame task, updates the navigation object properties. |
void |
setChronometer(Chronometer chronometer)
Set the active Chronometer. |
void |
setHorizon(Horizon horizon)
Set the Horizon object that calculates the orientation of the
gravitational plane for the cockpit. |
void |
setOrientationControl(OrientationControl control)
Set the user defined navigation control for orientation. |
void |
setPositionControl(PositionControl control)
Set the user defined navigation control for position. |
void |
setX3DObjects(org.web3d.x3d.sai.ExternalBrowser newBrowser,
org.web3d.x3d.sai.X3DScene newScene)
Set the X3D objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void run()
run in interface NavManagerpublic void setChronometer(Chronometer chronometer)
Chronometer.
setChronometer in interface NavManagerchronometer - The Chronometer.public Position getPosition()
getPosition in interface NavManagerpublic Orientation getOrientation()
getOrientation in interface NavManagerpublic ReferenceFrame getActiveReferenceFrame()
getActiveReferenceFrame in interface NavManagerpublic void setPositionControl(PositionControl control)
setPositionControl in interface NavManagercontrol - The PositionControlpublic void setOrientationControl(OrientationControl control)
setOrientationControl in interface NavManagercontrol - The OrientationControlpublic void addNavigationListener(NavigationListener nl)
NavigationEvents
addNavigationListener in interface NavManagernl - the listenerpublic void removeNavigationListener(NavigationListener nl)
NavigationEvents
removeNavigationListener in interface NavManagernl - the listenerpublic void interpolationAction(InterpolationEvent ie)
interpolationAction in interface InterpolationListenerpublic void readableFieldChanged(org.web3d.x3d.sai.X3DFieldEvent xfe)
readableFieldChanged in interface org.web3d.x3d.sai.X3DFieldEventListener
public void setX3DObjects(org.web3d.x3d.sai.ExternalBrowser newBrowser,
org.web3d.x3d.sai.X3DScene newScene)
newBrowser - The X3DBrowser object.newScene - The X3DScene object.public void setHorizon(Horizon horizon)
Horizon object that calculates the orientation of the
gravitational plane for the cockpit.
horizon - The Horizon object.
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||