hmi.debug.physics
Class RigidBodyToVJoint

java.lang.Object
  extended by hmi.debug.physics.RigidBodyToVJoint
All Implemented Interfaces:
GLRenderObject

 class RigidBodyToVJoint
extends Object
implements GLRenderObject

a GLRenderObject that, upon rendering, copies the coordinates of a rigidbody onto a VJoint.


Field Summary
private  float[] rotationFromRigidBody
           
private  float[] translationFromRigidBody
           
private  VJoint vj
           
 
Constructor Summary
RigidBodyToVJoint(RigidBody rigidBody, VJoint newvj)
           
 
Method Summary
 void glInit(GLRenderContext gl)
          Called during OpenGL initialization.
 void glRender(GLRenderContext gl)
          Called during openGL rendering.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

translationFromRigidBody

private float[] translationFromRigidBody

rotationFromRigidBody

private float[] rotationFromRigidBody

vj

private VJoint vj
Constructor Detail

RigidBodyToVJoint

public RigidBodyToVJoint(RigidBody rigidBody,
                         VJoint newvj)
Method Detail

glRender

public void glRender(GLRenderContext gl)
Description copied from interface: GLRenderObject
Called during openGL rendering.

Specified by:
glRender in interface GLRenderObject

glInit

public void glInit(GLRenderContext gl)
Description copied from interface: GLRenderObject
Called during OpenGL initialization.

Specified by:
glInit in interface GLRenderObject