Aviatrix3D
2.1.0

org.j3d.aviatrix3d
Interface ApplicationUpdateObserver


public interface ApplicationUpdateObserver

Observer of the rendering system that is informed when it is safe to update the scene graph from application code.

The observer is used to synchronise the user-level application with the scene graph and it's update cycle. The observer signals the point in time when it is a valid and safe time to make changes to the scene graph. During the time of this callbacks, the user code may register that it needs to change parts of the scene graph, but cannot make the changes. Direct changes are made during the callbacks from the NodeUpdateListener methods.

Applications may opt to run their own threads independent of the clocking provided by this interface, however, they must buffer their changes and make them in response to the callbacks.

Version:
$Revision: 2.1 $
Author:
Justin Couch

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 synchronise application code with scene graph.
 

Method Detail

updateSceneGraph

void updateSceneGraph()
Notification that now is a good time to synchronise application code with scene graph.


appShutdown

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.


Aviatrix3D
2.1.0

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2009 j3d.org