Statistics
| Revision:

gvsig-3d / 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 @ 428

History | View | Annotate | Download (2.7 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright ? 2007-2015 gvSIG Association
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
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24

    
25
package org.gvsig.view3d.swing.api;
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
import org.gvsig.tools.swing.api.Component;
31

    
32
/**
33
 * @author llmarques
34
 *
35
 */
36
public interface View3DPanel extends Component {
37
    
38
    public enum TYPE{ SPHERE,FLAT }
39

    
40
    /**
41
     * 
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
     * @return
55
     */
56
    public MapContext getMapContext();
57
    
58
    /**
59
     * 
60
     * @return
61
     */
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
    public void show();
124

    
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
}