hmi.debug.physics
Class COMOffsetGeometry

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

public class COMOffsetGeometry
extends Object
implements GLRenderObject


Field Summary
private  float[] CoMOffset
           
private  float[] CoMOffsetDiff
           
(package private)  float drho
           
(package private)  float ds
           
(package private)  float dt
           
(package private)  float dtheta
           
(package private)  int numSlices
           
(package private)  int numStacks
           
(package private)  PhysicalHumanoid pHuman
           
(package private)  float radius
           
(package private)  int sphereList
           
 
Constructor Summary
COMOffsetGeometry(PhysicalHumanoid ph, float radius, int numSlices, int numStacks)
          Create a new CoMOffset object
 
Method Summary
 void glInit(GLRenderContext gl)
          Called during OpenGL initialization.
 void glRender(GLRenderContext gl)
          Called during openGL rendering.
private  void render(GLRenderContext gl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

radius

float radius

numSlices

int numSlices

numStacks

int numStacks

drho

float drho

dtheta

float dtheta

ds

float ds

dt

float dt

sphereList

int sphereList

pHuman

PhysicalHumanoid pHuman

CoMOffset

private float[] CoMOffset

CoMOffsetDiff

private float[] CoMOffsetDiff
Constructor Detail

COMOffsetGeometry

public COMOffsetGeometry(PhysicalHumanoid ph,
                         float radius,
                         int numSlices,
                         int numStacks)
Create a new CoMOffset object

Method Detail

glInit

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

Specified by:
glInit in interface GLRenderObject

glRender

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

Specified by:
glRender in interface GLRenderObject

render

private void render(GLRenderContext gl)