|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecty25.view.LabelRealizer25D
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 |
public LabelRealizer25D()
Method Detail |
public static void paintGL(javax.media.opengl.GLAutoDrawable drawable, Camera camera, y.view.YLabel label, Point3D pos)
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.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |