3 |
PEG animation_api--mudyc: Animation Layer API |
PEG animation_api--mudyc: Animation Layer API |
4 |
========================================================================== |
========================================================================== |
5 |
|
|
6 |
:Authors: Matti J. Katila |
:Authors: mudyc |
7 |
:Date-Created: 2003-09-27 |
:Date-Created: 2003-09-27 |
8 |
:Last-Modified: $Date$ |
:Last-Modified: $Date$ |
9 |
:Revision: $Revision$ |
:Revision: $Revision$ |
68 |
* |
* |
69 |
* 2) There must not be objects that call low-level animation |
* 2) There must not be objects that call low-level animation |
70 |
* interface to change animation state. This could prevent |
* interface to change animation state. This could prevent |
71 |
* proper animation, i.e., by setting no animation even |
* proper animation, e.g., by setting no animation even |
72 |
* animation should be done. |
* animation should be done. |
73 |
*/ |
*/ |
74 |
public interface AnimationAPI { |
public interface AnimationAPI { |
75 |
|
|
76 |
/** Set the update method in next change to be reuse of the same vobscene. |
/** Set the update method in next change to reuse of the previous vobscene. |
77 |
* There's no animation between this and next frame, |
* There's no animation between this and next frame, |
78 |
* only coordinate parameter changes are noticable. |
* only coordinate parameter changes are notable, |
79 |
|
* which indeed can also be like animation. |
80 |
* <p> |
* <p> |
81 |
* If the update is set with another update method |
* If the update is set with other update set method after this set but |
82 |
* before change, this method is obsoleted. |
* before change, this set is obsoleted. |
83 |
*/ |
*/ |
84 |
void reuseVS(String caller); |
void reuseVS(String caller); |
85 |
|
|
86 |
|
|
87 |
/** Set the update method in next change to be animation/interpolation between vobmatcher keys |
/** Set the update method in next change to animation/interpolation action between vobmatcher keys |
88 |
* <p> |
* <p> |
89 |
* If the update is set with another update method |
* If the update is set with other update set method after this set but |
90 |
* before change, this method is obsoleted. |
* before change, this set is obsoleted. |
91 |
* @see VobMatcher |
* @see VobMatcher |
92 |
*/ |
*/ |
93 |
void animate(String caller); |
void animate(String caller); |
94 |
|
|
95 |
|
|
96 |
/** Change to next frame instantly. |
/** Change to next frame. |
97 |
*/ |
*/ |
98 |
void chg(String caller); |
void chg(String caller); |
99 |
|
|
109 |
|
|
110 |
/** Get the current visible vobscene. |
/** Get the current visible vobscene. |
111 |
* While programming, you are creating vobscene |
* While programming, you are creating vobscene |
112 |
* for future usually, so this returns the obivious previous vobscene. |
* for future usually, so this returns the obivious previous |
113 |
|
* vobscene, e.g., to set coordinate system parameters. |
114 |
*/ |
*/ |
115 |
VobScene getLastVS(); |
VobScene getLastVS(); |
116 |
} |
} |