|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.ohiou.cs456_badabing.sceneapi.HW6ARenderer
class HW6ARenderer
GLEventListener for HW6A
Description: Experimentation with JOGL
Copyright: Copyright (c) 2008, Lev A Neiman
Company: Ohio University EECS
| Field Summary | |
|---|---|
PieChart |
chart
|
private int |
cur_m_button
current mouse button. |
private static GLU |
glu
|
private LightNode |
light
|
private int |
mX
|
private int |
mY
|
private static float |
scale
scale for the chart. |
private static float |
xtilt
|
private static float |
ytilt
|
| Constructor Summary | |
|---|---|
HW6ARenderer()
|
|
| Method Summary | |
|---|---|
void |
display(GLAutoDrawable gLDrawable)
|
void |
displayChanged(GLAutoDrawable gLDrawable,
boolean modeChanged,
boolean deviceChanged)
|
void |
init(GLAutoDrawable gLDrawable)
Set up our scene. |
void |
keyPressed(java.awt.event.KeyEvent e)
|
void |
keyReleased(java.awt.event.KeyEvent e)
|
void |
keyTyped(java.awt.event.KeyEvent e)
|
void |
mouseClicked(java.awt.event.MouseEvent e)
|
void |
mouseDragged(java.awt.event.MouseEvent e)
|
void |
mouseEntered(java.awt.event.MouseEvent e)
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
void |
mouseMoved(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
|
void |
reshape(GLAutoDrawable gLDrawable,
int x,
int y,
int width,
int height)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final GLU glu
private LightNode light
public PieChart chart
private int mX
private int mY
private static float xtilt
private static float ytilt
private static float scale
private int cur_m_button
| Constructor Detail |
|---|
HW6ARenderer()
| Method Detail |
|---|
public void display(GLAutoDrawable gLDrawable)
public void displayChanged(GLAutoDrawable gLDrawable,
boolean modeChanged,
boolean deviceChanged)
public void init(GLAutoDrawable gLDrawable)
gLDrawable - GLAutoDrawable
public void reshape(GLAutoDrawable gLDrawable,
int x,
int y,
int width,
int height)
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed in interface java.awt.event.KeyListenerpublic void keyReleased(java.awt.event.KeyEvent e)
keyReleased in interface java.awt.event.KeyListenerpublic void keyTyped(java.awt.event.KeyEvent e)
keyTyped in interface java.awt.event.KeyListenerpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenerpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenerpublic void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved in interface java.awt.event.MouseMotionListenerpublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged in interface java.awt.event.MouseMotionListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||