jjdh API

jjdh.opengl.scenegraph.simple.common
Class BoomEffectNode

java.lang.Object
  extended by dh.java.math.graph.AbstractTreeNode<ScenegraphNode>
      extended by jjdh.opengl.scenegraph.simple.core.LeafScenegraphNode
          extended by jjdh.opengl.scenegraph.simple.common.BoomEffectNode
All Implemented Interfaces:
TreeNode<ScenegraphNode>, Iterable<ScenegraphNode>, Renderable, ScenegraphNode

public class BoomEffectNode
extends LeafScenegraphNode


Field Summary
private  boolean enabled
           
private static com.sun.opengl.cg.CGparameter modelViewMatrix
           
private static CgProgram program
           
private static com.sun.opengl.cg.CGparameter ring
           
private  float sizeexpand
           
private static com.sun.opengl.util.texture.Texture texture
           
private  float thickness
           
 
Fields inherited from class dh.java.math.graph.AbstractTreeNode
childs
 
Constructor Summary
BoomEffectNode()
           
 
Method Summary
private static void loadProgram()
           
 void render(javax.media.opengl.GL gl)
           
 void reset()
           
 void setEnabled(boolean enable)
           
 boolean step()
           
 
Methods inherited from class jjdh.opengl.scenegraph.simple.core.LeafScenegraphNode
getChilds, isLeaf, iterator
 
Methods inherited from class dh.java.math.graph.AbstractTreeNode
getName, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

program

private static CgProgram program

modelViewMatrix

private static com.sun.opengl.cg.CGparameter modelViewMatrix

ring

private static com.sun.opengl.cg.CGparameter ring

texture

private static com.sun.opengl.util.texture.Texture texture

sizeexpand

private float sizeexpand

thickness

private float thickness

enabled

private boolean enabled
Constructor Detail

BoomEffectNode

public BoomEffectNode()
Method Detail

setEnabled

public void setEnabled(boolean enable)

loadProgram

private static void loadProgram()

render

public void render(javax.media.opengl.GL gl)
Specified by:
render in interface Renderable
Overrides:
render in class LeafScenegraphNode

step

public boolean step()

reset

public void reset()

jjdh API

Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.