commandline.dataToImage
Class ConvexColoredMeshWriter

java.lang.Object
  extended by commandline.dataToImage.ConvexColoredMeshWriter
All Implemented Interfaces:
RefinementListener

public class ConvexColoredMeshWriter
extends java.lang.Object
implements RefinementListener

Class listening to refinementEvents, storing tesselations and outputting them to m-files.

Author:
ward

Constructor Summary
ConvexColoredMeshWriter(java.io.File f, Mesh m)
           
 
Method Summary
 void performRefinementEvent(RefinementEvent event)
           
 void writeAndClose()
          writes a single m-file containing the highest resolution tesselations
 void writematlabscript()
          writes script to make images of the m-files; just run this script in Matlab
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConvexColoredMeshWriter

public ConvexColoredMeshWriter(java.io.File f,
                               Mesh m)
                        throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

performRefinementEvent

public void performRefinementEvent(RefinementEvent event)
Specified by:
performRefinementEvent in interface RefinementListener

writeAndClose

public void writeAndClose()
writes a single m-file containing the highest resolution tesselations


writematlabscript

public void writematlabscript()
writes script to make images of the m-files; just run this script in Matlab