jjdh API

jjdh.opengl.scenegraph.simple.core
Class FixedSizeSurface

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.Surface
              extended by jjdh.opengl.scenegraph.simple.core.FixedSizeSurface
All Implemented Interfaces:
TreeNode<ScenegraphNode>, Iterable<ScenegraphNode>, Renderable, ScenegraphNode
Direct Known Subclasses:
Quad, Triangle

public class FixedSizeSurface
extends Surface


Field Summary
protected  int size
           
 
Fields inherited from class dh.java.math.graph.AbstractTreeNode
childs
 
Constructor Summary
FixedSizeSurface(int size)
           
 
Method Summary
 void addVertices(Collection<Vertex> vertices)
           
 void addVertices(Vertex... vertices)
           
protected  boolean canAdd(int toAdd)
           
 
Methods inherited from class jjdh.opengl.scenegraph.simple.core.Surface
render
 
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

size

protected final int size
Constructor Detail

FixedSizeSurface

public FixedSizeSurface(int size)
Method Detail

canAdd

protected boolean canAdd(int toAdd)

addVertices

public void addVertices(Vertex... vertices)
Overrides:
addVertices in class Surface

addVertices

public void addVertices(Collection<Vertex> vertices)
Overrides:
addVertices in class Surface

jjdh API

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