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 @ 257
History | View | Annotate | Download (3.32 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.fmap.mapcontext.layers.FLayers; |
27 |
import org.gvsig.gvsig3d.map3d.GraphicLayer3D; |
28 |
import org.gvsig.gvsig3d.map3d.Layer3DProps; |
29 |
import org.gvsig.gvsig3d.map3d.MapContext3D; |
30 |
import org.gvsig.gvsig3d.map3d.MapControl3D; |
31 |
import org.gvsig.gvsig3d.map3d.ViewPort3D; |
32 |
import org.gvsig.gvsig3d.map3d.layers.FLayers3D; |
33 |
import org.gvsig.osgvp.terrain.Terrain; |
34 |
import org.gvsig.osgvp.terrain.TerrainViewer; |
35 |
import org.gvsig.tools.service.Manager; |
36 |
|
37 |
/**
|
38 |
* This class is responsible of the management of the library's business logic.
|
39 |
* It is the library's main entry point, and provides all the services to manage
|
40 |
* {@link Gvsig3DService}s.
|
41 |
*
|
42 |
* @see Gvsig3DService
|
43 |
* @author gvSIG team
|
44 |
* @version $Id$
|
45 |
*/
|
46 |
public interface Gvsig3DManager extends Manager { |
47 |
|
48 |
public void registerDefaultMapContext3D(Class mapContext3DClass); |
49 |
|
50 |
public MapContext3D createMapContext3DInstance(String name) |
51 |
throws Gvsig3DException;
|
52 |
|
53 |
public MapContext3D createDefaultMapContext3DInstance();
|
54 |
|
55 |
public MapContext3D createDefaultMapContext3DInstance(ViewPort vp);
|
56 |
|
57 |
public MapContext3D createDefaultMapContext3DInstance(FLayers fl, ViewPort vp);
|
58 |
|
59 |
public void registerDefaultMapControl3D(Class mapControl3DClass); |
60 |
|
61 |
public MapControl3D createMapControl3DInstance(String name) |
62 |
throws Gvsig3DException;
|
63 |
|
64 |
public MapControl3D createDefaultMapControl3DInstance()
|
65 |
throws Gvsig3DException;
|
66 |
|
67 |
public FLayers3D createFLayers3DInstance(String name) |
68 |
throws Gvsig3DException;
|
69 |
|
70 |
public FLayers3D createDefaultFLayers3DInstance(ViewPort vp);
|
71 |
|
72 |
public void registerDefaultGraphicsLayer3D(Class graphicLayer3DClass); |
73 |
|
74 |
public GraphicLayer3D createGraphicsLayer3DInstance(String name) |
75 |
throws Gvsig3DException;
|
76 |
|
77 |
public GraphicLayer3D createDefaultGraphicsLayer3DInstance(
|
78 |
TerrainViewer terrainViewer, Terrain terrain) |
79 |
throws Gvsig3DException;
|
80 |
|
81 |
public void registerDefaultLayer3DProps(Class layer3DPropsClass); |
82 |
|
83 |
public Layer3DProps createLayer3DPropsInstance(String name) |
84 |
throws Gvsig3DException;
|
85 |
|
86 |
public Layer3DProps createDefaultLayer3DPropsInstance()
|
87 |
throws Gvsig3DException;
|
88 |
|
89 |
public void registerDefaultViewPort3D(Class viewPort3DClass); |
90 |
|
91 |
public ViewPort3D createtDefaultViewPort3DInstance(IProjection proj);
|
92 |
|
93 |
public ViewPort3D createViewPort3DInstance(String name) |
94 |
throws Gvsig3DException;
|
95 |
|
96 |
public ViewPort3D createDefaultViewPort3DInstance()
|
97 |
throws Gvsig3DException;
|
98 |
|
99 |
} |