|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Representation of a X3DRigidJointNode extension node in Xj3D.
A joint represents the connection between two bodies.
| Method Summary | |
void |
delete()
This node is about to be deleted due to a change in loaded world. |
VRMLNodeType |
getBody2()
Fetch the reference to the second body that is used in this joint. |
int[] |
getOutputFields()
Get the array of output field indices for this joint. |
int |
numOutputs()
Get the number of valid fields that the user has requested updates for. |
void |
setBody1(VRMLNodeType node)
Set the node that should be used for the first body. |
void |
setBody2(VRMLNodeType node)
Set the node that should be used for the second body. |
void |
setODEWorld(World wld,
JointGroup grp)
Set the parent world that this body belongs to. |
void |
updateRequestedOutputs()
Instruction to the node to fetch the appropriate field values' output from the physics model and update the outputOnly field with the values. |
| 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 |
public void delete()
public int numOutputs()
public int[] getOutputFields()
public void updateRequestedOutputs()
public void setODEWorld(World wld,
JointGroup grp)
wld - The new world instance to use or nullgrp - The group that this joint should belong to
public void setBody1(VRMLNodeType node)
throws InvalidFieldValueException
node - The new instance to use or null
InvalidFieldValueException - This was not a body node typepublic VRMLNodeType getBody2()
public void setBody2(VRMLNodeType node)
throws InvalidFieldValueException
node - The new instance to use or null
InvalidFieldValueException - This was not a body node type
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||