|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Representation of single space that contains more spaces and/or explicity local geometry for comparison. component.
See the specification definition at http://www.xj3d.org/extensions/rigid_physics.html
A space may contain other, nested spaces. Dividing geometry up by space can make for more efficient algorithms for determining inter-object collisions. It may also contain geometry from the X3DNBodyCollidable nodes that can be directly tested against this space, or children of this space.
The X3D definition of this abstract type is:
X3DNBodyCollidableNode : X3DChildNode, X3DBoundedObject {
SFNode [in,out] metadata NULL [X3DMetadataObject]
SFRotation [in,out] rotation 0 0 1 0 [0,1]
SFVec3f [in,out] translation 0 0 0 (-∞,∞)
SFVec3f [] bboxCenter 0 0 0 (-∞,∞)
SFVec3f [] bboxSize -1 -1 -1 [0,∞) or -1 -1 -1
}
| Method Summary | |
Space |
getODESpace()
Get the ODE object that represents the body to evaluate. |
boolean |
isEnabled()
Is this group enabled for use right now? |
void |
setParentODESpace(Space parent)
Set the parent space that this space belongs to. |
| 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 |
| Methods inherited from interface org.web3d.vrml.nodes.VRMLBoundedNodeType |
getBboxCenter, getBboxSize |
| Method Detail |
public Space getODESpace()
public void setParentODESpace(Space parent)
parent - The new parent of this object, or nullpublic boolean isEnabled()
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||