Revision 717 2.1/branches/org.gvsig.view3d_vector_and_extrusion_2.3/org.gvsig.view3d/org.gvsig.view3d/org.gvsig.view3d.swing/org.gvsig.view3d.swing.api/src/main/java/org/gvsig/view3d/swing/api/properties/MapControlProperties3D.java
MapControlProperties3D.java | ||
---|---|---|
7 | 7 |
|
8 | 8 |
/** |
9 | 9 |
* This class represents the properties of {@link MapControl3D}. |
10 |
*
|
|
10 |
* |
|
11 | 11 |
* @author <a href="mailto:lmarques@disid.com">Lluis Marques</a> |
12 | 12 |
* |
13 | 13 |
*/ |
14 | 14 |
public interface MapControlProperties3D extends Persistent{ |
15 |
|
|
15 |
|
|
16 | 16 |
public static final String PERSISTENCE_NAME = "MapControl3DProperties"; |
17 | 17 |
|
18 | 18 |
public final String SPHERE_VERTICAL_EXAGGERATION_PROPERTY_NAME = |
... | ... | |
29 | 29 |
"nasaLandsatLayerVisibility"; |
30 | 30 |
public final String DEFAULT_ELEVATION_VISIBILITY_PROPERTY_NAME = |
31 | 31 |
"defaultElevationVisibility"; |
32 |
|
|
32 |
public final String ANAGLYPH_MODE_PROPERTY_NAME = "anaglyphMode"; |
|
33 |
|
|
34 |
|
|
33 | 35 |
/** |
34 | 36 |
* Adds {@link PropertyChangeListener} that will listen properties changes. |
35 |
*
|
|
37 |
* |
|
36 | 38 |
* @param listener |
37 | 39 |
*/ |
38 | 40 |
public void addPropertyChangeListener(PropertyChangeListener listener); |
39 |
|
|
41 |
|
|
40 | 42 |
/** |
41 |
* Gets if auto layer synchronize is active or not. |
|
42 |
* |
|
43 |
* @return Returns if anaglyph mode is enabled. |
|
44 |
* @see MapControlProperties3D#setAnaglyphMode() |
|
45 |
*/ |
|
46 |
public boolean getAnaglyphMode(); |
|
47 |
|
|
48 |
|
|
49 |
/** |
|
43 | 50 |
* @see MapControlProperties3D#setAutoLayerSynchronize(boolean) |
44 |
* @return |
|
51 |
* @return Gets if auto layer synchronize is active or not.
|
|
45 | 52 |
*/ |
46 | 53 |
public boolean getAutoLayerSynchronize(); |
47 |
|
|
54 |
|
|
48 | 55 |
/** |
49 |
* Gets if auto view synchronize is active or not |
|
50 |
* |
|
51 | 56 |
* @see MapControlProperties3D#setAutoViewPortSynchronize(boolean) |
52 |
* @return |
|
57 |
* @return Gets if auto view synchronize is active or not
|
|
53 | 58 |
*/ |
54 | 59 |
public boolean getAutoViewPortSynchronize(); |
55 |
|
|
60 |
|
|
56 | 61 |
/** |
57 |
* Gets visibility of Blue Marble layer. |
|
58 |
* |
|
59 | 62 |
* @see MapControlProperties3D#setBlueMarbleLayerVisibility(boolean) |
60 |
* @return |
|
63 |
* @return Gets visibility of Blue Marble layer.
|
|
61 | 64 |
*/ |
62 | 65 |
public boolean getBlueMarbleLayerVisibility(); |
63 |
|
|
66 |
|
|
64 | 67 |
/** |
65 |
* Gets visiblity of default elevation. |
|
66 |
* |
|
67 | 68 |
* @see MapControlProperties3D#setDefaultElevationVisibility(boolean) |
68 |
* @return |
|
69 |
* @return Gets visiblity of default elevation.
|
|
69 | 70 |
*/ |
70 | 71 |
public boolean getDefaultElevationVisibility(); |
71 |
|
|
72 |
|
|
72 | 73 |
/** |
73 |
* Get vertical exaggeration of flat view |
|
74 |
* |
|
75 | 74 |
* @see MapControlProperties3D#setFlatVerticalExaggeration(double) |
76 |
* @return |
|
75 |
* @return Gets vertical exaggeration of flat view
|
|
77 | 76 |
*/ |
78 | 77 |
public double getFlatVerticalExaggeration(); |
79 |
|
|
78 |
|
|
80 | 79 |
/** |
81 |
* Gets visibility of Nasa Landsat Layer |
|
82 |
* |
|
83 | 80 |
* @see MapControlProperties3D#setNasaLandsatVisibility(boolean) |
84 |
* @return |
|
81 |
* @return Gets visibility of Nasa Landsat Layer
|
|
85 | 82 |
*/ |
86 | 83 |
public boolean getNasaLandsatLayerVisibility(); |
87 |
|
|
84 |
|
|
88 | 85 |
/** |
89 |
* Gets vertical exaggeration of sphere view |
|
90 |
* |
|
91 | 86 |
* @see MapControlProperties3D#setSphereVerticalExaggeration(double) |
92 |
* @return |
|
87 |
* @return Gets vertical exaggeration of sphere view
|
|
93 | 88 |
*/ |
94 | 89 |
public double getSphereVerticalExaggeration(); |
95 |
|
|
90 |
|
|
96 | 91 |
/** |
97 | 92 |
* Removes {@link PropertyChangeListener}. |
98 |
*
|
|
93 |
* |
|
99 | 94 |
* @see MapControlProperties3D#addPropertyChangeListener(PropertyChangeListener) |
100 | 95 |
* @param listener |
101 | 96 |
*/ |
102 | 97 |
public void removePropertyChangeListener(PropertyChangeListener listener); |
103 |
|
|
98 |
|
|
104 | 99 |
/** |
100 |
* Sets anaglyph mode |
|
101 |
* |
|
102 |
* @param flag True to enable anaglyph mode, false to disable it. |
|
103 |
* @see MapControlProperties3D#getAnaglyphMode() |
|
104 |
*/ |
|
105 |
public void setAnaglyphMode(boolean flag); |
|
106 |
|
|
107 |
/** |
|
105 | 108 |
* Set auto layer synchronize. |
106 |
*
|
|
109 |
* |
|
107 | 110 |
* @param flag True to active auto layer synchronize, false to disable it. |
108 | 111 |
* @see MapControlProperties3D#getAutoLayerSynchronize() |
109 | 112 |
*/ |
... | ... | |
111 | 114 |
|
112 | 115 |
/** |
113 | 116 |
* Set auto viesport synchronize. |
114 |
*
|
|
117 |
* |
|
115 | 118 |
* @param flag True to active auto viewport synchronize, false to disable it. |
116 | 119 |
* @see MapControlProperties3D#getAutoViewSynchronize() |
117 | 120 |
*/ |
... | ... | |
119 | 122 |
|
120 | 123 |
/** |
121 | 124 |
* Sets visibility of BlueMarble layer. |
122 |
*
|
|
125 |
* |
|
123 | 126 |
* @param visibility |
124 | 127 |
* @see MapControlProperties3D#getBlueMarbleLayerVisibility() |
125 | 128 |
*/ |
... | ... | |
127 | 130 |
|
128 | 131 |
/** |
129 | 132 |
* Sets visibility of deafult elevation. |
130 |
*
|
|
133 |
* |
|
131 | 134 |
* @param visibility |
132 | 135 |
* @see MapControlProperties3D#getDefaultElevationVisibility() |
133 | 136 |
*/ |
... | ... | |
135 | 138 |
|
136 | 139 |
/** |
137 | 140 |
* Sets flat vertical exaggeration. |
138 |
*
|
|
141 |
* |
|
139 | 142 |
* @param value |
140 | 143 |
* @see MapControlProperties3D#getFlatVerticalExaggeration() |
141 | 144 |
*/ |
... | ... | |
143 | 146 |
|
144 | 147 |
/** |
145 | 148 |
* Sets Nasa Landsat visibility. |
146 |
*
|
|
149 |
* |
|
147 | 150 |
* @param visibility |
148 | 151 |
* @see MapControlProperties3D#getNasaLandsatLayerVisibility() |
149 | 152 |
*/ |
... | ... | |
151 | 154 |
|
152 | 155 |
/** |
153 | 156 |
* Sets sphere vertical exaggeration. |
154 |
*
|
|
157 |
* |
|
155 | 158 |
* @param value |
156 | 159 |
* @see MapControlProperties3D#getSphereVerticalExaggeration() |
157 | 160 |
*/ |
Also available in: Unified diff