edu.jhu.cs.cisst.plugins.utilities.surface
Class PlugInIsoSurfaceGenerator

java.lang.Object
  extended by AlgorithmBase
      extended by edu.jhu.ece.iacl.jist.pipeline.ProcessingAlgorithm
          extended by edu.jhu.cs.cisst.plugins.utilities.surface.PlugInIsoSurfaceGenerator

public class PlugInIsoSurfaceGenerator
extends ProcessingAlgorithm

The PlugInIsoSurfaceGenerator generates an iso-surface using either the marching-cubes or marching-tetrahedral algorithm. The patent for marching-cubes has expired as of 2005 and is now available for use in the public domain. This implementation is a reimplementation of a C++ version with enhancements that preserve mesh connectivity.

Author:
Blake Lucas, Cory Bloyd

Field Summary
protected  ParamDouble isoLevelParam
           
protected  ParamVolume levelSetParam
           
protected  ParamOption methodParam
           
protected  ParamSurface surfaceParam
           
protected  ParamBoolean useResolutionsParam
           
protected  ParamOption windingParam
           
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.ProcessingAlgorithm
algorithmInformation, inputParams, JIST_VERSION, outputParams, performance, runningInSeparateProcess
 
Constructor Summary
PlugInIsoSurfaceGenerator()
           
 
Method Summary
protected  void createInputParameters(ParamCollection inputParams)
          Create input parameters.
protected  void createOutputParameters(ParamCollection outputParams)
          Create output parameters.
protected  void execute(CalculationMonitor monitor)
          Execute your algorithm.
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.ProcessingAlgorithm
getAboutFile, getAlgorithmInformation, getAlgorithmLabel, getAlgorithmName, getDefaultJVMArgs, getInput, getMapFile, getOutput, getOutputDirectory, getPreferredSize, getTimeStamp, getUsageFile, init, init, isRunningInSeparateProcess, load, runAlgorithm, runAlgorithm, saveResources, setInput, setMapFile, setOutput, setOutputDirectory, setOutputMetaFile, setPreferredSize, setRunningInSeparateProcess, writeSummaryFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

levelSetParam

protected ParamVolume levelSetParam

isoLevelParam

protected ParamDouble isoLevelParam

methodParam

protected ParamOption methodParam

windingParam

protected ParamOption windingParam

useResolutionsParam

protected ParamBoolean useResolutionsParam

surfaceParam

protected ParamSurface surfaceParam
Constructor Detail

PlugInIsoSurfaceGenerator

public PlugInIsoSurfaceGenerator()
Method Detail

createInputParameters

protected void createInputParameters(ParamCollection inputParams)
Description copied from class: ProcessingAlgorithm
Create input parameters.

Specified by:
createInputParameters in class ProcessingAlgorithm
Parameters:
inputParams - the input parameters

createOutputParameters

protected void createOutputParameters(ParamCollection outputParams)
Description copied from class: ProcessingAlgorithm
Create output parameters.

Specified by:
createOutputParameters in class ProcessingAlgorithm
Parameters:
outputParams - the output parameters

execute

protected void execute(CalculationMonitor monitor)
                throws AlgorithmRuntimeException
Description copied from class: ProcessingAlgorithm
Execute your algorithm.

Specified by:
execute in class ProcessingAlgorithm
Parameters:
monitor - progress monitor
Throws:
AlgorithmRuntimeException - the algorithm runtime exception