Revision 23816
trunk/extensions/extRasterTools-SE/src/org/gvsig/fmap/raster/layers/FLyrRasterSE.java | ||
---|---|---|
109 | 109 |
* @author Nacho Brodin (nachobrodin@gmail.com) |
110 | 110 |
*/ |
111 | 111 |
public class FLyrRasterSE extends FLyrDefault implements IRasterProperties, IRasterDataset, InfoByPoint, Classifiable, IRasterOperations, IRasterLayerActions, ILayerState { |
112 |
private boolean mustTileDraw = false; |
|
113 |
private boolean mustTilePrint = true; |
|
114 |
private int maxTileDrawWidth = 200; |
|
115 |
private int maxTileDrawHeight = 200; |
|
116 |
private int maxTilePrintWidth = 1500; |
|
117 |
private int maxTilePrintHeight = 1500; |
|
118 |
protected IStatusRaster status = null; |
|
119 |
private boolean firstLoad = false; |
|
120 |
private boolean removeRasterFlag = true; |
|
121 |
private Object params = null; |
|
122 |
protected IRasterDataSource dataset = null; |
|
123 |
protected Rendering render = null; |
|
124 |
protected BufferFactory bufferFactory = null; |
|
125 |
private int posX = 0; |
|
126 |
private int posY = 0; |
|
127 |
private double posXWC = 0; |
|
128 |
private int posYWC = 0; |
|
129 |
private int r = 0; |
|
130 |
private int g = 0; |
|
131 |
private int b = 0; |
|
132 |
private LayerChangeSupport layerChangeSupport = new LayerChangeSupport(); |
|
133 |
private FLyrState state = new FLyrState(); |
|
134 |
private ArrayList filterArguments = null; |
|
135 |
protected ILegend lastLegend = null; |
|
136 |
protected ColorTable loadedFromProject = null; |
|
137 |
private ArrayList rois = null; |
|
138 |
private RasterDrawStrategy strategy = null; |
|
112 |
private boolean mustTileDraw = false;
|
|
113 |
private boolean mustTilePrint = true;
|
|
114 |
private int maxTileDrawWidth = 200;
|
|
115 |
private int maxTileDrawHeight = 200;
|
|
116 |
private int maxTilePrintWidth = 1500;
|
|
117 |
private int maxTilePrintHeight = 1500;
|
|
118 |
protected IStatusRaster status = null;
|
|
119 |
private boolean firstLoad = false;
|
|
120 |
private boolean removeRasterFlag = true;
|
|
121 |
private Object params = null;
|
|
122 |
protected IRasterDataSource dataset = null;
|
|
123 |
protected Rendering render = null;
|
|
124 |
protected BufferFactory bufferFactory = null;
|
|
125 |
private int posX = 0;
|
|
126 |
private int posY = 0;
|
|
127 |
private double posXWC = 0;
|
|
128 |
private int posYWC = 0;
|
|
129 |
private int r = 0;
|
|
130 |
private int g = 0;
|
|
131 |
private int b = 0;
|
|
132 |
private LayerChangeSupport layerChangeSupport = new LayerChangeSupport();
|
|
133 |
private FLyrState state = new FLyrState();
|
|
134 |
private ArrayList filterArguments = null;
|
|
135 |
protected ILegend lastLegend = null;
|
|
136 |
protected ColorTable loadedFromProject = null;
|
|
137 |
private ArrayList rois = null;
|
|
138 |
private RasterDrawStrategy strategy = null;
|
|
139 | 139 |
static private IConfiguration configuration = new DefaultLayerConfiguration(); |
140 | 140 |
|
141 | 141 |
private BufferedImage image = null; |
... | ... | |
145 | 145 |
* Sirve para diferenciar los estados seleccionados por el usuario. Siendo |
146 | 146 |
* estos 'Sin Valor NoData', 'NoData de Capa'(Por defecto) y 'Personalizado' |
147 | 147 |
*/ |
148 |
private int noDataType = RasterLibrary.NODATATYPE_LAYER;
|
|
148 |
private int noDataType = RasterLibrary.NODATATYPE_LAYER;
|
|
149 | 149 |
|
150 | 150 |
/** |
151 | 151 |
* Lista de transformaciones afines que son aplicadas. Esta lista es |
152 | 152 |
* simplemente un historico que no se utiliza. Es posible utilizarlo para |
153 | 153 |
* recuperar transformaciones anteriores. |
154 | 154 |
*/ |
155 |
private Historical affineTransformList = new Historical(); |
|
155 |
private Historical affineTransformList = new Historical();
|
|
156 | 156 |
|
157 | 157 |
static { |
158 | 158 |
RasterLibrary.wakeUp(); |
... | ... | |
315 | 315 |
//Inicializaci?n del historico de transformaciones |
316 | 316 |
affineTransformList.clear(); |
317 | 317 |
affineTransformList.add(this.getAffineTransform()); |
318 |
|
|
318 | 319 |
try { |
319 | 320 |
enableOpen(); |
320 | 321 |
} catch (NotAvailableStateException e) { |
... | ... | |
1632 | 1633 |
public Historical getAffineTransformHistorical() { |
1633 | 1634 |
return this.affineTransformList; |
1634 | 1635 |
} |
1635 |
|
|
1636 |
|
|
1636 | 1637 |
/** |
1637 | 1638 |
* Salva la georreferenciaci?n a fichero rmf. |
1638 | 1639 |
* @param fName |
Also available in: Unified diff