Revision 2308 org.gvsig.raster/branches/org.gvsig.raster_dataaccess_refactoring/org.gvsig.raster.lib/org.gvsig.raster.lib.impl/src/main/java/org/gvsig/raster/impl/grid/filter/convolution/ConvolutionListManager.java
ConvolutionListManager.java | ||
---|---|---|
95 | 95 |
} |
96 | 96 |
} |
97 | 97 |
|
98 |
/* |
|
99 |
* (non-Javadoc) |
|
100 |
* @see org.gvsig.fmap.dal.coverage.grid.RasterFilterListManager#getStringsFromFilterList(java.util.ArrayList, org.gvsig.fmap.dal.coverage.grid.RasterFilter) |
|
101 |
*/ |
|
102 | 98 |
public List<String> getStringsFromFilterList(List<String> filterList, RasterFilter rf) { |
103 | 99 |
if (rf instanceof ConvolutionFilter) { |
104 | 100 |
filterList.add("filter.convolution.active=true"); |
... | ... | |
168 | 164 |
} |
169 | 165 |
} |
170 | 166 |
|
171 |
/* |
|
172 |
* (non-Javadoc) |
|
173 |
* @see org.gvsig.fmap.dal.coverage.grid.RasterFilterListManager#addFilter(org.gvsig.fmap.dal.coverage.datastruct.Params) |
|
174 |
*/ |
|
175 | 167 |
public void addFilter(Params params) throws FilterTypeException { |
176 | 168 |
addFilter(ConvolutionFilter.class, params); |
177 | 169 |
} |
178 | 170 |
|
179 |
/* |
|
180 |
* (non-Javadoc) |
|
181 |
* @see org.gvsig.fmap.dal.coverage.grid.RasterFilterListManager#createFilter(org.gvsig.fmap.dal.coverage.datastruct.Params) |
|
182 |
*/ |
|
183 | 171 |
public RasterFilter createFilter(Params params) { |
184 | 172 |
Integer ladoVentana = ((Integer) params.getParamById("LadoVentana").getDefaultValue()); |
185 | 173 |
String name = ((String) params.getParamById("FilterName").getDefaultValue()); |
... | ... | |
194 | 182 |
return filter; |
195 | 183 |
} |
196 | 184 |
|
197 |
/* |
|
198 |
* (non-Javadoc) |
|
199 |
* @see org.gvsig.fmap.dal.coverage.grid.RasterFilterListManager#createFilterListFromStrings(java.util.ArrayList, java.lang.String, int) |
|
200 |
*/ |
|
201 | 185 |
public int createFilterListFromStrings(List<String> filters, String fil, int filteri) throws FilterTypeException { |
202 | 186 |
if ((fil.startsWith("filter.convolution.active")) && (RasterFilterListManagerImpl.getValue(fil).equals("true"))) { |
203 | 187 |
int ladoVentana = 0; |
... | ... | |
256 | 240 |
return filters; |
257 | 241 |
} |
258 | 242 |
|
259 |
/* |
|
260 |
* (non-Javadoc) |
|
261 |
* @see org.gvsig.fmap.dal.coverage.grid.RasterFilterListManager#getFilterList() |
|
262 |
*/ |
|
263 | 243 |
public RasterFilterList getFilterList() { |
264 | 244 |
return filterList; |
265 | 245 |
} |
266 | 246 |
|
267 |
/* |
|
268 |
* (non-Javadoc) |
|
269 |
* @see org.gvsig.fmap.dal.coverage.grid.RasterFilterListManager#setFilterList(org.gvsig.fmap.dal.coverage.grid.RasterFilterList) |
|
270 |
*/ |
|
271 | 247 |
public void setFilterList(RasterFilterList filterList) { |
272 | 248 |
this.filterList = filterList; |
273 | 249 |
} |
Also available in: Unified diff