Revision 15274
import/ext3D/trunk/ext3D/src/com/iver/ai2/gvsig3d/gui/Hud.java | ||
---|---|---|
133 | 133 |
// Updating text information |
134 | 134 |
textoHud.setText(lonText + " " + lon + " " + latText + " " + lat); |
135 | 135 |
} |
136 |
// Repainting view |
|
137 |
if (m_canvas3d != null) |
|
138 |
m_canvas3d.repaint(); |
|
136 | 139 |
} |
137 | 140 |
|
138 | 141 |
public String getLat() { |
... | ... | |
228 | 231 |
// MOUSE MOTION EVENTS |
229 | 232 |
|
230 | 233 |
public void mouseDragged(MouseEvent e) { |
231 |
// Updating Hud information |
|
234 |
// Updating Hud information+ |
|
235 |
// If not update the hud information when mouses dragged the hud don?t change |
|
232 | 236 |
updateHud(); |
233 | 237 |
|
234 | 238 |
// System.out.println("***************************************"); |
... | ... | |
240 | 244 |
|
241 | 245 |
public void mouseMoved(MouseEvent e) { |
242 | 246 |
// TODO Auto-generated method stub |
243 |
|
|
247 |
updateHud(); |
|
244 | 248 |
} |
245 | 249 |
|
246 | 250 |
public int getProjectionType() { |
import/ext3D/trunk/ext3D/src/com/iver/ai2/gvsig3d/map3d/layers/FLayers3D.java | ||
---|---|---|
18 | 18 |
import com.iver.ai2.gvsig3d.cacheservices.FLayerCacheService; |
19 | 19 |
import com.iver.ai2.gvsig3d.cacheservices.VectorCacheService; |
20 | 20 |
import com.iver.ai2.gvsig3d.map3d.MapContext3D; |
21 |
import com.iver.ai2.gvsig3d.resources.ResourcesFactory; |
|
22 | 21 |
import com.iver.andami.PluginServices; |
23 | 22 |
import com.iver.cit.gvsig.fmap.DriverException; |
24 | 23 |
import com.iver.cit.gvsig.fmap.MapContext; |
... | ... | |
50 | 49 |
import com.iver.utiles.IPersistance; |
51 | 50 |
import com.iver.utiles.XMLEntity; |
52 | 51 |
|
53 |
import es.upv.ai2.libjosg.AutoTransform; |
|
54 |
import es.upv.ai2.libjosg.Group; |
|
55 | 52 |
import es.upv.ai2.libjosg.Node; |
56 | 53 |
import es.upv.ai2.libjosg.Vec3; |
57 | 54 |
import es.upv.ai2.libjosg.planets.Planet; |
58 | 55 |
import es.upv.ai2.libjosg.planets.RequestLayerListener; |
59 |
import es.upv.ai2.libjosg.planets.TilePagedLod; |
|
60 | 56 |
import es.upv.ai2.libjosg.planets.TileCreatedListener; |
61 | 57 |
import es.upv.ai2.libjosg.planets.TileEvent; |
62 | 58 |
import es.upv.ai2.libjosg.planets.Planet.PlanetType; |
... | ... | |
711 | 707 |
// REPAINTING VIEWER |
712 | 708 |
if (m_canvas3d != null) |
713 | 709 |
m_canvas3d.repaint(); |
710 |
|
|
714 | 711 |
} |
715 | 712 |
|
716 | 713 |
public void tileCreated(TileEvent evt) { |
Also available in: Unified diff