net.java.dev.joode.joint
Class JointSlider

java.lang.Object
  extended by net.java.dev.joode.WorldObject
      extended by net.java.dev.joode.joint.Joint
          extended by net.java.dev.joode.joint.JointSlider
All Implemented Interfaces:
java.io.Serializable, SimState

public class JointSlider
extends Joint

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.java.dev.joode.joint.Joint
Joint.Info1, Joint.Info2
 
Field Summary
 Vector3 axis1
           
 JointLimitMotor limot
           
 Vector3 offset
           
 Quaternion qrel
           
 
Fields inherited from class net.java.dev.joode.joint.Joint
body, dJOINT_INGROUP, dJOINT_REVERSE, dJOINT_TWOBODIES, feedback, flags, lambda, MAX_BODIES
 
Fields inherited from class net.java.dev.joode.WorldObject
data, tag, world
 
Constructor Summary
JointSlider(World world)
           
 
Method Summary
 JointSlider cloneState(ClonedReferences util)
           deep clones the state object, any references to other SimState objects should be cloned and assigned to the clone via the ClonedReferences util object.
 void getInfo1(Joint.Info1 info)
           
 void getInfo2(Joint.Info2 info)
           
 void setAxis(float x, float y, float z)
           
 
Methods inherited from class net.java.dev.joode.joint.Joint
attach, destroy, partialCloneJoint, removeJointReferencesFromAttachedBodies, reset, setJointId
 
Methods inherited from class net.java.dev.joode.WorldObject
partialCloneWorldObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

axis1

public final Vector3 axis1

qrel

public final Quaternion qrel

offset

public final Vector3 offset

limot

public JointLimitMotor limot
Constructor Detail

JointSlider

public JointSlider(World world)
Method Detail

getInfo1

public void getInfo1(Joint.Info1 info)
Specified by:
getInfo1 in class Joint

getInfo2

public void getInfo2(Joint.Info2 info)
Specified by:
getInfo2 in class Joint

setAxis

public final void setAxis(float x,
                          float y,
                          float z)

cloneState

public JointSlider cloneState(ClonedReferences util)
Description copied from interface: SimState

deep clones the state object, any references to other SimState objects should be cloned and assigned to the clone via the ClonedReferences util object. The util object ensures that multiple clones of the same object are not performed during a clone operation.

Parameters:
util - instanciate a new one if top level cloning