Xj3D VRML/X3D Code API

org.web3d.vrml.nodes
Interface VRMLNBodySensorNodeType

All Superinterfaces:
FrameStateListener, VRMLChildNodeType, VRMLNode, VRMLNodeType, VRMLSensorNodeType

public interface VRMLNBodySensorNodeType
extends VRMLSensorNodeType

A sensor for reporting nBody collisions back to the X3D scene graph.

See the specification definition at http://www.xj3d.org/extensions/rigid_physics.html

Version:
$Revision: 1.2 $
Author:
Justin Couch

Method Summary
 void updateContacts(IntHashMap bodyIdMap, IntHashMap geomIdMap)
          Update the outputs of this sensor now, based on the given set of ODE contact information.
 
Methods inherited from interface org.web3d.vrml.nodes.VRMLSensorNodeType
getEnabled, getIsActive, setEnabled
 
Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType
addNodeListener, getFieldValue, getMetadataObject, getRefCount, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount
 
Methods inherited from interface org.web3d.vrml.lang.VRMLNode
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion
 
Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener
allEventsComplete
 

Method Detail

updateContacts

public void updateContacts(IntHashMap bodyIdMap,
                           IntHashMap geomIdMap)
Update the outputs of this sensor now, based on the given set of ODE contact information.


Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium