org.web3d.vrml.renderer.ogl.browser
Class ApplicationFrameManager
java.lang.Object
org.web3d.vrml.renderer.ogl.browser.PerFrameManager
org.web3d.vrml.renderer.ogl.browser.ApplicationFrameManager
- All Implemented Interfaces:
- org.j3d.aviatrix3d.ApplicationUpdateObserver
public class ApplicationFrameManager
- extends PerFrameManager
- implements org.j3d.aviatrix3d.ApplicationUpdateObserver
Per-frame manager that uses the Aviatrix3D ApplicationUpdateObserver
to clock the scene graph time with.
Even as this is a thread, it is not automatically started. The user is
required to start it separately.
- Version:
- $Revision: 1.17 $
- Author:
- Justin Couch
|
Constructor Summary |
ApplicationFrameManager(EventModelEvaluator eme,
BrowserCore core,
org.web3d.vrml.renderer.ogl.browser.ViewportResizeManager viewportResizer,
org.web3d.vrml.renderer.ogl.browser.ViewpointResizeManager viewpointResizer)
Construct a new manager for the given scene. |
|
Method Summary |
void |
appShutdown()
Notification that the AV3D internal shutdown handler has detected a
system-wide shutdown. |
void |
updateSceneGraph()
Notification that now is a good time to update the scene graph. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationFrameManager
public ApplicationFrameManager(EventModelEvaluator eme,
BrowserCore core,
org.web3d.vrml.renderer.ogl.browser.ViewportResizeManager viewportResizer,
org.web3d.vrml.renderer.ogl.browser.ViewpointResizeManager viewpointResizer)
throws java.lang.IllegalArgumentException
- Construct a new manager for the given scene. The manager starts with
everything disabled.
- Parameters:
eme - The event model evaluator to use.core - The internal representation of the browserviewportResizer - Manager for viewport resize handlingviewpointResizer - Manager for viewport resize handling
- Throws:
java.lang.IllegalArgumentException
updateSceneGraph
public void updateSceneGraph()
- Notification that now is a good time to update the scene graph.
- Specified by:
updateSceneGraph in interface org.j3d.aviatrix3d.ApplicationUpdateObserver
appShutdown
public void appShutdown()
- Notification that the AV3D internal shutdown handler has detected a
system-wide shutdown. The aviatrix code has already terminated rendering
at the point this method is called, only the user's system code needs to
terminate before exiting here.
- Specified by:
appShutdown in interface org.j3d.aviatrix3d.ApplicationUpdateObserver
Copyright © 2001 - 2006 Web3D Consortium