Revision 671 org.gvsig.animation3d/trunk/org.gvsig.animation3d/org.gvsig.animation3d.swing/org.gvsig.animation3d.swing.api/src/main/java/org/gvsig/animation3d/swing/api/Animation3DSwingManager.java
Animation3DSwingManager.java | ||
---|---|---|
1 | 1 |
package org.gvsig.animation3d.swing.api; |
2 | 2 |
|
3 |
import java.util.List; |
|
4 |
|
|
5 |
import org.gvsig.fmap.geom.primitive.Point; |
|
6 |
import org.gvsig.fmap.mapcontext.layers.ExtendedPropertiesSupport; |
|
7 |
|
|
3 | 8 |
/** |
4 | 9 |
* |
5 | 10 |
* @author <a href="mailto:lmarques@disid.com">Lluis Marques</a> |
... | ... | |
7 | 12 |
*/ |
8 | 13 |
public interface Animation3DSwingManager { |
9 | 14 |
|
15 |
/** |
|
16 |
* Creates a new {@link Frame3D}. |
|
17 |
* |
|
18 |
* @param name |
|
19 |
* @param heading |
|
20 |
* @param pitch |
|
21 |
* @param elevation |
|
22 |
* @param position |
|
23 |
* @param zoom |
|
24 |
* @return New {@link Frame3D}. |
|
25 |
*/ |
|
26 |
public Frame3D createFrame3D(String name, double heading, double pitch, double elevation, |
|
27 |
Point position, double zoom); |
|
28 |
|
|
29 |
/** |
|
30 |
* Creates new instance of {@link Animation3D} with name and {@link Frame3D} |
|
31 |
* list. |
|
32 |
* |
|
33 |
* @param name |
|
34 |
* Name of animation |
|
35 |
* @param sphericalFrames |
|
36 |
* List of spherical frames |
|
37 |
* @param flatFrames |
|
38 |
* List of flat frames |
|
39 |
* @return New {@link Animation3D}. |
|
40 |
*/ |
|
41 |
public Animation3D createAnimation3D(String name, List<Frame3D> sphericalFrames, |
|
42 |
List<Frame3D> flatFrames); |
|
43 |
|
|
44 |
/** |
|
45 |
* Gets animations associated with the properties. If properties does not |
|
46 |
* have animations, it will be initialized with an empty list. |
|
47 |
* |
|
48 |
* @param properties |
|
49 |
* Properties to get animations. |
|
50 |
* @return Animations of properties. |
|
51 |
*/ |
|
52 |
public List<Animation3D> getAnimations(ExtendedPropertiesSupport properties); |
|
53 |
|
|
54 |
/** |
|
55 |
* Sets list animations to properties. |
|
56 |
* |
|
57 |
* @param properties |
|
58 |
* Properties to link with animations. |
|
59 |
* @param animations |
|
60 |
* Animation list. |
|
61 |
*/ |
|
62 |
public void setAnimations(ExtendedPropertiesSupport properties, List<Animation3D> animations); |
|
63 |
|
|
10 | 64 |
} |
Also available in: Unified diff