/** * {@inheritDoc} */ public void setSourceImage(String varName, RenderedImage image) { try { doSetSourceImage(varName, image, null); } catch (WorldNotSetException ex) { // No exception can be caused by a null transform } }
/** * {@inheritDoc} */ public void setSourceImage(String varName, RenderedImage image) { try { doSetSourceImage(varName, image, null); } catch (WorldNotSetException ex) { // No exception can be caused by a null transform } }
/** * {@inheritDoc} */ public void setSourceImage(String varName, RenderedImage image, CoordinateTransform tr) throws JiffleException { try { doSetSourceImage(varName, image, tr); } catch (WorldNotSetException ex) { throw new JiffleException(String.format( "Setting a coordinate tranform for a source (%s) without" + "having first set the world bounds and resolution", varName)); } }
/** * {@inheritDoc} */ public void setSourceImage(String varName, RenderedImage image, CoordinateTransform tr) throws JiffleException { try { doSetSourceImage(varName, image, tr); } catch (WorldNotSetException ex) { throw new JiffleException(String.format( "Setting a coordinate tranform for a source (%s) without" + "having first set the world bounds and resolution", varName)); } }