/** * Evaluates the <code>body</code> by calling its {@link Body#eval(RasterDataEvalEnv,int) eval()} method. * This method just delegates to {@link #forEachPixel(Body, String) forEachPixel(body, null)}. * * @param body the object whose <code>eval</code> method is called. * @throws IOException if the raster data could not be read. */ public void forEachPixel(final Body body) throws IOException { forEachPixel(body, "Performing raster data operation..."); /*I18N*/ }
private static class Index { final String entry; final int index; private Index(String entry, int index) { this.entry = entry; this.index = index; } } }
width, height, new Term[]{bitmaskTerm}, pm); loop.forEachPixel(new RasterDataLoop.Body() { @Override public void eval(final RasterDataEvalEnv env, final int pixelIndex) {
} : new Term[]{term}, pm); loop.forEachPixel(new RasterDataLoop.Body() { @Override public void eval(RasterDataEvalEnv env, int pixelIndex) {
productWidth, productHeight, new Term[]{term}, pm); loop.forEachPixel(new RasterDataLoop.Body() { @Override public void eval(final RasterDataEvalEnv env, final int pixelIndex) {