Class BaseCollidableShape

java.lang.Object
All Implemented Interfaces:
VRMLNode, FrameStateListener, VRMLBoundedNodeType, VRMLChildNodeType, VRMLNBodyCollidableNodeType, VRMLNodeType, VRMLWorldRootChildNodeType
Direct Known Subclasses:
NRCollidableShape, OGLCollidableShape

public abstract class BaseCollidableShape extends BaseCollidableNode
Implementation of the CollidableShape node.

The base class provides most of the basic functionality, including interacting with the ODE portions. However, for returning the scene graph object appropriate for the renderer will require the derived class to take care of it.

The X3D definition of CollidableShape is:

 CollidableShape : X3DNBodyCollidableNode {
   SFNode     [in,out] metadata       NULL     [X3DMetadataObject]
   SFBool     [in,out] enabled     TRUE
   SFVec3f    [in,out] position       0 0 0    (-∞,∞)
   SFRotation [in,out] rotation       0 0 1 0  [0,1]
   SFVec3f    []       bboxCenter     0 0 0    (-∞,∞)
   SFVec3f    []       bboxSize       -1 -1 -1 [0,∞) or -1 -1 -1
   SFBool              bboxDisplay    FALSE
   SFNode     []       shape          NULL     [Shape]
 }
 
Version:
$Revision: 1.9 $
Author:
Justin Couch