Statistics
| Revision:

gvsig-3d / org.gvsig.animation3d / trunk / org.gvsig.animation3d / org.gvsig.animation3d.swing / org.gvsig.animation3d.swing.api / src / main / java / org / gvsig / animation3d / swing / api / Animation3D.java @ 687

History | View | Annotate | Download (1.21 KB)

1
package org.gvsig.animation3d.swing.api;
2

    
3
import java.util.List;
4

    
5
import org.gvsig.tools.persistence.Persistent;
6

    
7
/**
8
 * This class represents a list of {@link Frame3D} to make a view animation.
9
 * There are two list of {@link Frame3D}, flat 3D frames and spherical 3d
10
 * frames.
11
 * 
12
 * @author <a href="mailto:lmarques@disid.com">Lluis Marques</a>
13
 *
14
 */
15
public interface Animation3D extends Persistent {
16

    
17
    /**
18
     * 
19
     * @return Name of animation
20
     */
21
    public String getName();
22

    
23
    /**
24
     * Sets name of animation
25
     * 
26
     * @param name
27
     *            Animation name
28
     */
29
    public void setName(String name);
30

    
31
    /**
32
     * @return Returns spherical animation frames.
33
     */
34
    public List<Frame3D> getSphericalFrames();
35

    
36
    /**
37
     * @return Returns flat animation frames
38
     */
39
    public List<Frame3D> getFlatFrames();
40

    
41
    /**
42
     * Sets the spherical frame list to this animation
43
     * 
44
     * @param frames
45
     *            A list with frames
46
     */
47
    public void setSphericalFrames(List<Frame3D> frames);
48

    
49
    /**
50
     * Sets the flat frame list to this animation
51
     * 
52
     * @param frames
53
     *            A list with frames
54
     */
55
    public void setFlatFrames(List<Frame3D> frames);
56

    
57
}