jjdh API

jjdh.opengl.scenegraph.simple.core
Class TextureNode

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

public class TextureNode
extends ContainerScenegraphNode


Field Summary
private  com.sun.opengl.util.texture.Texture texture
           
 
Fields inherited from class dh.java.math.graph.AbstractTreeNode
childs
 
Constructor Summary
TextureNode(com.sun.opengl.util.texture.Texture t)
           
TextureNode(com.sun.opengl.util.texture.Texture t, ScenegraphNode... nodes)
           
 
Method Summary
 void render(javax.media.opengl.GL gl)
           
 void setTexture(com.sun.opengl.util.texture.Texture t)
           
 
Methods inherited from class jjdh.opengl.scenegraph.simple.core.ContainerScenegraphNode
add, addAll, addAll, insert, iterator, remove, renderChildren, rotate, shuffle
 
Methods inherited from class dh.java.math.graph.AbstractTreeNode
getChilds, getName, isLeaf, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface dh.java.math.graph.TreeNode
getChilds, isLeaf
 

Field Detail

texture

private com.sun.opengl.util.texture.Texture texture
Constructor Detail

TextureNode

public TextureNode(com.sun.opengl.util.texture.Texture t)

TextureNode

public TextureNode(com.sun.opengl.util.texture.Texture t,
                   ScenegraphNode... nodes)
Method Detail

render

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

setTexture

public void setTexture(com.sun.opengl.util.texture.Texture t)

jjdh API

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