Xj3D 2.0 VRML/X3D Code API

org.web3d.vrml.scripting.external.buffer
Interface NodeRealizationProcessor

All Known Implementing Classes:
ExternalEventQueue

public interface NodeRealizationProcessor

Interface for handling node realization requests. Due to the semantics of the external SAI, it is necessary to buffer requests to realize nodes while being able to determine which nodes have been buffered, and implementing that scheme ends up requiring a circular reference between the event and event queue, which this interface breaks.

Author:
Bradley Vender

Method Summary
 boolean isNodeRealized(VRMLNodeType node)
          Is the node realized or had realization requested?
 void markNodeRealized(VRMLNodeType node)
          Mark a node as undergoing realization
 void markRealizationComplete(VRMLNodeType node)
          Complete the realization of a node.
 

Method Detail

isNodeRealized

boolean isNodeRealized(VRMLNodeType node)
Is the node realized or had realization requested?

Parameters:
node - The node in question
Returns:
The current status

markNodeRealized

void markNodeRealized(VRMLNodeType node)
Mark a node as undergoing realization


markRealizationComplete

void markRealizationComplete(VRMLNodeType node)
Complete the realization of a node. Removes the realization processing record to free up memory.


Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium