Class JPanelDTIVisualization

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
gov.nih.mipav.view.renderer.WildMagic.DTI_FrameWork.JPanelDTIVisualization
All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class JPanelDTIVisualization extends JPanel implements ActionListener
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • loadButton

      private JButton loadButton
      Button enabled when all required images are loaded. Pressing 'Load' launches the Volume DTI Renderer.
    • m_kT2Image

      private ModelImage m_kT2Image
      Anisotropy image *
    • m_kAnisotropyImage

      private ModelImage m_kAnisotropyImage
      Anisotropy image *
    • m_kDTIColorImage

      private ModelImage m_kDTIColorImage
      result image *
    • m_kDTIImage

      private ModelImage m_kDTIImage
      Diffusion Tensor image.
    • m_kEigenValueImage

      private ModelImage m_kEigenValueImage
      EigenValue image *
    • m_kEigenVectorImage

      private ModelImage m_kEigenVectorImage
      Eigenvector image *
    • m_kTractFile

      private File m_kTractFile
      Tract input file.
    • m_kTractPath

      private JTextField m_kTractPath
      Fiber bundle tract file input path name text box.
    • mainPanel

      private JPanel mainPanel
      main panel *
    • parentFrame

      private final JDialog parentFrame
      Parent dialog, when this panel is created as a stand-alone dialog: *
    • textDTIimage

      private JTextField textDTIimage
      Text boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files:
    • textDTIColorImage

      private JTextField textDTIColorImage
      Text boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files:
    • textEVimage

      private JTextField textEVimage
      Text boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files:
    • textEValueImage

      private JTextField textEValueImage
      Text boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files:
    • textFAimage

      private JTextField textFAimage
      Text boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files:
    • textT2image

      private JTextField textT2image
      Text boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files:
  • Constructor Details

    • JPanelDTIVisualization

      public JPanelDTIVisualization(JDialog parent, boolean bStandAlone)
      Creates the DTI Visualization panel inside the parent dialog.
      Parameters:
      parent - Dialog containing this panel.
  • Method Details

    • createFrame

      public static void createFrame()
      Creates as stand-alone dialog with the interface:
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Specified by:
      actionPerformed in interface ActionListener
    • disposeLocal

      public void disposeLocal(boolean bDispose)
      Dispose memory.
    • enableLoad

      public void enableLoad()
    • setDTIColorImage

      public void setDTIColorImage(ModelImage dtiColorImage)
      Set the DTI Color image
      Parameters:
      DTI - Color Image
    • setDTIImage

      public void setDTIImage(ModelImage dtiImage)
      Set the DTI image
      Parameters:
      DTI - image
    • setEValueImage

      public void setEValueImage(ModelImage evImage)
      Set the eigen value image
      Parameters:
      eigen - value image
    • setEVImage

      public void setEVImage(ModelImage evImage)
      Set the eigen vector image
      Parameters:
      eigen - vector image
    • setFAImage

      public void setFAImage(ModelImage faImage)
      Set the functional anisotropy image
      Parameters:
      eigen - vector image
    • setTractFile

      public void setTractFile(String tractFileName)
    • buildDTIColorLoadPanel

      private void buildDTIColorLoadPanel()
    • buildDTILoadPanel

      private void buildDTILoadPanel()
    • buildEValueLoadPanel

      private void buildEValueLoadPanel()
    • buildEVLoadPanel

      private void buildEVLoadPanel()
    • buildFALoadPanel

      private void buildFALoadPanel()
    • buildT2LoadPanel

      private void buildT2LoadPanel()
    • init

      private void init(boolean bStandAlone)
    • loadDTIColorFile

      private void loadDTIColorFile()
    • loadDTIFile

      private void loadDTIFile()
      Launches the JFileChooser for the user to select the Diffusion Tensor Image. Loads the tensor data.
    • loadEValueFile

      private void loadEValueFile()
    • loadEVFile

      private void loadEVFile()
    • loadFAFile

      private void loadFAFile()
    • loadT2File

      private void loadT2File()
    • loadTractFile

      private void loadTractFile()
      Launches the JFileChooser for the user to select the tract file. Stores the File for the tract file but does not read the file.