y25.view
Class LabelRealizer25D

java.lang.Object
  extended byy25.view.LabelRealizer25D

public class LabelRealizer25D
extends java.lang.Object

Provides a mechanism for rendering labels into an OpenGL context. * TODO !


Constructor Summary
LabelRealizer25D()
           
 
Method Summary
static void paintGL(javax.media.opengl.GLAutoDrawable drawable, Camera camera, y.view.YLabel label, Point3D pos)
          Renders the passed label into the given drawable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelRealizer25D

public LabelRealizer25D()
Method Detail

paintGL

public static void paintGL(javax.media.opengl.GLAutoDrawable drawable,
                           Camera camera,
                           y.view.YLabel label,
                           Point3D pos)
Renders the passed label into the given drawable.

Parameters:
drawable - the drawable that the label will be rendered into.
camera - used to determine the orientation of the label such that is faces the viewer.
label - the label that will be rendered.
pos - the position of the labbel. The text of the label will be centered at this position.