com.hdcookbook.grin.compiler
Class GrinCompiler

java.lang.Object
  extended by com.hdcookbook.grin.compiler.GrinCompiler

public class GrinCompiler
extends java.lang.Object

A tool which takes an SEShow instance and applies optimization.


Constructor Summary
GrinCompiler()
           
 
Method Summary
 void optimizeShows(SEShow[] shows, java.lang.String outputDir)
          Applies optimization to a given SEShow.
 void setHeadless(boolean v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrinCompiler

public GrinCompiler()
Method Detail

setHeadless

public void setHeadless(boolean v)

optimizeShows

public void optimizeShows(SEShow[] shows,
                          java.lang.String outputDir)
                   throws java.io.IOException
Applies optimization to a given SEShow. Currently this converts all images into larger image mosaics.

Parameters:
shows - The show objects to transform.
outputDir - The directory name where various generated files will be stored, such as the generated mosaic image files.
Throws:
java.io.IOException