Class NRContact
java.lang.Object
org.web3d.vrml.renderer.common.nodes.AbstractNode
org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseContact
org.web3d.vrml.renderer.norender.nodes.rigidphysics.NRContact
- All Implemented Interfaces:
VRMLNode,FrameStateListener,VRMLNodeType,NRVRMLNode
Implementation of a Contact.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
-
Field Summary
Fields inherited from class org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseContact
BODY_NODE_MSG, BODY_PROTO_MSG, contactIndex, FIELD_APPLIED_PARAMETERS, FIELD_BODY1, FIELD_BODY2, FIELD_BOUNCE, FIELD_CONTACT_NORMAL, FIELD_DEPTH, FIELD_FRICTION_COEFFICIENTS, FIELD_FRICTION_DIRECTION, FIELD_GEOMETRY1, FIELD_GEOMETRY2, FIELD_MIN_BOUNCE_SPEED, FIELD_POSITION, FIELD_SLIP_COEFFICIENTS, FIELD_SOFTNESS_CFM, FIELD_SOFTNESS_ERP, FIELD_SURFACE_SPEED, GEOMETRY_NODE_MSG, GEOMETRY_PROTO_MSG, LAST_CONTACT_INDEX, NEG_BOUNCE_MSG, NEG_BOUNCE_SPEED_MSG, NEG_CFM_MSG, NEG_ERP_MSG, numAppliedParameters, odeContact, parameterIdMap, pBody1, pBody2, pGeometry1, pGeometry2, vfAppliedParameters, vfBody1, vfBody2, vfBounce, vfContactNormal, vfDepth, vfFrictionCoefficients, vfFrictionDirection, vfGeometry1, vfGeometry2, vfMinBounceSpeed, vfPosition, vfSlipCoefficients, vfSoftnessConstantForceMix, vfSoftnessErrorCorrection, vfSurfaceSpeedFields inherited from class org.web3d.vrml.renderer.common.nodes.AbstractNode
errorReporter, FIELD_METADATA, fieldLocalData, hasChanged, inSetup, isDEF, isStatic, LAST_NODE_INDEX, layerIds, nodeName, pMetadata, refCounts, removedLayerIds, stateManager, STATIC_SCENE_GRAPH, vfMetadata, vrmlMajorVersion, vrmlMinorVersion -
Constructor Summary
ConstructorsConstructorDescriptionInitialise the time dependent node and it's fields that are held locally.NRContact(VRMLNodeType node) Construct a new instance of this node based on the details from the given node. -
Method Summary
Methods inherited from class org.web3d.vrml.renderer.common.nodes.rigidphysics.BaseContact
getFieldDeclaration, getFieldIndex, getFieldValue, getNodeFieldIndices, getNumFields, getPrimaryType, sendRoute, setupFinished, setValue, setValue, setValue, setValueMethods inherited from class org.web3d.vrml.renderer.common.nodes.AbstractNode
addNodeListener, allEventsComplete, checkNodeType, checkSecondaryType, checkSecondaryType, clearRemovedLayerIds, fireFieldChanged, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, getSecondaryType, getUserData, getVRMLNodeName, hasFieldChanged, isDEF, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, setDEF, setErrorReporter, setFrameStateManager, setMetadataObject, setUserData, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setVersion, throwInitOnlyWriteException, throwInputOnlyWriteException, throwInvalidNodeException, throwInvalidProtoException, throwOutputOnlyWriteException, updateRefCount, updateRefsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.web3d.vrml.nodes.FrameStateListener
allEventsCompleteMethods inherited from interface org.web3d.vrml.lang.VRMLNode
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersionMethods inherited from interface org.web3d.vrml.nodes.VRMLNodeType
addNodeListener, clearRemovedLayerIds, getFieldValue, getLayerIds, getMetadataObject, getRefCount, getRemovedLayerIds, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount
-
Constructor Details
-
NRContact
public NRContact()Initialise the time dependent node and it's fields that are held locally. -
NRContact
Construct a new instance of this node based on the details from the given node. If the node is not the same type, an exception will be thrown.- Parameters:
node- The node to copy- Throws:
IllegalArgumentException- The node is not the same type
-