<h2>org.autoplot.pngwalk.CreatePngWalk</h2><p>CreatePngWalk makes a sequence of images from a .vap file or the current
 state. This is used with PngWalkTool to quickly flip through the images once
 they are created. This was once a Python script, but it got complex enough
 that it was useful to rewrite it in Java.</p>
<h2>CreatePngWalk( )</h2>
<p></p>

<hr>
<a name="doBatch"></a>
<h2>doBatch</h2>
doBatch( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String[]</a> times, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/autoplot/dom/Application.html'>org.autoplot.dom.Application</a> readOnlyDom, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/autoplot/pngwalk/CreatePngWalk/Params.html'>org.autoplot.pngwalk.CreatePngWalk.Params</a> params, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> mon ) &rarr; int

<p>run the pngwalk for the list of times. The dom argument is copied so the
 scientist can continue working while the pngwalk is run.</p>

<h3>Parameters</h3>
times - list of times to run. If a time contains a ": ", then the
 first part is the label and after is the exact time.
<br>
readOnlyDom - the dom to render for each time.
<br>
params - outputFolder and spec.
<br>
mon - progress monitor to provide feedback about the run.

<h3>Returns:</h3>
0 if any were successful, 10 otherwise.
<br><br>
<a href="https://github.com/autoplot/dev/search?q=doBatch&unscoped_q=doBatch">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/pngwalk/CreatePngWalk.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/pngwalk/CreatePngWalk.html#doBatch">[view on old javadoc]</a>
<br>
<br>
doBatch( <a href='https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html'>java.util.Iterator</a> times, int size, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/autoplot/dom/Application.html'>org.autoplot.dom.Application</a> readOnlyDom, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/autoplot/pngwalk/CreatePngWalk/Params.html'>org.autoplot.pngwalk.CreatePngWalk.Params</a> params, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> mon ) &rarr; int<br>
<hr>
<a name="doIt"></a>
<h2>doIt</h2>
doIt( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/autoplot/dom/Application.html'>org.autoplot.dom.Application</a> dom, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/autoplot/pngwalk/CreatePngWalk/Params.html'>org.autoplot.pngwalk.CreatePngWalk.Params</a> params ) &rarr; int

<p>run the pngwalk. If the params are null, then prompt the user with a GUI.
 The pngwalk is run by resetting the timeRange field of the vap to each
 step of the sequence.</p>

<h3>Parameters</h3>
dom - the state from which a pngwalk is to be produced.
<br>
params - a parameters structure (e.g. batch processing) or null.

<h3>Returns:</h3>
an integer exit code where 0=success, 10=bad time format,
 11=caught exception, 12=uncaught exception
<br><br>
<a href="https://github.com/autoplot/dev/search?q=doIt&unscoped_q=doIt">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/pngwalk/CreatePngWalk.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/pngwalk/CreatePngWalk.html#doIt">[view on old javadoc]</a>
<br>
<br>
<hr>
<a name="main"></a>
<h2>main</h2>
main( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String[]</a> args ) &rarr; void

<p>command-line support for creating PNGWalks. When PNGWalks are created
 interactively in Autoplot, this is used as well.</p>

<h3>Parameters</h3>
args - see the code for the argument list.

<h3>Returns:</h3>
void (returns nothing)

<br><br>
<a href="https://github.com/autoplot/dev/search?q=main&unscoped_q=main">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/pngwalk/CreatePngWalk.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/pngwalk/CreatePngWalk.html#main">[view on old javadoc]</a>
<br>
<br>
<hr>
<a name="writeHTMLFile"></a>
<h2>writeHTMLFile</h2>
writeHTMLFile( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/autoplot/pngwalk/CreatePngWalk/Params.html'>org.autoplot.pngwalk.CreatePngWalk.Params</a> params, <a href='https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html'>java.util.ArrayList</a> pngFilenameArrayThumbs, <a href='https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html'>java.util.ArrayList</a> pngFilenameArrayBig, <a href='https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html'>java.util.ArrayList</a> timeLabels ) &rarr; void

<p>Method to write HTML file of all the pictures to give a gallery view</p>

<h3>Parameters</h3>
params - a CreatePngWalk.Params
<br>
pngFilenameArrayThumbs - a java.util.ArrayList
<br>
pngFilenameArrayBig - a java.util.ArrayList
<br>
timeLabels - a java.util.ArrayList

<h3>Returns:</h3>
void (returns nothing)

<br><br>
<a href="https://github.com/autoplot/dev/search?q=writeHTMLFile&unscoped_q=writeHTMLFile">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/autoplot/pngwalk/CreatePngWalk.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/autoplot/pngwalk/CreatePngWalk.html#writeHTMLFile">[view on old javadoc]</a>
<br>
<br>