Class JPanelVolOpacityRGB

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.FocusListener, java.awt.event.ItemListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.event.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:
    JPanelVolumeOpacity, Serialized Form
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Deprecated.
        Use serialVersionUID for interoperability.
        See Also:
        Constant Field Values
      • 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 javax.swing.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 javax.swing.JToolBar toolBar
        Deprecated.
        ToolBar that hold the linear, horizontal mode etc.
    • Constructor Detail

      • 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:
        JPanelVolumeOpacity
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent event)
        Deprecated.
        Calls various methods depending on the action.
        Specified by:
        actionPerformed in interface java.awt.event.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 javax.swing.JToolBar buildRGBToolBar​(java.awt.event.ActionListener al)
        Deprecated.
        Method to build the toolbar for the RGB frame.
        Parameters:
        al - action listener (this frame)
        Returns:
        DOCUMENT ME!
      • finalize

        public void finalize()
                      throws java.lang.Throwable
        Deprecated.
        Calls dispose.
        Overrides:
        finalize in class JPanelVolOpacityBase
        Throws:
        java.lang.Throwable - DOCUMENT ME!
      • 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​(java.awt.event.ItemEvent event)
        Deprecated.
        Sets the flags for the checkboxes.
        Specified by:
        itemStateChanged in interface java.awt.event.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.