jjdh API

jjdh.opengl.meshes.core
Class Container

java.lang.Object
  extended by jjdh.opengl.meshes.core.AbstractMesh
      extended by jjdh.opengl.meshes.core.Container
All Implemented Interfaces:
Renderable, Mesh
Direct Known Subclasses:
FractalForrest

public class Container
extends AbstractMesh


Field Summary
protected  ArrayList<Mesh> children
           
 
Fields inherited from class jjdh.opengl.meshes.core.AbstractMesh
material, position, rotation, scale
 
Constructor Summary
Container()
           
Container(Collection<? extends Mesh> meshes)
           
Container(Mesh... meshes)
           
 
Method Summary
 void addChild(Mesh mesh)
           
 void dispose(javax.media.opengl.GL gl)
           
protected  void privateRender(javax.media.opengl.GL gl)
          This method has to be overwritten by subcasses.
 void removeChild(Mesh mesh)
           
 
Methods inherited from class jjdh.opengl.meshes.core.AbstractMesh
applyMaterial, applyPosition, applyRotation, applyScaling, getMaterial, getPosition, move, render, rotate, setMaterial, setPosition, setRotation, setScale, toString, unApplyMaterial
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

children

protected ArrayList<Mesh> children
Constructor Detail

Container

public Container()

Container

public Container(Mesh... meshes)

Container

public Container(Collection<? extends Mesh> meshes)
Method Detail

addChild

public void addChild(Mesh mesh)

removeChild

public void removeChild(Mesh mesh)

privateRender

protected void privateRender(javax.media.opengl.GL gl)
Description copied from class: AbstractMesh
This method has to be overwritten by subcasses.

Specified by:
privateRender in class AbstractMesh
Parameters:
gl - a OpenGL obejct

dispose

public void dispose(javax.media.opengl.GL gl)

jjdh API

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