|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VRMLRigidJointNodeType
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(org.odejava.World wld,
org.odejava.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, 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 |
| 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 |
|---|
void delete()
int numOutputs()
int[] getOutputFields()
void updateRequestedOutputs()
void setODEWorld(org.odejava.World wld,
org.odejava.JointGroup grp)
wld - The new world instance to use or nullgrp - The group that this joint should belong to
void setBody1(VRMLNodeType node)
throws InvalidFieldValueException
node - The new instance to use or null
InvalidFieldValueException - This was not a body node typeVRMLNodeType getBody2()
void setBody2(VRMLNodeType node)
throws InvalidFieldValueException
node - The new instance to use or null
InvalidFieldValueException - This was not a body node type
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||