hmi.debug.physics
Class PhysicalHumanVGLNode

java.lang.Object
  extended by hmi.graphics.opengl.scenegraph.VGLNode
      extended by hmi.debug.physics.PhysicalHumanVGLNode
All Implemented Interfaces:
GLRenderObject

 class PhysicalHumanVGLNode
extends VGLNode

subclass of vgl node with one addition: if the physical human is not active, the node is not rendered. NOTE if you add this vglnode to another vglnode, this magic property will disappear!! (see VGLNode.addChild to understand this)


Field Summary
private  PhysicalHumanoid pHuman
           
 
Constructor Summary
PhysicalHumanVGLNode(PhysicalHumanoid ph, VJoint phVJoint, GLRenderList shapeList)
           
 
Method Summary
 void glRender(GLRenderContext glc)
          OpenGL rendering.
 
Methods inherited from class hmi.graphics.opengl.scenegraph.VGLNode
addChild, addGLShape, addMarker, addMarker, getGLShapeList, getRoot, glInit, prependGLShape, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pHuman

private PhysicalHumanoid pHuman
Constructor Detail

PhysicalHumanVGLNode

public PhysicalHumanVGLNode(PhysicalHumanoid ph,
                            VJoint phVJoint,
                            GLRenderList shapeList)
Method Detail

glRender

public void glRender(GLRenderContext glc)
Description copied from class: VGLNode
OpenGL rendering.

Specified by:
glRender in interface GLRenderObject
Overrides:
glRender in class VGLNode