hmi.physics.ode
Class OdePhysicalSegment
java.lang.Object
hmi.physics.PhysicalSegment
hmi.physics.ode.OdePhysicalSegment
- All Implemented Interfaces:
- VObject
public class OdePhysicalSegment
- extends PhysicalSegment
| Fields inherited from class hmi.physics.PhysicalSegment |
axis1, axis2, box, hiStop, id, jointType, loStop, name, onGround, sid, startJoint, startJointOffset |
| 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 |
world
private org.odejava.World world
space
private org.odejava.Space space
odeBody
private OdeRigidBody odeBody
OdePhysicalSegment
public OdePhysicalSegment(String segmentId,
String segmentSID,
org.odejava.World w,
org.odejava.Space s)
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