Revision 443 2.1/trunk/org.gvsig.view3d/org.gvsig.view3d.swing/org.gvsig.view3d.swing.api/src/main/java/org/gvsig/view3d/swing/api/View3DPanel.java
View3DPanel.java | ||
---|---|---|
24 | 24 |
|
25 | 25 |
package org.gvsig.view3d.swing.api; |
26 | 26 |
|
27 |
import org.gvsig.fmap.mapcontext.MapContext; |
|
28 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
|
29 |
import org.gvsig.fmap.mapcontext.layers.FLayers; |
|
30 | 27 |
import org.gvsig.tools.swing.api.Component; |
31 | 28 |
|
32 | 29 |
/** |
... | ... | |
35 | 32 |
*/ |
36 | 33 |
public interface View3DPanel extends Component { |
37 | 34 |
|
38 |
public enum TYPE{ SPHERE,FLAT } |
|
39 |
|
|
40 | 35 |
/** |
41 | 36 |
* |
42 |
* @param layer |
|
43 |
*/ |
|
44 |
public void add(FLayer layer); |
|
45 |
|
|
46 |
/** |
|
47 |
* |
|
48 |
* @param layer |
|
49 |
*/ |
|
50 |
public void add(FLayers layer); |
|
51 |
|
|
52 |
/** |
|
53 |
* |
|
54 | 37 |
* @return |
55 | 38 |
*/ |
56 |
public MapContext getMapContext();
|
|
39 |
public MapControl3D getMapControl3D();
|
|
57 | 40 |
|
58 | 41 |
/** |
59 | 42 |
* |
60 |
* @return |
|
61 | 43 |
*/ |
62 |
public TYPE getType(); |
|
63 |
|
|
64 |
/** |
|
65 |
* |
|
66 |
* @return |
|
67 |
*/ |
|
68 |
public double getVerticalExaggeration(); |
|
69 |
|
|
70 |
/** |
|
71 |
* |
|
72 |
*/ |
|
73 |
public void hideAtmosphere(); |
|
74 |
|
|
75 |
/** |
|
76 |
* |
|
77 |
*/ |
|
78 |
public void hideMiniMap(); |
|
79 |
|
|
80 |
/** |
|
81 |
* |
|
82 |
*/ |
|
83 |
public void hideStarBackground(); |
|
84 |
|
|
85 |
/** |
|
86 |
* |
|
87 |
*/ |
|
88 |
public void hideNorthIndicator(); |
|
89 |
|
|
90 |
/** |
|
91 |
* |
|
92 |
*/ |
|
93 |
public void hideScale(); |
|
94 |
|
|
95 |
/** |
|
96 |
* |
|
97 |
*/ |
|
98 |
public void reloadLayers(); |
|
99 |
|
|
100 |
/** |
|
101 |
* |
|
102 |
*/ |
|
103 |
public void remove(FLayer layer); |
|
104 |
|
|
105 |
/** |
|
106 |
* |
|
107 |
*/ |
|
108 |
public void removeAllLayers(); |
|
109 |
|
|
110 |
/** |
|
111 |
* |
|
112 |
*/ |
|
113 |
public void setMapContext(MapContext theMapContext); |
|
114 |
|
|
115 |
/** |
|
116 |
* |
|
117 |
*/ |
|
118 |
public void setVerticalExaggeration(double verticalExaggeration); |
|
119 |
|
|
120 |
/** |
|
121 |
* |
|
122 |
*/ |
|
123 | 44 |
public void show(); |
124 | 45 |
|
125 |
/** |
|
126 |
* |
|
127 |
*/ |
|
128 |
public void showAtmosphere(); |
|
129 |
|
|
130 |
/** |
|
131 |
* |
|
132 |
*/ |
|
133 |
public void showNortIndicator(); |
|
134 |
|
|
135 |
/** |
|
136 |
* |
|
137 |
*/ |
|
138 |
public void showMiniMap(); |
|
139 |
|
|
140 |
/** |
|
141 |
* |
|
142 |
*/ |
|
143 |
public void showScale(); |
|
144 |
|
|
145 |
/** |
|
146 |
* |
|
147 |
*/ |
|
148 |
public void showStarBackgroundLayer(); |
|
149 |
|
|
150 |
/** |
|
151 |
* |
|
152 |
*/ |
|
153 |
public void synchronizeViewPorts(); |
|
154 |
|
|
155 | 46 |
} |
Also available in: Unified diff