|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.web3d.vrml.renderer.ogl.browser.PerFrameManager
org.web3d.vrml.renderer.ogl.browser.ApplicationFrameManager
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.
| Field Summary |
| Fields inherited from class org.web3d.vrml.renderer.ogl.browser.PerFrameManager |
browser, currentWallTime, errorReporter, eventModel, lastWallTime |
| Constructor Summary | |
ApplicationFrameManager(EventModelEvaluator eme,
TransformGroup sg,
ViewEnvironment view,
BrowserCore core,
OGLUserInputHandler input,
OGLSensorManager smgr)
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. |
javax.vecmath.Matrix4f |
getTransform()
Get the transform matrix for this node. |
void |
invokeLater(java.lang.Runnable code)
Invoke some code on the next App thread. |
void |
setNavigationInfo(VRMLNavigationInfoNodeType info)
Set the current navigationInfo. |
void |
setRoot(Group root)
Set the group holding the X3D Scenegraph Root. |
void |
updateNodeBoundsChanges(java.lang.Object src)
Notification that its safe to update the node now with any operations that could potentially effect the node's bounds. |
void |
updateNodeDataChanges(java.lang.Object src)
Notification that its safe to update the node now with any operations that only change the node's properties, but do not change the bounds. |
void |
updateSceneGraph()
Notification that now is a good time to update the scene graph. |
| Methods inherited from class org.web3d.vrml.renderer.ogl.browser.PerFrameManager |
clockTick, setErrorReporter, setEventModelStatusListener, shutdown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ApplicationFrameManager(EventModelEvaluator eme,
TransformGroup sg,
ViewEnvironment view,
BrowserCore core,
OGLUserInputHandler input,
OGLSensorManager smgr)
throws java.lang.IllegalArgumentException
eme - The event model evaluator to use.sg - The root transform to modify for visibility scalingview - The environmental information to managecore - The internal representation of the browserinput - Input device manager for navigationsmgr - The sensor manager instance to use| Method Detail |
public void invokeLater(java.lang.Runnable code)
code - The code to execute.public void updateNodeBoundsChanges(java.lang.Object src)
src - The node or Node Component that is to be updated.public void updateNodeDataChanges(java.lang.Object src)
src - The node or Node Component that is to be updated.public javax.vecmath.Matrix4f getTransform()
getTransform in interface OGLTransformNodeTypepublic void updateSceneGraph()
public void appShutdown()
public void setRoot(Group root)
root - The sg rootpublic void setNavigationInfo(VRMLNavigationInfoNodeType info)
info - The current navinfo
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||