Revision 3005
trunk/extensions/extGeoreferencing/src/com/iver/cit/gvsig/fmap/layers/FLyrGeoRaster.java | ||
---|---|---|
50 | 50 |
import com.iver.cit.gvsig.StackZoom; |
51 | 51 |
import com.iver.cit.gvsig.fmap.DriverException; |
52 | 52 |
import com.iver.cit.gvsig.fmap.ViewPort; |
53 |
import com.iver.cit.gvsig.fmap.layers.FLyrPoints.GeoPoint; |
|
54 | 53 |
import com.iver.cit.gvsig.fmap.operations.Cancellable; |
55 |
import com.iver.cit.gvsig.gui.Panels.SelectFilePanel;
|
|
54 |
import com.iver.cit.gvsig.gui.Dialogs.GeoreferencingDialog;
|
|
56 | 55 |
|
57 | 56 |
|
58 | 57 |
/** |
... | ... | |
68 | 67 |
private double widthPxImg, heightPxImg; |
69 | 68 |
|
70 | 69 |
/** |
70 |
* Dialogo de georreferenciaci?n asociado a la capa. |
|
71 |
*/ |
|
72 |
private GeoreferencingDialog geoDialog = null; |
|
73 |
/** |
|
71 | 74 |
* Funci?n encargada de realizar la transformaci?n para las coordenadas |
72 | 75 |
* del viewPort que se quiere dibujar. Para esta transformaci?n se tiene |
73 | 76 |
* en cuenta que la imagen tiene un extent propio y uno asignado por el |
... | ... | |
347 | 350 |
public double getImageHeight(){ |
348 | 351 |
return this.heightPxImg; |
349 | 352 |
} |
353 |
/** |
|
354 |
* @return Returns the geoDialog. |
|
355 |
*/ |
|
356 |
public GeoreferencingDialog getGeoDialog() { |
|
357 |
return geoDialog; |
|
358 |
} |
|
359 |
/** |
|
360 |
* @param geoDialog The geoDialog to set. |
|
361 |
*/ |
|
362 |
public void setGeoDialog(GeoreferencingDialog geoDialog) { |
|
363 |
this.geoDialog = geoDialog; |
|
364 |
} |
|
350 | 365 |
} |
trunk/extensions/extGeoreferencing/src/com/iver/cit/gvsig/gui/Dialogs/GeoreferencingDialog.java | ||
---|---|---|
311 | 311 |
lyrPoints = (FLyrPoints)lyr; |
312 | 312 |
} |
313 | 313 |
|
314 |
if(lyrGeoRaster != null) |
|
314 |
if(lyrGeoRaster != null){
|
|
315 | 315 |
lyrGeoRaster.setFLyrPoints(lyrPoints); |
316 |
//lyrGeoRaster.setGeoDialog(); |
|
317 |
} |
|
316 | 318 |
|
317 | 319 |
theView.getMapControl().setTool("zoomIn"); |
318 | 320 |
|
trunk/extensions/extGeoreferencing/src/com/iver/cit/gvsig/gui/Panels/SelectPointsPanel.java | ||
---|---|---|
829 | 829 |
*/ |
830 | 830 |
public void loadFromLyrPoints(FLyrPoints lyr){ |
831 | 831 |
if(lyr != null){ |
832 |
System.out.println("......"+lyr.getName()); |
|
833 |
lyr.showPoints(); |
|
832 | 834 |
lyr.clean(); |
833 | 835 |
lyrPoints = lyr; |
834 | 836 |
View theView = (View) PluginServices.getMDIManager().getActiveView(); |
Also available in: Unified diff