Class JDialogVOIExtraction

All Implemented Interfaces:
AlgorithmInterface, DialogDefaultsInterface, ActionListener, FocusListener, ItemListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class JDialogVOIExtraction extends JDialogBase implements AlgorithmInterface
Dialog to call the VOI extraction. This dialog will not be visible because it does not require user input at this time. It was made a dialog object because it may in the future require user input and to be consistent with the dialog/algorithm paradigm. In should be noted, that the algorithms are executed in their own thread.
Version:
0.1 Nov 17, 1998
Author:
Matthew J. McAuliffe, Ph.D.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Use serialVersionUID for interoperability.
      See Also:
    • imageA

      private ModelImage imageA
      DOCUMENT ME!
    • VOIExtractionAlgo

      private AlgorithmVOIExtraction VOIExtractionAlgo
      DOCUMENT ME!
  • Constructor Details

    • JDialogVOIExtraction

      public JDialogVOIExtraction(Frame theParentFrame, ModelImage imA)
      Sets variables needed for calling algorithm.
      Parameters:
      theParentFrame - Parent frame
      imA - Source image
  • Method Details

    • algorithmPerformed

      public void algorithmPerformed(AlgorithmBase algorithm)
      This method is required if the AlgorithmPerformed interface is implemented. It is called by the algorithm when it has completed or failed to to complete, so that the dialog can display the result image and/or clean up.
      Specified by:
      algorithmPerformed in interface AlgorithmInterface
      Parameters:
      algorithm - algorithm that caused the event.
    • callAlgorithm

      protected void callAlgorithm()
      Calls the algorithm.