hmi.physics.ode
Class OdePhysicalSegment

java.lang.Object
  extended by hmi.physics.PhysicalSegment
      extended by hmi.physics.ode.OdePhysicalSegment
All Implemented Interfaces:
VObject

public class OdePhysicalSegment
extends PhysicalSegment


Nested Class Summary
 
Nested classes/interfaces inherited from interface hmi.animation.VObject
VObject.Predicate
 
Field Summary
private  OdeRigidBody odeBody
           
private  org.odejava.Space space
           
private  org.odejava.World world
           
 
Fields inherited from class hmi.physics.PhysicalSegment
axis1, axis2, box, hiStop, id, jointType, loStop, name, onGround, sid, startJoint, startJointOffset
 
Constructor Summary
OdePhysicalSegment(String segmentId, String segmentSID, org.odejava.World w, org.odejava.Space s)
           
 
Method Summary
 Mass createMass()
          Create the appropiate mass subclass
 void setId(String id)
          Set the name
 
Methods inherited from class hmi.physics.PhysicalSegment
clear, getAngularVelocity, getAngularVelocity, getId, getName, getRotation, getRotation, getRotationBuffer, getScale, getScale, getScaleBuffer, getSid, getTranslation, getTranslation, getTranslationBuffer, getVelocity, getVelocity, set, setAngularVelocity, setAngularVelocity, setAngularVelocity, setAxisAngle, setEnabled, setName, setRotation, setRotation, setRotation, setScale, setScale, setSid, setTranslation, setTranslation, setTranslation, setVelocity, setVelocity, setVelocity, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

world

private org.odejava.World world

space

private org.odejava.Space space

odeBody

private OdeRigidBody odeBody
Constructor Detail

OdePhysicalSegment

public OdePhysicalSegment(String segmentId,
                          String segmentSID,
                          org.odejava.World w,
                          org.odejava.Space s)
Method Detail

setId

public void setId(String id)
Description copied from class: PhysicalSegment
Set the name

Specified by:
setId in interface VObject
Overrides:
setId in class PhysicalSegment
Parameters:
id - the new name

createMass

public Mass createMass()
Description copied from class: PhysicalSegment
Create the appropiate mass subclass

Specified by:
createMass in class PhysicalSegment
Returns:
the mass