hmi.debug.animation
Class GLProcAnimGeometry

java.lang.Object
  extended by hmi.debug.animation.GLProcAnimGeometry
All Implemented Interfaces:
GLRenderObject

public class GLProcAnimGeometry
extends Object
implements GLRenderObject

A series of diamonds that trace the route of a procanimation end effector Primary for debugging purposes, optimized for flexibility, not rendering speed.

Author:
Dennis Reidsma

Field Summary
(package private)  float drho
           
(package private)  float ds
           
(package private)  float dt
           
(package private)  float dtheta
           
(package private)  EndEffector eff
           
(package private) static int NUM_SHAPES
           
(package private)  int numSlices
           
(package private)  int numStacks
           
(package private)  float radius
           
(package private)  int sphereList
           
 
Constructor Summary
GLProcAnimGeometry(EndEffector e, float factor)
          Constructor
 
Method Summary
 void glInit(GLRenderContext gl)
          Called during OpenGL initialization.
 void glRender(GLRenderContext gl)
          Called during openGL rendering.
private  void render(GLRenderContext gl)
           
private  void renderOneStep(GLRenderContext gl, float[] offset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUM_SHAPES

static final int NUM_SHAPES
See Also:
Constant Field Values

drho

float drho

dtheta

float dtheta

ds

float ds

dt

float dt

radius

float radius

numSlices

int numSlices

numStacks

int numStacks

sphereList

int sphereList

eff

EndEffector eff
Constructor Detail

GLProcAnimGeometry

public GLProcAnimGeometry(EndEffector e,
                          float factor)
Constructor

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)

renderOneStep

private void renderOneStep(GLRenderContext gl,
                           float[] offset)