Class JDialogDoublyConnectedSC

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

public class JDialogDoublyConnectedSC extends JDialogBase implements AlgorithmInterface, ItemListener, WindowListener
Dialog to get Schwarz-Christoffel mapping of region between 2 polygons to an annulus
See Also:
  • Field Details

    • serialVersionUID

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

      private ButtonGroup VOIGroup
    • outerButton

      private JRadioButton outerButton
    • innerButton

      private JRadioButton innerButton
    • componentImage

      private ViewJComponentEditImage componentImage
    • image

      private ModelImage image
    • resultImage

      private ModelImage resultImage
    • extents

      private int[] extents
    • xDim

      private int xDim
    • dcscAlgo

      private DoublyConnectedSC dcscAlgo
    • xText

      private JTextField xText
    • VOIs

      private ViewVOIVector VOIs
    • Z0

      private double[][] Z0
    • Z1

      private double[][] Z1
    • NPTQ

      private int NPTQ
    • nptqText

      private JTextField nptqText
    • displayCheckBox

      private JCheckBox displayCheckBox
    • ISPRT

      private int ISPRT
    • IGUESS

      private int IGUESS
    • guessGroup

      private ButtonGroup guessGroup
    • nonequalButton

      private JRadioButton nonequalButton
    • equalButton

      private JRadioButton equalButton
    • preverticesButton

      private JRadioButton preverticesButton
    • LINEARC

      private int LINEARC
    • integrationGroup

      private ButtonGroup integrationGroup
    • lineButton

      private JRadioButton lineButton
    • circularButton

      private JRadioButton circularButton
    • TOL

      private double TOL
    • tolText

      private JTextField tolText
  • Constructor Details

    • JDialogDoublyConnectedSC

      public JDialogDoublyConnectedSC(ModelImage image)
      Creates a new JDialogFRAP object.
      Parameters:
      image - DOCUMENT ME!
    • JDialogDoublyConnectedSC

      public JDialogDoublyConnectedSC(Frame theParentFrame, ModelImage im)
      Creates new dialog.
      Parameters:
      theParentFrame - Parent frame
      im - Source image
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Closes dialog box when the OK button is pressed and calls the algorithm.
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JDialogBase
      Parameters:
      event - Event that triggers function.
    • callAlgorithm

      private void callAlgorithm()
      DOCUMENT ME!
    • 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 be display the result image and/or clean up.
      Specified by:
      algorithmPerformed in interface AlgorithmInterface
      Parameters:
      algorithm - Algorithm that caused the event.
    • init

      private void init()
      Initializes GUI components and displays dialog.
    • setVariables

      private boolean setVariables()
      Use the GUI results to set up the variables needed to run the algorithm.
      Returns:
      true if parameters set successfully, false otherwise.