|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gzz.client.Screen
An aggregate which defines a user-visible window and its contents. The View+Controller part of MVC.
Field Summary | |
Binder |
binder
The input handler (controller). |
static boolean |
dbg
|
protected float |
latestFract
|
protected float |
latestLod
|
protected VobScene |
next
|
protected VobScene |
prev
|
static java.lang.String |
rcsid
|
Shower |
shower
The view. |
GraphicsAPI.Window |
window
The window system -level window. |
Constructor Summary | |
Screen(GraphicsAPI.Window window,
Binder binder,
Shower shower)
|
Method Summary | |
boolean |
animUseful()
|
void |
changeStartState(float fract)
After this renderAnim(0, ...) would do the same as renderAnim(fract, ...) did before the call, if the end state wasn't destroyed (which it is). |
void |
endAnimation()
Same as changeStartState(1), except that the end state doesn't exist afterwards. |
boolean |
generateEndState(int millis,
float lod)
Creates an end state, and returns true iff the time given for generation was sufficient for the given level of detail. |
VobScene |
getVobSceneForEvents()
|
boolean |
hasEndState()
Whether the endstate has been generated. |
void |
printScreen()
|
void |
renderAnim(float fract,
float lod,
boolean showFinal)
Render state between start and end (interpolation), with the specified level of detail. |
void |
renderStill(float lod)
Renders and display current view state on screen |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String rcsid
public static boolean dbg
public final GraphicsAPI.Window window
public final Binder binder
public final Shower shower
protected VobScene prev
protected VobScene next
protected float latestFract
protected float latestLod
Constructor Detail |
public Screen(GraphicsAPI.Window window, Binder binder, Shower shower)
Method Detail |
public void printScreen()
public boolean hasEndState()
AbstractUpdateManager.Window
hasEndState
in interface AbstractUpdateManager.Window
public boolean animUseful()
animUseful
in interface AbstractUpdateManager.Window
public void changeStartState(float fract)
AbstractUpdateManager.Window
changeStartState
in interface AbstractUpdateManager.Window
public void endAnimation()
AbstractUpdateManager.Window
endAnimation
in interface AbstractUpdateManager.Window
public boolean generateEndState(int millis, float lod)
AbstractUpdateManager.Window
generateEndState
in interface AbstractUpdateManager.Window
public void renderStill(float lod)
renderStill
in interface AbstractUpdateManager.Window
public void renderAnim(float fract, float lod, boolean showFinal)
AbstractUpdateManager.Window
renderAnim
in interface AbstractUpdateManager.Window
showFinal
- Whether to show (unanimated) the parts
of the final view that are not animated.
This can be used to make the effect of going slightly
too far - coming back faster, not making the user wait
for the very end of the animation to see everything.public VobScene getVobSceneForEvents()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |