jjdh API

jjdh.opengl.meshes.core
Class DirectMesh

java.lang.Object
  extended by jjdh.opengl.meshes.core.AbstractMesh
      extended by jjdh.opengl.meshes.core.DirectMesh
All Implemented Interfaces:
Renderable, Mesh
Direct Known Subclasses:
FractalTree, PathIteratorMesh, TextMesh

public abstract class DirectMesh
extends AbstractMesh


Field Summary
 
Fields inherited from class jjdh.opengl.meshes.core.AbstractMesh
material, position, rotation, scale
 
Constructor Summary
DirectMesh()
           
 
Method Summary
 void dispose(javax.media.opengl.GL gl)
          Cause this is a "Direct Draw" Mash, there are no OpenGL resources to dispose.
protected abstract  void privateRender(javax.media.opengl.GL gl)
          This method has to be overwritten by subcasses.
 
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
 

Constructor Detail

DirectMesh

public DirectMesh()
Method Detail

privateRender

protected abstract 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)
Cause this is a "Direct Draw" Mash, there are no OpenGL resources to dispose.


jjdh API

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