Class JPanelVolOpacityRGB

All Implemented Interfaces:
ActionListener, FocusListener, ItemListener, KeyListener, MouseListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ChangeListener

public class JPanelVolOpacityRGB extends JPanelVolOpacityBase
Deprecated.
This class produces a frame where the histogram of the image data is displayed using the color mapping. All frames using the color map are dynamically updated with the new color map. This is the color image volume opacity control panel. In addition to the JPanelColorHisoRGB, the panel hold the gradient magnitude hisogram control panel.
Version:
1.0
See Also:
  • Field Details

    • serialVersionUID

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

      private ModelHistogram histogramABlue
      Deprecated.
      imageA histogram of the Blue channel.
    • histogramAGreen

      private ModelHistogram histogramAGreen
      Deprecated.
      imageA histogram of the Green channel.
    • histogramARed

      private ModelHistogram histogramARed
      Deprecated.
      imageA histogram of the Red channel.
    • histogramBBlue

      private ModelHistogram histogramBBlue
      Deprecated.
      imageB histogram, the Blue channel.
    • histogramBGreen

      private ModelHistogram histogramBGreen
      Deprecated.
      imageB histogram, the Green channel.
    • histogramBRed

      private ModelHistogram histogramBRed
      Deprecated.
      imageB histogram of the Red channel.
    • histogramGM_ABlue

      private ModelHistogram histogramGM_ABlue
      Deprecated.
      imageA histogram of the Blue channel.
    • histogramGM_AGreen

      private ModelHistogram histogramGM_AGreen
      Deprecated.
      imageA histogram of the Green channel.
    • histogramGM_ARed

      private ModelHistogram histogramGM_ARed
      Deprecated.
      imageA histogram of the Red channel.
    • histogramGM_BBlue

      private ModelHistogram histogramGM_BBlue
      Deprecated.
      imageB histogram, the Blue channel.
    • histogramGM_BGreen

      private ModelHistogram histogramGM_BGreen
      Deprecated.
      imageB histogram, the Green channel.
    • histogramGM_BRed

      private ModelHistogram histogramGM_BRed
      Deprecated.
      imageB histogram of the Red channel.
    • rendererProgressBar

      private JProgressBar rendererProgressBar
      Deprecated.
      A reference to the volume renderer frame's progress bar.
    • RGBTA

      private ModelRGB RGBTA
      Deprecated.
      Tagged for deletion - Matt, Ruida, Lee, ModelRGB table for imageA, B.
    • RGBTA_GM

      private ModelRGB RGBTA_GM
      Deprecated.
      Tagged for deletion - Matt, Ruida, Lee, RGB table reference of the image A, B.
    • RGBTB

      private ModelRGB RGBTB
      Deprecated.
      DOCUMENT ME!
    • RGBTB_GM

      private ModelRGB RGBTB_GM
      Deprecated.
      DOCUMENT ME!
    • toolBar

      private JToolBar toolBar
      Deprecated.
      ToolBar that hold the linear, horizontal mode etc.
  • Constructor Details

    • JPanelVolOpacityRGB

      public JPanelVolOpacityRGB(RenderViewBase theParentFrame, ModelImage _imageA, ModelImage _imageB)
      Deprecated.
      Makes a frame of the histogram.
      Parameters:
      theParentFrame - Model RGB
      _imageA - Model of imageA
      _imageB - Model of imageB
      See Also:
    • JPanelVolOpacityRGB

      public JPanelVolOpacityRGB(VolumeTriPlanarInterface theParentFrame, ModelImage _imageA, ModelImage _imageB)
      Deprecated.
      Makes a frame of the histogram.
      Parameters:
      theParentFrame - Model RGB
      _imageA - Model of imageA
      _imageB - Model of imageB
      See Also:
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Deprecated.
      Calls various methods depending on the action.
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JPanelVolOpacityBase
      Parameters:
      event - event that triggered function
    • addGM

      public void addGM()
      Deprecated.
      Add the gradient magnitude hitogram to the opacity control panel.
      Specified by:
      addGM in class JPanelVolOpacityBase
    • buildRGBToolBar

      public JToolBar buildRGBToolBar(ActionListener al)
      Deprecated.
      Method to build the toolbar for the RGB frame.
      Parameters:
      al - action listener (this frame)
      Returns:
      DOCUMENT ME!
    • disposeLocal

      public void disposeLocal()
      Deprecated.
      Disposes of components and frame.
      Overrides:
      disposeLocal in class JPanelVolOpacityBase
    • finalize

      public void finalize() throws Throwable
      Deprecated.
      Calls dispose.
      Overrides:
      finalize in class JPanelVolOpacityBase
      Throws:
      Throwable - DOCUMENT ME!
    • getGradMagA

      public ModelImage getGradMagA()
      Deprecated.
      Get the gradient magnitude imageA.
      Overrides:
      getGradMagA in class JPanelVolOpacityBase
      Returns:
      ModelImage GM imageA
    • getGradMagB

      public ModelImage getGradMagB()
      Deprecated.
      Get the gradient magnitude imageA.
      Overrides:
      getGradMagB in class JPanelVolOpacityBase
      Returns:
      ModelImage GM imageA
    • getOpacityAfn

      public TransferFunction getOpacityAfn(int channel)
      Deprecated.
      Returns the opacity transfer function for image A.
      Parameters:
      channel - DOCUMENT ME!
      Returns:
      TransferFunction
    • getOpacityBfn

      public TransferFunction getOpacityBfn(int channel)
      Deprecated.
      Returns the opacity transfer function for image B.
      Parameters:
      channel - DOCUMENT ME!
      Returns:
      TransferFunction
    • getOpacityGM_Afn

      public TransferFunction getOpacityGM_Afn(int channel)
      Deprecated.
      Returns the opacity transfer function for image A.
      Parameters:
      channel - DOCUMENT ME!
      Returns:
      TransferFunction
    • getOpacityGM_Bfn

      public TransferFunction getOpacityGM_Bfn(int channel)
      Deprecated.
      Returns the opacity transfer function for image B.
      Parameters:
      channel - DOCUMENT ME!
      Returns:
      TransferFunction
    • getRGB_OpacityA

      public ModelRGB getRGB_OpacityA()
      Deprecated.
      Returns the opacity transfer function via the ModelRGB object for image B.
      Returns:
      ModelRGB
    • getRGB_OpacityA_GM

      public ModelRGB getRGB_OpacityA_GM()
      Deprecated.
      Returns the opacity transfer function for the gradient magnitude image via the ModelRGB object for image A.
      Returns:
      ModelRGB
    • getRGB_OpacityB

      public ModelRGB getRGB_OpacityB()
      Deprecated.
      Returns the opacity transfer function via the ModelRGB object for image B.
      Returns:
      ModelRGB
    • getRGB_OpacityB_GM

      public ModelRGB getRGB_OpacityB_GM()
      Deprecated.
      Returns the opacity transfer function for the gradient magnitude image via the ModelRGB object for image B.
      Returns:
      ModelRGB
    • itemStateChanged

      public void itemStateChanged(ItemEvent event)
      Deprecated.
      Sets the flags for the checkboxes.
      Specified by:
      itemStateChanged in interface ItemListener
      Overrides:
      itemStateChanged in class JPanelRendererBase
      Parameters:
      event - event that triggered this function
    • removeGM

      public void removeGM()
      Deprecated.
      Add the gradient magnitude hitogram to the opacity control panel.
      Specified by:
      removeGM in class JPanelVolOpacityBase
    • buildPanelA

      private void buildPanelA()
      Deprecated.
      Method that displays the histogram and LUT and other controls to manipulate the LUT. Panel for image A.
    • buildPanelB

      private void buildPanelB()
      Deprecated.
      Method that displays the histogram and LUT and other controls to manipulate the LUT. Panel for image B.
    • buildPanelGM_A

      private void buildPanelGM_A()
      Deprecated.
      Method that displays the histogram and LUT and other controls to manipulate the LUT. Panel for image A.
    • buildPanelGM_B

      private void buildPanelGM_B()
      Deprecated.
      Method that displays the histogram and LUT and other controls to manipulate the LUT. Panel for image B.
    • calcHistogram

      private ModelHistogram calcHistogram(ModelImage image, int channel)
      Deprecated.
      Calculates histogram for the image(s).
      Parameters:
      image - DOCUMENT ME!
      channel - DOCUMENT ME!
      Returns:
      DOCUMENT ME!
    • calcHistogramGM

      private void calcHistogramGM()
      Deprecated.
      Calculates the histogram for the color images GM.