3 |
package org.fenfire.view.lava; |
package org.fenfire.view.lava; |
4 |
import org.nongnu.libvob.VobScene; |
import org.nongnu.libvob.VobScene; |
5 |
|
|
6 |
/** Interface for fast views. |
/** An interface for a view which change is done through setOrthoParams. |
7 |
* Changes VobScene by really not changing it. |
* If animation/interpolation is not needed and changing of |
8 |
|
* scene must be fast, the libvob platform provides a technique |
9 |
|
* to not regenerate but change parameters of VobScene.coords. |
10 |
|
* |
11 |
|
* @see VobCoorder |
12 |
* @see VobScene setOrthoBoxParams |
* @see VobScene setOrthoBoxParams |
13 |
*/ |
*/ |
14 |
public interface FastView { |
public interface FastView { |
15 |
|
|
16 |
|
/* Method to give the old scene to view. |
17 |
|
* @param oldVobScene is the VobScene which is used in previous |
18 |
|
* scene. The view must not try to rerender into this scene |
19 |
|
* but use parametrisation of old coordinate system through |
20 |
|
* setOrthoParams. |
21 |
|
* @see VobCoorder |
22 |
|
*/ |
23 |
void chgFast(VobScene oldVobScene); |
void chgFast(VobScene oldVobScene); |
24 |
} |
} |