/** {@inheritDoc} */ public void setDestinationImage(String varName, WritableRenderedImage image) { try { doSetDestinationImage(varName, image, null); } catch (WorldNotSetException ex) { // No exception can be caused by a null transform } }
/** Creates a new instance and initializes script-option variables. */ public AbstractDirectRuntime() { super(new String[0]); initOptionVars(); }
JiffleProgressListener listener = pl == null ? new NullProgressListener() : pl; if (!isWorldSet()) { setDefaultBounds(); final long numPixels = getNumPixels(); listener.setTaskSize(numPixels); final long updateInterval = listener.getUpdateInterval(); final double minX = getMinX(); final double maxX = getMaxX(); final double resX = getXRes(); final double minY = getMinY(); final double maxY = getMaxY(); final double resY = getYRes(); evaluate(x, y);
JiffleProgressListener listener = pl == null ? new NullProgressListener() : pl; if (!isWorldSet()) { setDefaultBounds(); final long numPixels = getNumPixels(); listener.setTaskSize(numPixels); final long updateInterval = listener.getUpdateInterval(); final double minX = getMinX(); final double maxX = getMaxX(); final double resX = getXRes(); final double minY = getMinY(); final double maxY = getMaxY(); final double resY = getYRes(); evaluate(x, y);
/** {@inheritDoc} */ public void setDestinationImage(String varName, WritableRenderedImage image) { try { doSetDestinationImage(varName, image, null); } catch (WorldNotSetException ex) { // No exception can be caused by a null transform } }
/** Creates a new instance and initializes script-option variables. */ public AbstractDirectRuntime(String[] variableNames) { super(variableNames); initOptionVars(); }
/** {@inheritDoc} */ public void setDestinationImage( String varName, WritableRenderedImage image, CoordinateTransform tr) throws JiffleException { try { doSetDestinationImage(varName, image, tr); } catch (WorldNotSetException ex) { throw new JiffleException( String.format( "Setting a coordinate tranform for a destination (%s) without" + "having first set the world bounds and resolution", varName)); } }
/** Creates a new instance and initializes script-option variables. */ public AbstractDirectRuntime() { super(new String[0]); initOptionVars(); }
/** {@inheritDoc} */ public void setDestinationImage( String varName, WritableRenderedImage image, CoordinateTransform tr) throws JiffleException { try { doSetDestinationImage(varName, image, tr); } catch (WorldNotSetException ex) { throw new JiffleException( String.format( "Setting a coordinate tranform for a destination (%s) without" + "having first set the world bounds and resolution", varName)); } }
/** Creates a new instance and initializes script-option variables. */ public AbstractDirectRuntime(String[] variableNames) { super(variableNames); initOptionVars(); }