|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.ohiou.cs456_badabing.sceneapi.exec.ViewPanel.zoomerInner
private class ViewPanel.zoomerInner
inner class to handle zooming in stuff.
Description: Experimentation with JOGL
Copyright: Copyright (c) 2008, Lev A Neiman
Company: Ohio University EECS
| Field Summary | |
|---|---|
long |
duration
how long should the whole zoom-in process take place (in milliseconds) ? 1000 * 2 = 2 seconds. |
private double |
scale_i
values of position, zoom_in and tilt at the time of creation. |
(package private) boolean |
should_destroy
if this is set to true then shouldDestroy will return true, do appropriate steps, and display method will destroy instance of this object by setting it to null. |
private long |
start_time
time that this object was created. |
private Coordinate |
where
Coordinate of where zooming in should zoom in to. |
private double |
x_disp_i
values of position, zoom_in and tilt at the time of creation. |
private double |
xtilt_i
values of position, zoom_in and tilt at the time of creation. |
private double |
y_disp_i
values of position, zoom_in and tilt at the time of creation. |
private double |
ytilt_i
values of position, zoom_in and tilt at the time of creation. |
private double |
z_disp_i
values of position, zoom_in and tilt at the time of creation. |
double |
zdisp_f
this is equivalent to how close the zoom_in should be when its done. |
| Constructor Summary | |
|---|---|
ViewPanel.zoomerInner(Coordinate where)
default constructor. |
|
| Method Summary | |
|---|---|
boolean |
shouldDestroy()
if this object should be destroyes, then set position and tilt values to their final ones, and return true so display method can destroy this object. |
void |
step()
advance one step in zooming process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
boolean should_destroy
private long start_time
private double xtilt_i
private double ytilt_i
private double x_disp_i
private double y_disp_i
private double z_disp_i
private double scale_i
private Coordinate where
public long duration
public double zdisp_f
| Constructor Detail |
|---|
public ViewPanel.zoomerInner(Coordinate where)
where - Coordinate| Method Detail |
|---|
public void step()
public boolean shouldDestroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||