edu.stanford.rsl.konrad.phantom.xcat
Class TessellationThread

java.lang.Object
  extended by java.lang.Thread
      extended by edu.stanford.rsl.konrad.parallel.ParallelThread
          extended by edu.stanford.rsl.konrad.phantom.xcat.TessellationThread
All Implemented Interfaces:
NamedParallelizableRunnable, ParallelizableRunnable, java.lang.Runnable

public class TessellationThread
extends ParallelThread

Thread to tessellate a SurfaceBSpline or TimeVariantSurfaceBSpline.

Author:
akmaier

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TessellationThread(java.lang.Object tessellationObject, double voxelSizeX, double voxelSizeY, double voxelSizeZ, double samplingU, double samplingV, double samplingFactorU, double samplingFactorV, double time)
           
 
Method Summary
 void execute()
          Defines the code to be executed.
 AbstractShape getMesh()
           
 java.lang.String getProcessName()
           
 
Methods inherited from class edu.stanford.rsl.konrad.parallel.ParallelThread
run, setLatch
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TessellationThread

public TessellationThread(java.lang.Object tessellationObject,
                          double voxelSizeX,
                          double voxelSizeY,
                          double voxelSizeZ,
                          double samplingU,
                          double samplingV,
                          double samplingFactorU,
                          double samplingFactorV,
                          double time)
Method Detail

getMesh

public AbstractShape getMesh()
Returns:
the mesh

execute

public void execute()
Description copied from class: ParallelThread
Defines the code to be executed. Is called from the run method of the Thread.

Specified by:
execute in class ParallelThread

getProcessName

public java.lang.String getProcessName()