Revision 237 2.0/trunk/org.gvsig.gvsig3d/org.gvsig.gvsig3d.lib/org.gvsig.gvsig3d.lib.api/src/main/java/org/gvsig/gvsig3d/Gvsig3DManager.java
Gvsig3DManager.java | ||
---|---|---|
21 | 21 |
*/ |
22 | 22 |
package org.gvsig.gvsig3d; |
23 | 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; |
|
24 | 28 |
import org.gvsig.gvsig3d.map3d.MapContext3D; |
25 | 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; |
|
26 | 34 |
import org.gvsig.tools.service.Manager; |
27 | 35 |
|
28 | 36 |
/** |
... | ... | |
36 | 44 |
*/ |
37 | 45 |
public interface Gvsig3DManager extends Manager { |
38 | 46 |
|
39 |
public void registerMapContext3D(String name, Class mapContext3DClass);
|
|
47 |
public void registerDefaultMapContext3D(Class mapContext3DClass);
|
|
40 | 48 |
|
41 |
public void registerDefaultMapContext3D(Class mapContext3DClass); |
|
49 |
public MapContext3D createMapContext3DInstance(String name) |
|
50 |
throws Gvsig3DException; |
|
42 | 51 |
|
43 |
public MapContext3D getMapContext3D(String name); // throws |
|
44 |
// MapContext3DCreationException |
|
52 |
public MapContext3D createDefaultMapContext3DInstance(); |
|
45 | 53 |
|
46 |
public MapContext3D getDefaultMapContext3D(); // throws |
|
47 |
// MapContext3DCreationException |
|
54 |
public MapContext3D createDefaultMapContext3DInstance(ViewPort vp); |
|
48 | 55 |
|
56 |
public void registerDefaultMapControl3D(Class mapControl3DClass); |
|
49 | 57 |
|
50 |
public void registerMapControl3D(String name, Class mapControl3DClass); |
|
58 |
public MapControl3D createMapControl3DInstance(String name) |
|
59 |
throws Gvsig3DException; |
|
51 | 60 |
|
52 |
public void registerDefaultMapControl3D(Class mapControl3DClass); |
|
61 |
public MapControl3D createDefaultMapControl3DInstance() |
|
62 |
throws Gvsig3DException; |
|
53 | 63 |
|
54 |
public MapControl3D getMapControl3D(String name); // throws
|
|
55 |
// MapControl3DCreationException
|
|
64 |
public FLayers3D createFLayers3DInstance(String name)
|
|
65 |
throws Gvsig3DException;
|
|
56 | 66 |
|
57 |
public MapControl3D getDefaultMapControl3D(); // throws |
|
58 |
// MapControl3DCreationException |
|
67 |
public FLayers3D createDefaultFLayers3DInstance(ViewPort vp); |
|
59 | 68 |
|
60 |
public void registerViewPort3D(String name, Class viewPort3DClass);
|
|
69 |
public void registerDefaultGraphicsLayer3D(Class graphicLayer3DClass);
|
|
61 | 70 |
|
62 |
public void registerDefaultViewPort3D(Class viewPort3DClass); |
|
71 |
public GraphicLayer3D createGraphicsLayer3DInstance(String name) |
|
72 |
throws Gvsig3DException; |
|
63 | 73 |
|
64 |
public MapControl3D getViewPort3D(String name); // throws |
|
74 |
public GraphicLayer3D createDefaultGraphicsLayer3DInstance( |
|
75 |
TerrainViewer terrainViewer, Terrain terrain) |
|
76 |
throws Gvsig3DException; |
|
65 | 77 |
|
66 |
// ViewPort3DCreationException
|
|
78 |
public void registerDefaultLayer3DProps(Class layer3DPropsClass);
|
|
67 | 79 |
|
68 |
public MapControl3D getDefaultViewPort3D(); // throws
|
|
69 |
// ViewPort3DCreationException
|
|
80 |
public Layer3DProps createLayer3DPropsInstance(String name)
|
|
81 |
throws Gvsig3DException;
|
|
70 | 82 |
|
83 |
public Layer3DProps createDefaultLayer3DPropsInstance() |
|
84 |
throws Gvsig3DException; |
|
71 | 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 |
|
|
72 | 96 |
} |
Also available in: Unified diff