Revision 859 org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.fmap/src/main/java/org/gvsig/raster/fmap/layers/FLyrRaster.java

View differences:

FLyrRaster.java
29 29

  
30 30
import org.cresques.cts.IProjection;
31 31
import org.gvsig.fmap.dal.coverage.datastruct.Extent;
32
import org.gvsig.fmap.dal.coverage.datastruct.NoData;
32 33
import org.gvsig.fmap.dal.coverage.exception.GridException;
33 34
import org.gvsig.fmap.dal.coverage.exception.InvalidSourceException;
34 35
import org.gvsig.fmap.dal.coverage.exception.RasterDriverException;
......
142 143
	 */
143 144
	public Grid getReadOnlyFullGrid(boolean interpolated) throws GridException, InterruptedException;
144 145
	
145
	
146 146
	/**
147
	 * Devuelve el tipo de valor de NoData asociado a la capa.
148
	 * Sirve para diferenciar los estados seleccionados por el usuario. Siendo
149
	 * estos '0: Sin Valor NoData', '1: NoData de Capa'(Por defecto) y '2: Personalizado'
150
	 */
151
	public int getNoDataType();
152
	
153
	/**
154 147
	 * Obtiene el valor NoData asociado al raster.
155 148
	 * @return double
156 149
	 */
157
	public double getNoDataValue();
150
	public NoData getNoDataValue();
158 151
	
159 152
	/**
160 153
	 * Gets the height in pixels of this raster layer
......
206 199
	public void setReadingData(String readingData);
207 200
	
208 201
	/**
209
	 * Aplica los filtros noData al layer
210
	 * @param rasterSE
211
	 * @param filterManager
212
	 */
213
	public void applyNoData();
214
	
215
	/**
216
	 * Sets the nodata type for this layer
217
	 * @param noDataType the noDataType to set
218
	 */
219
	public void setNoDataType(int noDataType);
220
	
221
	/**
222 202
	 * Sets the nodata value for this layer
223 203
	 * @param noDataValue the noDataValue to set
224 204
	 */
225
	public void setNoDataValue(double noDataValue);
205
	public void setNoDataValue(NoData noDataValue);
226 206
	
227 207
	/**
228 208
	 * Sets the minimum scale visible. Lower scales won't be drawn.
......
430 410
	 * @param file
431 411
	 */
432 412
	public void removeFile(String file);
413
	
414
	/**
415
	 * When this flag is true then renderice nodata value as transparent
416
	 * @param t
417
	 */
418
	public void setNoDataTransparent(boolean t);
433 419
}

Also available in: Unified diff