jjdh API

jjdh.opengl.exercises.playground.font
Class TextMesh

java.lang.Object
  extended by jjdh.opengl.meshes.core.AbstractMesh
      extended by jjdh.opengl.meshes.core.DirectMesh
          extended by jjdh.opengl.exercises.playground.font.TextMesh
All Implemented Interfaces:
Renderable, Mesh

public class TextMesh
extends DirectMesh

ToDo: Save single Characters in a display list and resuse them if possible

Author:
Jonas Jacobi, Dennis Heidsiek

Field Summary
protected  Container c
           
 
Fields inherited from class jjdh.opengl.meshes.core.AbstractMesh
material, position, rotation, scale
 
Constructor Summary
TextMesh(Font font, float height, String text)
           
 
Method Summary
protected  void privateRender(javax.media.opengl.GL gl)
          This method has to be overwritten by subcasses.
 
Methods inherited from class jjdh.opengl.meshes.core.DirectMesh
dispose
 
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

c

protected Container c
Constructor Detail

TextMesh

public TextMesh(Font font,
                float height,
                String text)
Method Detail

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 DirectMesh
Parameters:
gl - a OpenGL obejct

jjdh API

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