additv.modifiers
Class APTransform

java.lang.Object
  extended by additv.modifiers.AModifier
      extended by additv.modifiers.APTransform
All Implemented Interfaces:
AControlListener, AModifierI, ATransformI

public class APTransform
extends AModifier
implements ATransformI, AControlListener


Field Summary
 com.bulletphysics.dynamics.RigidBody body
           
 AToggle debug
           
 AToggle enabled
           
 
Fields inherited from class additv.modifiers.AModifier
children, controlListBuilt, controls
 
Constructor Summary
APTransform(com.bulletphysics.dynamics.DynamicsWorld _world, com.bulletphysics.collision.shapes.CollisionShape shape, com.bulletphysics.linearmath.Transform t, float mass)
           
 
Method Summary
 void aControlChanged(AControllableI control)
           
 void begin(javax.media.opengl.GL gl, int slice)
           
 void disable()
           
 void doTransform(javax.media.opengl.GL gl, int slice)
           
 void enable()
           
 void end(javax.media.opengl.GL gl, int slice)
           
 java.lang.String getName()
           
 javax.vecmath.Vector3f getPosition()
           
 
Methods inherited from class additv.modifiers.AModifier
addModifier, beginChildren, buildControlList, drawAfter, endChildren, getChildren, getControls, getSpreadCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

body

public com.bulletphysics.dynamics.RigidBody body

enabled

public AToggle enabled

debug

public AToggle debug
Constructor Detail

APTransform

public APTransform(com.bulletphysics.dynamics.DynamicsWorld _world,
                   com.bulletphysics.collision.shapes.CollisionShape shape,
                   com.bulletphysics.linearmath.Transform t,
                   float mass)
Method Detail

enable

public void enable()

disable

public void disable()

doTransform

public void doTransform(javax.media.opengl.GL gl,
                        int slice)
Specified by:
doTransform in interface ATransformI

getPosition

public javax.vecmath.Vector3f getPosition()

begin

public void begin(javax.media.opengl.GL gl,
                  int slice)
Specified by:
begin in interface AModifierI
Specified by:
begin in interface ATransformI

end

public void end(javax.media.opengl.GL gl,
                int slice)
Specified by:
end in interface AModifierI
Specified by:
end in interface ATransformI

getName

public java.lang.String getName()
Specified by:
getName in interface AModifierI

aControlChanged

public void aControlChanged(AControllableI control)
Specified by:
aControlChanged in interface AControlListener