Class JPanelPositions

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class JPanelPositions extends JInterfaceBase
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • modelViewLabel

      protected JLabel modelViewLabel
      Labels for the current position in 3D ModelView coordinates.
    • modelViewLabelVals

      protected JLabel[] modelViewLabelVals
      Displayed values for the current position in 3D ModelView coordinates.
    • patientSliceLabel

      protected JLabel patientSliceLabel
      Labels for the current position in PatientSlice coordinates.
    • patientSliceLabelVals

      protected JLabel[] patientSliceLabelVals
      Displayed values for the current position in PatientSlice coordinates.
    • absoluteLabel

      protected JLabel absoluteLabel
      Labels for the current absolute position:.
    • absoluteLabelVals

      protected JLabel[] absoluteLabelVals
      Labels for the current absolute position values:.
    • absolutePanel

      protected JPanel absolutePanel
      JPanel containing the absoulte position labels:.
    • scannerLabel

      protected JLabel scannerLabel
      Labels for the current scanner position:.
    • scannerLabelVals

      protected JLabel[] scannerLabelVals
      Labels for the current scanner position values:.
    • scannerPanel

      protected JPanel scannerPanel
      JPanel containing the scanner position labels:.
    • panelLabels

      private JPanel panelLabels
      Panel containing the position labels:.
    • radiologicalView

      private JRadioButton radiologicalView
    • neurologicalView

      private JRadioButton neurologicalView
    • imageA

      private transient ModelImage imageA
  • Constructor Details

    • JPanelPositions

      public JPanelPositions(VolumeTriPlanarInterface kVolumeViewer)
      3D clipping dialog control.
      Parameters:
      kVolumeViewer - parent frame.
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)
    • disposeLocal

      public void disposeLocal()
      Dispose memory.
    • init

      public void init()
      Initializes GUI components.
    • getMainPanel

      public JPanel getMainPanel()
      Description copied from class: JInterfaceBase
      Get the main control panel.
      Overrides:
      getMainPanel in class JInterfaceBase
      Returns:
      mainPanel the whole control panel.
    • setImage

      public void setImage(ModelImage kImage)
    • setRadiological

      public void setRadiological(boolean bOn)
    • resizePanel

      public void resizePanel(int panelWidth, int frameHeight)
      Resizing the control panel with ViewJFrameVolumeView's frame width and height.
      Parameters:
      panelWidth - width
      frameHeight - height
    • setPositionLabels

      public void setPositionLabels(WildMagic.LibFoundation.Mathematics.Vector3f position)
      Sets the position labels.
      Parameters:
      position - the slice positions in FileCoordinates.
    • set3DModelPosition

      protected void set3DModelPosition(WildMagic.LibFoundation.Mathematics.Vector3f position)
      Sets the 3DModel position label.
      Parameters:
      position - 3DModel position values.
    • setPatientSlicePosition

      protected void setPatientSlicePosition(WildMagic.LibFoundation.Mathematics.Vector3f position)
      Sets the PatientSlice position label.
      Parameters:
      position - value.
    • setAbsPositionLabels

      protected void setAbsPositionLabels(WildMagic.LibFoundation.Mathematics.Vector3f position)
      Sets the Absolute position label.
      Parameters:
      position - DOCUMENT ME!
    • setScannerPosition

      protected void setScannerPosition(WildMagic.LibFoundation.Mathematics.Vector3f position)
      Sets the Scanner position label.
      Parameters:
      position - DOCUMENT ME!