Class JDialogSurfaceReconstruction

All Implemented Interfaces:
DialogDefaultsInterface, ActionListener, FocusListener, ItemListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants
Direct Known Subclasses:
JDialogSurfaceReconstructionTBI

public class JDialogSurfaceReconstruction extends JDialogBase
Version:
09 Jan, 2009
Author:
Ruida Cheng
See Also:
  • Field Details

    • buttonPanel

      public JPanel buttonPanel
      Button panel to hold the OK button, Cancel button, and Help button.
    • msgPanel

      public JPanel msgPanel
      Msg box to show the Prostate surface analysis related info.
    • BallPivotingPanel

      private JPanel BallPivotingPanel
    • PoissonPanel

      private JPanel PoissonPanel
    • plyInputFilePanel

      private JPanel plyInputFilePanel
    • plyOutputFilePanel

      private JPanel plyOutputFilePanel
    • textFieldBallRadius

      private JTextField textFieldBallRadius
    • textFieldClusteringRadius

      private JTextField textFieldClusteringRadius
    • textFieldAngleThreshold

      private JTextField textFieldAngleThreshold
    • textOctreeDepth

      private JTextField textOctreeDepth
    • textSolverDivide

      private JTextField textSolverDivide
    • textSamplePerNode

      private JTextField textSamplePerNode
    • textFieldInputFile

      private JTextField textFieldInputFile
    • textFieldOutputFile

      private JTextField textFieldOutputFile
    • buttonInputFile

      private JButton buttonInputFile
    • buttonOutputFile

      private JButton buttonOutputFile
    • chooser

      private JFileChooser chooser
    • fileNameInput

      private String fileNameInput
    • directoryInput

      private String directoryInput
    • file_suffix

      private String file_suffix
    • UI

      private ViewUserInterface UI
    • fileNameOutput

      private String fileNameOutput
    • directoryOutput

      private String directoryOutput
  • Constructor Details

    • JDialogSurfaceReconstruction

      public JDialogSurfaceReconstruction(Frame theParentFrame)
      Constructor for Merging the 3 VOIs and save into one cloudy points file.
      Parameters:
      theParentFrame -
    • JDialogSurfaceReconstruction

      public JDialogSurfaceReconstruction(Frame theParentFrame, boolean modal)
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)
      handler the button click evens.
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JDialogBase
    • processAlgorithm

      public void processAlgorithm()
    • ToRad

      public float ToRad(float a)
    • selectFileInput

      public void selectFileInput()
      Select input .ply file.
    • selectFileOutput

      public void selectFileOutput()
      Select input .ply file.
    • setFileInput

      public void setFileInput(String dirName, String fileName)
    • setFileOutput

      public void setFileOutput(String dirName, String fileName)
    • writePlyFile

      public void writePlyFile()
      Write the cloud points from the 3 VOIs into one .ply file. The .ply file is readable for MeshLab.
    • init

      private void init()
      Sets up GUI and displays the dialog.
    • buildButtons

      protected JPanel buildButtons()
      Builds button panel consisting of OK, Cancel and Help buttons.
      Overrides:
      buildButtons in class JDialogBase
      Returns:
      JPanel that has ok, cancel, and help buttons
    • buildOKButton

      protected JButton buildOKButton()
      Builds the OK button. Sets it internally as well return the just-built button.
      Overrides:
      buildOKButton in class JDialogBase
      Returns:
      JButton ok button
    • buildCancelButton

      protected JButton buildCancelButton()
      Builds the cancel button. Sets it internally as well return the just-built button.
      Overrides:
      buildCancelButton in class JDialogBase
      Returns:
      JButton cancel button
    • buildHelpButton

      protected JButton buildHelpButton()
      Builds the help button. Sets it internally as well return the just-built button.
      Overrides:
      buildHelpButton in class JDialogBase
      Returns:
      JButton help button