public class MultiLevelROIRaster extends Object implements MultiLevelROI
MultiLevelROI implementation supporting Raster masking. Notice that actually it does not
 support Inset definition.| Constructor and Description | 
|---|
| MultiLevelROIRaster(DatasetLayout layout,
                   File file,
                   SimpleFeature sf) | 
| Modifier and Type | Method and Description | 
|---|---|
| Geometry | getFootprint()This method returns a  Geometryobject containing the ROI footprint or, at least, its
 bounding box | 
| ROI | getTransformedROI(AffineTransform at,
                 int imageIndex,
                 Rectangle imgBounds,
                 ImageReadParam params,
                 ReadType readType)Returns a transformed ROI based on the input parameters | 
| boolean | isEmpty()Checks if the provided  MultiLevelROIobject is empty or not | 
public MultiLevelROIRaster(DatasetLayout layout,
                           File file,
                           SimpleFeature sf)
                    throws IOException
IOExceptionpublic ROI getTransformedROI(AffineTransform at, int imageIndex, Rectangle imgBounds, ImageReadParam params, ReadType readType)
MultiLevelROIgetTransformedROI in interface MultiLevelROIat - AffineTransformationimageIndex - Overview level used for extracting the correct image overviewimgBounds - ImageBounds to set for Raster ROIsreadType - ReadType object indicating how the image file must be read. This may
     be useful for raster ROIsROI objectpublic boolean isEmpty()
MultiLevelROIMultiLevelROI object is empty or notisEmpty in interface MultiLevelROIpublic Geometry getFootprint()
MultiLevelROIGeometry object containing the ROI footprint or, at least, its
 bounding boxgetFootprint in interface MultiLevelROIGeometry object defining ROI boundsCopyright © 1996–2019 Geotools. All rights reserved.