Revision 2125 org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.api/src/main/java/org/gvsig/fmap/dal/coverage/RasterManager.java
RasterManager.java | ||
---|---|---|
34 | 34 |
import org.gvsig.fmap.dal.coverage.datastruct.Params; |
35 | 35 |
import org.gvsig.fmap.dal.coverage.datastruct.RasterLegend; |
36 | 36 |
import org.gvsig.fmap.dal.coverage.datastruct.ViewPortData; |
37 |
import org.gvsig.fmap.dal.coverage.exception.FileNotExistsException; |
|
37 | 38 |
import org.gvsig.fmap.dal.coverage.exception.NotSupportedExtensionException; |
39 |
import org.gvsig.fmap.dal.coverage.exception.ROIException; |
|
38 | 40 |
import org.gvsig.fmap.dal.coverage.exception.RasterDriverException; |
39 | 41 |
import org.gvsig.fmap.dal.coverage.exception.RasterLegendIONotFound; |
40 |
import org.gvsig.fmap.dal.coverage.grid.AbstractROI; |
|
41 | 42 |
import org.gvsig.fmap.dal.coverage.grid.Grid; |
42 | 43 |
import org.gvsig.fmap.dal.coverage.grid.RasterFilterList; |
43 | 44 |
import org.gvsig.fmap.dal.coverage.grid.render.ImageDrawer; |
... | ... | |
57 | 58 |
import org.gvsig.fmap.dal.coverage.util.MathUtils; |
58 | 59 |
import org.gvsig.fmap.dal.coverage.util.ProviderServices; |
59 | 60 |
import org.gvsig.fmap.dal.coverage.util.RasterUtils; |
61 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
|
60 | 62 |
import org.gvsig.fmap.dal.raster.spi.CoverageStoreProvider; |
63 |
import org.gvsig.raster.roi.AbstractROI; |
|
64 |
import org.gvsig.raster.roi.ROIReader; |
|
65 |
import org.gvsig.raster.roi.ROIWriter; |
|
66 |
import org.gvsig.raster.roi.VectorialROI; |
|
61 | 67 |
|
62 | 68 |
/** |
63 | 69 |
* This class is responsible of the management of the library's business logic. |
... | ... | |
235 | 241 |
public Params createParams(String id, Object value, int type, String[] list); |
236 | 242 |
|
237 | 243 |
/* ************************** |
244 |
* ROI |
|
245 |
************************** */ |
|
246 |
|
|
247 |
/** |
|
248 |
* Creates a reader for a ROI file |
|
249 |
* @param filename |
|
250 |
* file name where the regions |
|
251 |
* @param store |
|
252 |
* data store associated to these regions |
|
253 |
* @param projection |
|
254 |
* Regions projection |
|
255 |
* @param bbox |
|
256 |
* |
|
257 |
* @return |
|
258 |
* @throws FileNotExistsException |
|
259 |
* @throws ROIException |
|
260 |
*/ |
|
261 |
public ROIReader createROIReader( |
|
262 |
String filename, |
|
263 |
RasterDataStore store, |
|
264 |
IProjection projection) throws ROIException, FileNotExistsException; |
|
265 |
|
|
266 |
/** |
|
267 |
* Creates a reader from a <code>FeatureStore</code> |
|
268 |
* @param roiStore |
|
269 |
* @param store |
|
270 |
* @param projection |
|
271 |
* @return |
|
272 |
* @throws ROIException |
|
273 |
* @throws FileNotExistsException |
|
274 |
*/ |
|
275 |
public ROIReader createVectorialROIReader( |
|
276 |
FeatureStore roiStore, |
|
277 |
RasterDataStore store, |
|
278 |
IProjection projection); |
|
279 |
|
|
280 |
/** |
|
281 |
* Creates a writer for a ROI file |
|
282 |
* @param filename |
|
283 |
* @param projection |
|
284 |
* @return |
|
285 |
*/ |
|
286 |
public ROIWriter createROIWriter( |
|
287 |
String filename, |
|
288 |
IProjection projection); |
|
289 |
|
|
290 |
/** |
|
291 |
* Creates a vectorial region of interest |
|
292 |
* @param roi |
|
293 |
* @return |
|
294 |
*/ |
|
295 |
public VectorialROI createVectorialROI(RasterDataStore roi); |
|
296 |
|
|
297 |
/* ************************** |
|
238 | 298 |
* DEPRECATED |
239 | 299 |
************************** */ |
240 | 300 |
|
Also available in: Unified diff