|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GLGraphics
GL graphics producer. Repaints the canvas using OpenGL (JOGL library). Can be used with GL graphics viewer or PBuffer if available.
| Method Summary | |
|---|---|
void |
initRoutine(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu)
Initialization of GL context. |
void |
paintRoutine(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu)
Routine responsible for GL context repainting. |
void |
reshapeRoutine(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
int x,
int y,
int width,
int height)
Reshape routine is called every time the dimensions of GL context are changed. |
| Method Detail |
|---|
void initRoutine(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu)
gl - GL commands access object.glu - GLU commands access object.
void paintRoutine(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu)
gl - GL commands access object.glu - GLU commands access object.
void reshapeRoutine(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
int x,
int y,
int width,
int height)
gl - GL commands access object.glu - GLU commands access object.x - X position of reshaped canvas.y - Y position of reshaped canvas.width - Width of reshaped canvas.height - Height of reshaped canvas.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||