edu.stanford.rsl.konrad.pipeline
Class BufferedProjectionSink

java.lang.Object
  extended by edu.stanford.rsl.konrad.pipeline.BufferedProjectionSink
All Implemented Interfaces:
Citeable, GUIConfigurable, SafeSerializable, ProjectionSink, java.io.Serializable
Direct Known Subclasses:
ImagePlusDataSink, IndividualFilesProjectionDataSink

public abstract class BufferedProjectionSink
extends java.lang.Object
implements ProjectionSink, GUIConfigurable, Citeable, SafeSerializable

See Also:
Serialized Form

Constructor Summary
BufferedProjectionSink()
           
 
Method Summary
 void adjustViewRange()
           
abstract  java.lang.String getName()
           
static BufferedProjectionSink[] getProjectionDataSinks()
           
 ij.ImagePlus getProjectionVolume()
           
 ij.ImagePlus getResult()
           
 boolean isConfigured()
          Is true if the object was successfully configured
 void prepareForSerialization()
          Sets all data objects in the serialized object to null which do not implement the Serializable interface.
abstract  void process(ij.process.ImageProcessor projection, int projectionNumber)
           
abstract  void setConfiguration(Configuration config)
           
 void setShowStatus(boolean showStatus)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.stanford.rsl.konrad.pipeline.ProjectionSink
close
 
Methods inherited from interface edu.stanford.rsl.apps.gui.GUIConfigurable
configure
 
Methods inherited from interface edu.stanford.rsl.apps.gui.Citeable
getBibtexCitation, getMedlineCitation
 

Constructor Detail

BufferedProjectionSink

public BufferedProjectionSink()
Method Detail

setShowStatus

public void setShowStatus(boolean showStatus)
Specified by:
setShowStatus in interface ProjectionSink

process

public abstract void process(ij.process.ImageProcessor projection,
                             int projectionNumber)
                      throws java.lang.Exception
Specified by:
process in interface ProjectionSink
Throws:
java.lang.Exception

getName

public abstract java.lang.String getName()
Specified by:
getName in interface ProjectionSink

getResult

public ij.ImagePlus getResult()

getProjectionVolume

public ij.ImagePlus getProjectionVolume()

setConfiguration

public abstract void setConfiguration(Configuration config)

getProjectionDataSinks

public static BufferedProjectionSink[] getProjectionDataSinks()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

adjustViewRange

public void adjustViewRange()

prepareForSerialization

public void prepareForSerialization()
Description copied from interface: SafeSerializable
Sets all data objects in the serialized object to null which do not implement the Serializable interface. It can also be used to save space in the serialized form. Configuration parameters are preserved. Processing data is discarded.

Specified by:
prepareForSerialization in interface SafeSerializable

isConfigured

public boolean isConfigured()
Description copied from interface: GUIConfigurable
Is true if the object was successfully configured

Specified by:
isConfigured in interface GUIConfigurable
Returns:
configured?