Package gov.nih.mipav.view.renderer.J3D
Class JPanelVolOpacityBase
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- javax.swing.JComponent
-
- javax.swing.JPanel
-
- gov.nih.mipav.view.renderer.JPanelRendererBase
-
- gov.nih.mipav.view.renderer.J3D.JPanelRendererJ3D
-
- gov.nih.mipav.view.renderer.J3D.JPanelVolOpacityBase
-
- 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
- Direct Known Subclasses:
JPanelVolOpacity
,JPanelVolOpacityRGB
public abstract class JPanelVolOpacityBase extends JPanelRendererJ3D implements javax.swing.event.ChangeListener, java.awt.event.MouseListener
Deprecated.Simple panel containing the volume renderer opacity controls.- Version:
- 0.1 August, 2005
- See Also:
JPanelVolumeOpacity
, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
-
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.JSlider
blendSlider
Deprecated.Opacity slider of texture 3D volume opacity changes.static int
BLUE
Deprecated.Component tag indicator.static int
COMP_A
Deprecated.Component tag indicator.static int
COMP_B
Deprecated.Component tag indicator.static int
COMP_GM_A
Deprecated.Component tag indicator.static int
COMP_GM_B
Deprecated.Component tag indicator.protected ViewJComponentVolOpacityBase
componentOpacityA
Deprecated.Reference to compoment opacity control A.protected ViewJComponentVolOpacityBase
componentOpacityB
Deprecated.Reference to compoment opacity control B.protected ViewJComponentVolOpacityBase
componentOpacityGM_A
Deprecated.Reference to compoment opacity control A GM Rescale.protected ViewJComponentVolOpacityBase
componentOpacityGM_B
Deprecated.Reference to compoment opacity control B GM Rescale.protected javax.swing.JCheckBox
GMCheckBox
Deprecated.Gradient Magnitude Check box of the grey scale image.protected ModelImage
gradMagRescale_A
Deprecated.Model image of the gradient magnitude of image A rescaled to have value in the range [0:255].protected ModelImage
gradMagRescale_B
Deprecated.Model image of the gradient magnitude of image B rescaled to have value in the range [0:255].static int
GREEN
Deprecated.Component tag indicator.protected ModelImage
imageA
Deprecated.Model image A.protected ModelImage
imageB
Deprecated.Model image B.protected java.util.Hashtable
labelsTable
Deprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B.protected java.util.Hashtable
labelsTableB
Deprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B.protected java.util.Hashtable
labelsTableGM_A
Deprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B.protected java.util.Hashtable
labelsTableGM_B
Deprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B.protected VolumeTriPlanarInterface
m_kVolumeViewer
Deprecated.Render base.protected float
middleLabelValueA
Deprecated.DOCUMENT ME!protected float
middleLabelValueB
Deprecated.DOCUMENT ME!protected float
middleLabelValueGM_A
Deprecated.DOCUMENT ME!protected float
middleLabelValueGM_B
Deprecated.DOCUMENT ME!protected javax.swing.JSlider
mouseSlider
Deprecated.DOCUMENT ME!protected javax.swing.JSlider
mouseSliderB
Deprecated.DOCUMENT ME!protected javax.swing.JSlider
mouseSliderGM_A
Deprecated.DOCUMENT ME!protected javax.swing.JSlider
mouseSliderGM_B
Deprecated.DOCUMENT ME!protected static java.lang.String
OPACITY_COMPONENT_TAB_A
Deprecated.DOCUMENT ME!protected static java.lang.String
OPACITY_COMPONENT_TAB_A_GM
Deprecated.DOCUMENT ME!protected static java.lang.String
OPACITY_COMPONENT_TAB_B
Deprecated.DOCUMENT ME!protected static java.lang.String
OPACITY_COMPONENT_TAB_B_GM
Deprecated.DOCUMENT ME!protected javax.swing.JLabel[]
opacitySliderLabelsA
Deprecated.The labels below the opacity slider.protected javax.swing.JLabel[]
opacitySliderLabelsB
Deprecated.The labels below the opacity slider.protected javax.swing.JLabel[]
opacitySliderLabelsGM_A
Deprecated.DOCUMENT ME!protected javax.swing.JLabel[]
opacitySliderLabelsGM_B
Deprecated.DOCUMENT ME!protected javax.swing.JPanel
panelOpacityA
Deprecated.Panels that hold the the control components (opacity maps).protected javax.swing.JPanel
panelOpacityB
Deprecated.DOCUMENT ME!protected javax.swing.JPanel
panelOpacityGM_A
Deprecated.DOCUMENT ME!protected javax.swing.JPanel
panelOpacityGM_B
Deprecated.DOCUMENT ME!protected javax.swing.JTextField
rangeText
Deprecated.X range text field in the imageA, B histogram dialog.protected javax.swing.JTextField
rangeTextB
Deprecated.X range text field in the imageA, B histogram dialog.protected javax.swing.JTextField
rangeTextGM_A
Deprecated.X range text field in the Gradient Magnitude imageA, B histogram dialog.protected javax.swing.JTextField
rangeTextGM_B
Deprecated.X range text field in the Gradient Magnitude imageA, B histogram dialog.static int
RED
Deprecated.Component tag indicator.protected float
scaleRangeA
Deprecated.Scale range value according to the image min and max.protected float
scaleRangeB
Deprecated.Scale range value according to the image min and max.protected float
scaleRangeGM_A
Deprecated.Scale range value according to the image min and max.protected float
scaleRangeGM_B
Deprecated.Scale range value according to the image min and max.private static long
serialVersionUID
Deprecated.Use serialVersionUID for interoperability.protected javax.swing.JTabbedPane
tabbedPane
Deprecated.Tabbed pane that contains the list of opacity functions.protected javax.swing.JTextField
xRangeTextA
Deprecated.X range text field in the imageA, B and GM image A, B histogram dialog.protected javax.swing.JTextField
xRangeTextB
Deprecated.X range text field in the imageA, B and GM image A, B histogram dialog.protected javax.swing.JTextField
xRangeTextGM_A
Deprecated.X range text field in the imageA, B and GM image A, B histogram dialog.protected javax.swing.JTextField
xRangeTextGM_B
Deprecated.X range text field in the imageA, B and GM image A, B histogram dialog.protected javax.swing.JTextField
yRangeTextA
Deprecated.Y range text field in the imageA, B and GM image A, B histogram dialog.protected javax.swing.JTextField
yRangeTextB
Deprecated.Y range text field in the imageA, B and GM image A, B histogram dialog.protected javax.swing.JTextField
yRangeTextGM_A
Deprecated.Y range text field in the imageA, B and GM image A, B histogram dialog.protected javax.swing.JTextField
yRangeTextGM_B
Deprecated.Y range text field in the imageA, B and GM image A, B histogram dialog.-
Fields inherited from class gov.nih.mipav.view.renderer.J3D.JPanelRendererJ3D
rayBasedRender, renderBase
-
Fields inherited from class gov.nih.mipav.view.renderer.JPanelRendererBase
applyButton, cancelButton, cancelFlag, closeButton, helpButton, isActiveImage, mainPanel, NEW, OKButton, REPLACE, runInSeparateThread, serif12, serif12B
-
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
-
-
Constructor Summary
Constructors Constructor Description JPanelVolOpacityBase(RenderViewBase theParentFrame)
Deprecated.JPanelVolOpacityBase(VolumeTriPlanarInterface kVolumeViewer)
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent event)
Deprecated.Action performed method required when extending JPanelRendererBase.abstract void
addGM()
Deprecated.protected javax.swing.JPanel
buildBlendPanel()
Deprecated.Build the blend slider control panel.void
disposeLocal()
Deprecated.Clear memory and garbage collection.protected void
finalize()
Deprecated.Calls dispose.int
getAlphaBlendSliderValue()
Deprecated.This function returns the value of the blending slider.ViewJComponentVolOpacityBase
getCompA()
Deprecated.Return the opacity histrogram component of the imageA.ViewJComponentVolOpacityBase
getCompA_GM()
Deprecated.Return the opacity histrogram component of the Gradient Magnitude imageA.ViewJComponentVolOpacityBase
getCompB()
Deprecated.Return the opacity histrogram component of the imageB.ViewJComponentVolOpacityBase
getCompB_GM()
Deprecated.Return the opacity histrogram component of the Gradient Magnitude imageB.ModelImage
getGradMagA()
Deprecated.Get the gradient magnitude imageA.ModelImage
getGradMagB()
Deprecated.Get the gradient magnitude imageB.ModelImage
getImageA()
Deprecated.Accessor that returns the imageA.ModelImage
getImageB()
Deprecated.Accessor that returns the image.protected java.util.Hashtable
getLabelTableA()
Deprecated.Build the hash table for the imageA opacity slider.protected java.util.Hashtable
getLabelTableB()
Deprecated.Build the hash table for the imageB opacity slider.protected java.util.Hashtable
getLabelTableGM_A()
Deprecated.Build the hash table for the imageA GM opacity slider.protected java.util.Hashtable
getLabelTableGM_B()
Deprecated.Build the hash table for the imageA GM opacity slider.javax.swing.JPanel
getMainPanel()
Deprecated.Sets up the GUI (panels, buttons, etc) and displays it on the screen.RenderViewBase
getParentFrame()
Deprecated.Return the parent frame.ViewJComponentVolOpacityBase
getSelectedComponent()
Deprecated.Return the selected tabbbed pane component.ViewJComponentVolOpacityBase
getSelectedComponent(int _whichComp)
Deprecated.Return the active image component.int
getSelectedTabIndex()
Deprecated.javax.swing.JTabbedPane
getTabbedPane()
Deprecated.Accessor to the tabbed pane.protected void
initBlendSliderLabels()
Deprecated.Initialize the blend slider labels.boolean
isGradientMagnitudeOpacityEnabled()
Deprecated.Return whether or not the opacity mapping based on gradient magnitude is enabled.protected boolean
loadGMImage(java.lang.String dName, java.lang.String fName, boolean isImageA)
Deprecated.Loads the gradient magnitude image instead of recalculating the image.void
mouseClicked(java.awt.event.MouseEvent event)
Deprecated.Not used method.void
mouseEntered(java.awt.event.MouseEvent event)
Deprecated.Not used method.void
mouseExited(java.awt.event.MouseEvent event)
Deprecated.Not used method.void
mousePressed(java.awt.event.MouseEvent event)
Deprecated.Not used method.void
mouseReleased(java.awt.event.MouseEvent event)
Deprecated.Mouse release event.abstract void
removeGM()
Deprecated.void
setAdjustersEnabled(boolean enabled)
Deprecated.This method will enable or disable the opacity panel's slider component and input text fields, based on the value of the boolean parameter passed into it.void
setAlphaBlendSliderValue(int iValue)
Deprecated.Sets the blendSlider value.void
setGradientMagnitudeOpacityEnabled(boolean value)
Deprecated.Return whether or not the opacity mapping based on gradient magnitude is enabled.void
setSelectedTabIndex(int i)
Deprecated.void
stateChanged(javax.swing.event.ChangeEvent event)
Deprecated.ChangeListener for opacity slider changes.void
update()
Deprecated.void
updateSlider(ViewJComponentVolOpacityBase childComponent)
Deprecated.Adjust the opacity slider for the minor opacity changes.-
Methods inherited from class gov.nih.mipav.view.renderer.J3D.JPanelRendererJ3D
getSurfaceRender, setRayBasedRender, setSurfaceRender
-
Methods inherited from class gov.nih.mipav.view.renderer.JPanelRendererBase
buildApplyButton, buildCancelButton, buildCloseButton, buildHelpButton, buildOKButton, buildTitledBorder, focusGained, focusLost, isCancelled, itemStateChanged, keyPressed, keyReleased, keyTyped, makeString, resizePanel, setLeftHandSystem, setVisible, setVisibleStandard, setWCSystem, testParameter
-
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
-
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
-
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Deprecated.Use serialVersionUID for interoperability.- See Also:
- Constant Field Values
-
COMP_A
public static final int COMP_A
Deprecated.Component tag indicator.- See Also:
- Constant Field Values
-
COMP_B
public static final int COMP_B
Deprecated.Component tag indicator.- See Also:
- Constant Field Values
-
COMP_GM_A
public static final int COMP_GM_A
Deprecated.Component tag indicator.- See Also:
- Constant Field Values
-
COMP_GM_B
public static final int COMP_GM_B
Deprecated.Component tag indicator.- See Also:
- Constant Field Values
-
OPACITY_COMPONENT_TAB_A
protected static final java.lang.String OPACITY_COMPONENT_TAB_A
Deprecated.DOCUMENT ME!- See Also:
- Constant Field Values
-
OPACITY_COMPONENT_TAB_B
protected static final java.lang.String OPACITY_COMPONENT_TAB_B
Deprecated.DOCUMENT ME!- See Also:
- Constant Field Values
-
OPACITY_COMPONENT_TAB_A_GM
protected static final java.lang.String OPACITY_COMPONENT_TAB_A_GM
Deprecated.DOCUMENT ME!- See Also:
- Constant Field Values
-
OPACITY_COMPONENT_TAB_B_GM
protected static final java.lang.String OPACITY_COMPONENT_TAB_B_GM
Deprecated.DOCUMENT ME!- See Also:
- Constant Field Values
-
RED
public static final int RED
Deprecated.Component tag indicator.- See Also:
- Constant Field Values
-
GREEN
public static final int GREEN
Deprecated.Component tag indicator.- See Also:
- Constant Field Values
-
BLUE
public static final int BLUE
Deprecated.Component tag indicator.- See Also:
- Constant Field Values
-
blendSlider
protected javax.swing.JSlider blendSlider
Deprecated.Opacity slider of texture 3D volume opacity changes.
-
componentOpacityA
protected ViewJComponentVolOpacityBase componentOpacityA
Deprecated.Reference to compoment opacity control A.
-
componentOpacityB
protected ViewJComponentVolOpacityBase componentOpacityB
Deprecated.Reference to compoment opacity control B.
-
componentOpacityGM_A
protected ViewJComponentVolOpacityBase componentOpacityGM_A
Deprecated.Reference to compoment opacity control A GM Rescale.
-
componentOpacityGM_B
protected ViewJComponentVolOpacityBase componentOpacityGM_B
Deprecated.Reference to compoment opacity control B GM Rescale.
-
GMCheckBox
protected javax.swing.JCheckBox GMCheckBox
Deprecated.Gradient Magnitude Check box of the grey scale image.
-
gradMagRescale_A
protected ModelImage gradMagRescale_A
Deprecated.Model image of the gradient magnitude of image A rescaled to have value in the range [0:255].
-
gradMagRescale_B
protected ModelImage gradMagRescale_B
Deprecated.Model image of the gradient magnitude of image B rescaled to have value in the range [0:255].
-
imageA
protected ModelImage imageA
Deprecated.Model image A.
-
imageB
protected ModelImage imageB
Deprecated.Model image B.
-
labelsTable
protected java.util.Hashtable labelsTable
Deprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B.
-
labelsTableB
protected java.util.Hashtable labelsTableB
Deprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B.
-
labelsTableGM_A
protected java.util.Hashtable labelsTableGM_A
Deprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B.
-
labelsTableGM_B
protected java.util.Hashtable labelsTableGM_B
Deprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B.
-
middleLabelValueA
protected float middleLabelValueA
Deprecated.DOCUMENT ME!
-
middleLabelValueB
protected float middleLabelValueB
Deprecated.DOCUMENT ME!
-
middleLabelValueGM_A
protected float middleLabelValueGM_A
Deprecated.DOCUMENT ME!
-
middleLabelValueGM_B
protected float middleLabelValueGM_B
Deprecated.DOCUMENT ME!
-
mouseSlider
protected javax.swing.JSlider mouseSlider
Deprecated.DOCUMENT ME!
-
mouseSliderB
protected javax.swing.JSlider mouseSliderB
Deprecated.DOCUMENT ME!
-
mouseSliderGM_A
protected javax.swing.JSlider mouseSliderGM_A
Deprecated.DOCUMENT ME!
-
mouseSliderGM_B
protected javax.swing.JSlider mouseSliderGM_B
Deprecated.DOCUMENT ME!
-
opacitySliderLabelsA
protected javax.swing.JLabel[] opacitySliderLabelsA
Deprecated.The labels below the opacity slider.
-
opacitySliderLabelsB
protected javax.swing.JLabel[] opacitySliderLabelsB
Deprecated.The labels below the opacity slider.
-
opacitySliderLabelsGM_A
protected javax.swing.JLabel[] opacitySliderLabelsGM_A
Deprecated.DOCUMENT ME!
-
opacitySliderLabelsGM_B
protected javax.swing.JLabel[] opacitySliderLabelsGM_B
Deprecated.DOCUMENT ME!
-
panelOpacityA
protected javax.swing.JPanel panelOpacityA
Deprecated.Panels that hold the the control components (opacity maps).
-
panelOpacityB
protected javax.swing.JPanel panelOpacityB
Deprecated.DOCUMENT ME!
-
panelOpacityGM_A
protected javax.swing.JPanel panelOpacityGM_A
Deprecated.DOCUMENT ME!
-
panelOpacityGM_B
protected javax.swing.JPanel panelOpacityGM_B
Deprecated.DOCUMENT ME!
-
rangeText
protected javax.swing.JTextField rangeText
Deprecated.X range text field in the imageA, B histogram dialog.
-
rangeTextB
protected javax.swing.JTextField rangeTextB
Deprecated.X range text field in the imageA, B histogram dialog.
-
rangeTextGM_A
protected javax.swing.JTextField rangeTextGM_A
Deprecated.X range text field in the Gradient Magnitude imageA, B histogram dialog.
-
rangeTextGM_B
protected javax.swing.JTextField rangeTextGM_B
Deprecated.X range text field in the Gradient Magnitude imageA, B histogram dialog.
-
scaleRangeA
protected float scaleRangeA
Deprecated.Scale range value according to the image min and max.
-
scaleRangeB
protected float scaleRangeB
Deprecated.Scale range value according to the image min and max.
-
scaleRangeGM_A
protected float scaleRangeGM_A
Deprecated.Scale range value according to the image min and max.
-
scaleRangeGM_B
protected float scaleRangeGM_B
Deprecated.Scale range value according to the image min and max.
-
tabbedPane
protected javax.swing.JTabbedPane tabbedPane
Deprecated.Tabbed pane that contains the list of opacity functions.
-
xRangeTextA
protected javax.swing.JTextField xRangeTextA
Deprecated.X range text field in the imageA, B and GM image A, B histogram dialog. Following text fields are used by the tri-planar volume view.
-
xRangeTextB
protected javax.swing.JTextField xRangeTextB
Deprecated.X range text field in the imageA, B and GM image A, B histogram dialog. Following text fields are used by the tri-planar volume view.
-
xRangeTextGM_A
protected javax.swing.JTextField xRangeTextGM_A
Deprecated.X range text field in the imageA, B and GM image A, B histogram dialog. Following text fields are used by the tri-planar volume view.
-
xRangeTextGM_B
protected javax.swing.JTextField xRangeTextGM_B
Deprecated.X range text field in the imageA, B and GM image A, B histogram dialog. Following text fields are used by the tri-planar volume view.
-
yRangeTextA
protected javax.swing.JTextField yRangeTextA
Deprecated.Y range text field in the imageA, B and GM image A, B histogram dialog. Following text fields are used by the tri-planar volume view.
-
yRangeTextB
protected javax.swing.JTextField yRangeTextB
Deprecated.Y range text field in the imageA, B and GM image A, B histogram dialog. Following text fields are used by the tri-planar volume view.
-
yRangeTextGM_A
protected javax.swing.JTextField yRangeTextGM_A
Deprecated.Y range text field in the imageA, B and GM image A, B histogram dialog. Following text fields are used by the tri-planar volume view.
-
yRangeTextGM_B
protected javax.swing.JTextField yRangeTextGM_B
Deprecated.Y range text field in the imageA, B and GM image A, B histogram dialog. Following text fields are used by the tri-planar volume view.
-
m_kVolumeViewer
protected VolumeTriPlanarInterface m_kVolumeViewer
Deprecated.Render base.
-
-
Constructor Detail
-
JPanelVolOpacityBase
public JPanelVolOpacityBase(RenderViewBase theParentFrame)
Deprecated.Base for the opacity objects.- Parameters:
theParentFrame
- RenderViewBase- See Also:
JPanelVolumeOpacity
-
JPanelVolOpacityBase
public JPanelVolOpacityBase(VolumeTriPlanarInterface kVolumeViewer)
Deprecated.Base for the opacity objects.- See Also:
JPanelVolumeOpacity
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent event)
Deprecated.Action performed method required when extending JPanelRendererBase.- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
- Specified by:
actionPerformed
in classJPanelRendererBase
- Parameters:
event
- DOCUMENT ME!
-
disposeLocal
public void disposeLocal()
Deprecated.Clear memory and garbage collection.- Overrides:
disposeLocal
in classJPanelRendererJ3D
-
addGM
public abstract void addGM()
Deprecated.
-
removeGM
public abstract void removeGM()
Deprecated.
-
getAlphaBlendSliderValue
public int getAlphaBlendSliderValue()
Deprecated.This function returns the value of the blending slider.- Returns:
- int the value of the slider, or a default of 50 (the median value) if the slider has not been initialized
-
setAlphaBlendSliderValue
public void setAlphaBlendSliderValue(int iValue)
Deprecated.Sets the blendSlider value.- Parameters:
iValue
- new slider value.
-
getCompA
public ViewJComponentVolOpacityBase getCompA()
Deprecated.Return the opacity histrogram component of the imageA.- Returns:
- componentOpacityA opacity component A.
-
getCompA_GM
public ViewJComponentVolOpacityBase getCompA_GM()
Deprecated.Return the opacity histrogram component of the Gradient Magnitude imageA.- Returns:
- componentOpacityGM_A gradient magnitude component A.
-
getCompB
public ViewJComponentVolOpacityBase getCompB()
Deprecated.Return the opacity histrogram component of the imageB.- Returns:
- componentOpacityB opacity component B.
-
getCompB_GM
public ViewJComponentVolOpacityBase getCompB_GM()
Deprecated.Return the opacity histrogram component of the Gradient Magnitude imageB.- Returns:
- componentOpacityGM_B gradient magnitude component B.
-
getGradMagA
public ModelImage getGradMagA()
Deprecated.Get the gradient magnitude imageA.- Returns:
- ModelImage GM imageA
-
getGradMagB
public ModelImage getGradMagB()
Deprecated.Get the gradient magnitude imageB.- Returns:
- ModelImage GM imageB
-
getImageA
public ModelImage getImageA()
Deprecated.Accessor that returns the imageA.- Returns:
- image
-
getImageB
public ModelImage getImageB()
Deprecated.Accessor that returns the image.- Returns:
- image
-
getMainPanel
public javax.swing.JPanel getMainPanel()
Deprecated.Sets up the GUI (panels, buttons, etc) and displays it on the screen. Change the layout of the volume opacity change diagram.- Specified by:
getMainPanel
in classJPanelRendererBase
- Returns:
- DOCUMENT ME!
-
getParentFrame
public RenderViewBase getParentFrame()
Deprecated.Return the parent frame.- Returns:
- myParent ViewJFrameSurfaceRender frame
-
getSelectedComponent
public ViewJComponentVolOpacityBase getSelectedComponent()
Deprecated.Return the selected tabbbed pane component. Should be overridden in JPanelVolOpacity and JPanelVolOpacityRGB- Returns:
- ViewJComponentHLUTBase the opacity component.
-
getSelectedTabIndex
public int getSelectedTabIndex()
Deprecated.
-
setSelectedTabIndex
public void setSelectedTabIndex(int i)
Deprecated.
-
getSelectedComponent
public ViewJComponentVolOpacityBase getSelectedComponent(int _whichComp)
Deprecated.Return the active image component.- Parameters:
_whichComp
- true = imageA, false = imageB- Returns:
- componentOpacity A or B.
-
getTabbedPane
public javax.swing.JTabbedPane getTabbedPane()
Deprecated.Accessor to the tabbed pane.- Returns:
- JTabbedPane
-
isGradientMagnitudeOpacityEnabled
public boolean isGradientMagnitudeOpacityEnabled()
Deprecated.Return whether or not the opacity mapping based on gradient magnitude is enabled.- Returns:
- boolean True if using gradient magnitude-based opacity mapping.
-
setGradientMagnitudeOpacityEnabled
public void setGradientMagnitudeOpacityEnabled(boolean value)
Deprecated.Return whether or not the opacity mapping based on gradient magnitude is enabled.
-
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent event)
Deprecated.Not used method.- Specified by:
mouseClicked
in interfacejava.awt.event.MouseListener
- Parameters:
event
- MouseEvent
-
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent event)
Deprecated.Not used method.- Specified by:
mouseEntered
in interfacejava.awt.event.MouseListener
- Parameters:
event
- MouseEvent
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent event)
Deprecated.Not used method.- Specified by:
mouseExited
in interfacejava.awt.event.MouseListener
- Parameters:
event
- MouseEvent
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent event)
Deprecated.Not used method.- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
- Parameters:
event
- MouseEvent
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent event)
Deprecated.Mouse release event.- Specified by:
mouseReleased
in interfacejava.awt.event.MouseListener
- Parameters:
event
- MouseEvent
-
setAdjustersEnabled
public void setAdjustersEnabled(boolean enabled)
Deprecated.This method will enable or disable the opacity panel's slider component and input text fields, based on the value of the boolean parameter passed into it.- Parameters:
enabled
- boolean whether the adjusters should be enabled or disabled
-
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent event)
Deprecated.ChangeListener for opacity slider changes.- Specified by:
stateChanged
in interfacejavax.swing.event.ChangeListener
- Parameters:
event
- The change event.
-
updateSlider
public void updateSlider(ViewJComponentVolOpacityBase childComponent)
Deprecated.Adjust the opacity slider for the minor opacity changes.- Parameters:
childComponent
- ViewJComponentVolOpacityBase reference
-
buildBlendPanel
protected javax.swing.JPanel buildBlendPanel()
Deprecated.Build the blend slider control panel.- Returns:
- blendPanel built blend panel.
-
finalize
protected void finalize() throws java.lang.Throwable
Deprecated.Calls dispose.- Overrides:
finalize
in classJPanelRendererBase
- Throws:
java.lang.Throwable
- DOCUMENT ME!
-
getLabelTableA
protected java.util.Hashtable getLabelTableA()
Deprecated.Build the hash table for the imageA opacity slider.- Returns:
- labels built label hash table.
-
getLabelTableB
protected java.util.Hashtable getLabelTableB()
Deprecated.Build the hash table for the imageB opacity slider.- Returns:
- labels built label hash table.
-
getLabelTableGM_A
protected java.util.Hashtable getLabelTableGM_A()
Deprecated.Build the hash table for the imageA GM opacity slider.- Returns:
- labels built label hash table.
-
getLabelTableGM_B
protected java.util.Hashtable getLabelTableGM_B()
Deprecated.Build the hash table for the imageA GM opacity slider.- Returns:
- labels built label hash table.
-
initBlendSliderLabels
protected void initBlendSliderLabels()
Deprecated.Initialize the blend slider labels.
-
loadGMImage
protected boolean loadGMImage(java.lang.String dName, java.lang.String fName, boolean isImageA)
Deprecated.Loads the gradient magnitude image instead of recalculating the image.- Parameters:
dName
- String User specified directory name.fName
- String GM image file name.isImageA
- boolean Indicates GM imageA or GM imageB- Returns:
- boolean Indicates loading GM image successful or not.
-
update
public void update()
Deprecated.
-
-