27 |
package org.fenfire.view.lava; |
package org.fenfire.view.lava; |
28 |
import org.nongnu.libvob.VobScene; |
import org.nongnu.libvob.VobScene; |
29 |
|
|
30 |
/** An interface for a view which change is done through setOrthoParams. |
/** An interface for a view which can change by setting coordinate system parameters. |
31 |
* If animation/interpolation is not needed and changing of |
* If animation/interpolation is not needed and changing of |
32 |
* scene must be fast, the libvob platform provides a technique |
* scene must be fast, the libvob platform provides a technique |
33 |
* to not regenerate but change parameters of VobScene.coords. |
* to not regenerate VobScene but set parameters of existing coordinate systems. |
34 |
* |
* |
35 |
* @see VobCoorder |
* @see VobCoorder |
|
* @see VobScene setOrthoBoxParams |
|
36 |
*/ |
*/ |
37 |
public interface FastView { |
public interface FastView { |
38 |
|
|
39 |
/* Method to give the old scene to view. |
/* A method to push a view to set it's coordinate system parameters. |
40 |
* @param oldVobScene is the VobScene which is used in previous |
* @param oldVobScene is the VobScene which is used in current visible |
41 |
* scene. The view must not try to rerender into this scene |
* scene. The view must not try to rerender into this scene |
42 |
* but use parametrisation of old coordinate system through |
* but use parametrisation of old coordinate system instead. |
|
* setOrthoParams. |
|
43 |
* @see VobCoorder |
* @see VobCoorder |
44 |
*/ |
*/ |
45 |
void chgFast(VobScene oldVobScene, int parent); |
void chgFast(VobScene oldVobScene, int parent); |