public abstract class MultiProjectionFilter extends ImageFilteringTool implements ProjectionSink, java.lang.Runnable
Constructor and Description |
---|
MultiProjectionFilter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
feedFilter(ProjectionSource source,
boolean showStatus)
feeds the filter from a projection Source.
|
int |
getContext() |
java.lang.String |
getName() |
void |
prepareForSerialization()
Sets all data objects in the serialized object to null which do not implement the Serializable interface.
|
void |
process(Grid2D projection,
int projectionNumber) |
void |
run() |
void |
setContext(int context) |
void |
setShowStatus(boolean showStatus) |
void |
setSink(ProjectionSink sink)
Used to connect the filter with the rest of the pipeline.
|
void |
start()
Packs the filter into a Thread and starts it.
|
clone, getFilterTools, getToolName, isConfigured, isDeviceDependent, setConfigured, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
configure
getBibtexCitation, getMedlineCitation
public void setContext(int context)
public int getContext()
public void setShowStatus(boolean showStatus)
setShowStatus
in interface ProjectionSink
public void setSink(ProjectionSink sink)
sink
- public void start()
public void prepareForSerialization()
SafeSerializable
prepareForSerialization
in interface SafeSerializable
prepareForSerialization
in class ImageFilteringTool
public void process(Grid2D projection, int projectionNumber) throws java.lang.Exception
process
in interface ProjectionSink
java.lang.Exception
public void run()
run
in interface java.lang.Runnable
public void close()
close
in interface ProjectionSink
public java.lang.String getName()
getName
in interface ProjectionSink
public void feedFilter(ProjectionSource source, boolean showStatus) throws java.lang.Exception
source
- the sourceshowStatus
- displays whether the status should be displayed using ImageJjava.lang.Exception
- may happen.