Statistics
| Revision:

gvsig-3d / 2.0 / trunk / org.gvsig.gvsig3d / org.gvsig.gvsig3d.lib / org.gvsig.gvsig3d.lib.api / src / main / java / org / gvsig / gvsig3d / Gvsig3DManager.java @ 237

History | View | Annotate | Download (3.19 KB)

1
/* gvSIG. Geographic Information System of the Valencian Government
2
 *
3
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
4
 * of the Valencian Government (CIT)
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 2
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 */
22
package org.gvsig.gvsig3d;
23

    
24
import org.cresques.cts.IProjection;
25
import org.gvsig.fmap.mapcontext.ViewPort;
26
import org.gvsig.gvsig3d.map3d.GraphicLayer3D;
27
import org.gvsig.gvsig3d.map3d.Layer3DProps;
28
import org.gvsig.gvsig3d.map3d.MapContext3D;
29
import org.gvsig.gvsig3d.map3d.MapControl3D;
30
import org.gvsig.gvsig3d.map3d.ViewPort3D;
31
import org.gvsig.gvsig3d.map3d.layers.FLayers3D;
32
import org.gvsig.osgvp.terrain.Terrain;
33
import org.gvsig.osgvp.terrain.TerrainViewer;
34
import org.gvsig.tools.service.Manager;
35

    
36
/**
37
 * This class is responsible of the management of the library's business logic.
38
 * It is the library's main entry point, and provides all the services to manage
39
 * {@link Gvsig3DService}s.
40
 * 
41
 * @see Gvsig3DService
42
 * @author gvSIG team
43
 * @version $Id$
44
 */
45
public interface Gvsig3DManager extends Manager {
46

    
47
        public void registerDefaultMapContext3D(Class mapContext3DClass);
48

    
49
        public MapContext3D createMapContext3DInstance(String name)
50
                        throws Gvsig3DException;
51

    
52
        public MapContext3D createDefaultMapContext3DInstance();
53

    
54
        public MapContext3D createDefaultMapContext3DInstance(ViewPort vp);
55

    
56
        public void registerDefaultMapControl3D(Class mapControl3DClass);
57

    
58
        public MapControl3D createMapControl3DInstance(String name)
59
                        throws Gvsig3DException;
60

    
61
        public MapControl3D createDefaultMapControl3DInstance()
62
                        throws Gvsig3DException;
63

    
64
        public FLayers3D createFLayers3DInstance(String name)
65
                        throws Gvsig3DException;
66

    
67
        public FLayers3D createDefaultFLayers3DInstance(ViewPort vp);
68

    
69
        public void registerDefaultGraphicsLayer3D(Class graphicLayer3DClass);
70

    
71
        public GraphicLayer3D createGraphicsLayer3DInstance(String name)
72
                        throws Gvsig3DException;
73

    
74
        public GraphicLayer3D createDefaultGraphicsLayer3DInstance(
75
                        TerrainViewer terrainViewer, Terrain terrain)
76
                        throws Gvsig3DException;
77

    
78
        public void registerDefaultLayer3DProps(Class layer3DPropsClass);
79

    
80
        public Layer3DProps createLayer3DPropsInstance(String name)
81
                        throws Gvsig3DException;
82

    
83
        public Layer3DProps createDefaultLayer3DPropsInstance()
84
                        throws Gvsig3DException;
85

    
86
        public void registerDefaultViewPort3D(Class viewPort3DClass);
87

    
88
        public ViewPort3D createtDefaultViewPort3DInstance(IProjection proj);
89

    
90
        public ViewPort3D createViewPort3DInstance(String name)
91
                        throws Gvsig3DException;
92

    
93
        public ViewPort3D createDefaultViewPort3DInstance()
94
                        throws Gvsig3DException;
95

    
96
}