|
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.nodes.runtime.DefaultHumanoidManager
Manager for HAnimHumanoid nodes and their contained sets of children.
Keeps track of all humanoids and makes sure that they update every frame.
| Constructor Summary | |
DefaultHumanoidManager()
Create a new, empty instance of the humanoid manager. |
|
| Method Summary | |
void |
addManagedNode(VRMLNodeType node)
Add a node of the require type to be managed. |
void |
clear()
Force clearing all currently managed nodes from this manager now. |
boolean |
evaluatePostEventModel()
Ask whether this manager should run after the event model has been evaluated for this frame. |
boolean |
evaluatePreEventModel()
Ask whether this manager needs to be run before the event model has been evaluated for this frame. |
void |
executePostEventModel(long time)
Run the post-event modelling for this frame now. |
void |
executePreEventModel(long time)
Run the pre-event modelling for this frame now. |
int[] |
getManagedNodeTypes()
Get the list of node type IDs that this manager wants to handle. |
boolean |
initialize()
Initialise the node manager now with any per-manager setup that is needed. |
void |
removeManagedNode(VRMLNodeType node)
Remove a node of the require type to be managed. |
void |
resetTimeZero()
Reset the local time zero for the manager. |
void |
setErrorReporter(ErrorReporter reporter)
Register an error reporter with the engine so that any errors generated by the loading of script code can be reported in a nice, pretty fashion. |
void |
setVRMLClock(VRMLClock clk)
Set the VRMLClock instance in use by this manager. |
void |
shutdown()
Shutdown the node manager now. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultHumanoidManager()
| Method Detail |
public boolean initialize()
initialize in interface NodeManagerpublic void shutdown()
shutdown in interface NodeManagerpublic void setErrorReporter(ErrorReporter reporter)
setErrorReporter in interface NodeManagerreporter - The instance to use or nullpublic void setVRMLClock(VRMLClock clk)
setVRMLClock in interface NodeManagerclk - A reference to the clock to usepublic void resetTimeZero()
VRMLClock instance.
resetTimeZero in interface NodeManagerpublic int[] getManagedNodeTypes()
TypeConstants.
getManagedNodeTypes in interface NodeManagerpublic boolean evaluatePreEventModel()
evaluatePreEventModel in interface NodeManagerpublic boolean evaluatePostEventModel()
evaluatePostEventModel in interface NodeManagerpublic void addManagedNode(VRMLNodeType node)
addManagedNode in interface NodeManagernode - The node instance to add for managementpublic void removeManagedNode(VRMLNodeType node)
removeManagedNode in interface NodeManagernode - The node instance to add for managementpublic void executePreEventModel(long time)
executePreEventModel in interface NodeManagertime - The timestamp of this frame to evaluatepublic void executePostEventModel(long time)
executePostEventModel in interface NodeManagertime - The timestamp of this frame to evaluatepublic void clear()
clear in interface NodeManager
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||