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:
ActionListener,FocusListener,ItemListener,KeyListener,MouseListener,ImageObserver,MenuContainer,Serializable,EventListener,Accessible,ChangeListener
- Direct Known Subclasses:
JPanelVolOpacity,JPanelVolOpacityRGB
public abstract class JPanelVolOpacityBase
extends JPanelRendererJ3D
implements ChangeListener, MouseListener
Deprecated.
Simple panel containing the volume renderer opacity controls.
- Version:
- 0.1 August, 2005
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanelNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JSliderDeprecated.Opacity slider of texture 3D volume opacity changes.static final intDeprecated.Component tag indicator.static final intDeprecated.Component tag indicator.static final intDeprecated.Component tag indicator.static final intDeprecated.Component tag indicator.static final intDeprecated.Component tag indicator.protected ViewJComponentVolOpacityBaseDeprecated.Reference to compoment opacity control A.protected ViewJComponentVolOpacityBaseDeprecated.Reference to compoment opacity control B.protected ViewJComponentVolOpacityBaseDeprecated.Reference to compoment opacity control A GM Rescale.protected ViewJComponentVolOpacityBaseDeprecated.Reference to compoment opacity control B GM Rescale.protected JCheckBoxDeprecated.Gradient Magnitude Check box of the grey scale image.protected ModelImageDeprecated.Model image of the gradient magnitude of image A rescaled to have value in the range [0:255].protected ModelImageDeprecated.Model image of the gradient magnitude of image B rescaled to have value in the range [0:255].static final intDeprecated.Component tag indicator.protected ModelImageDeprecated.Model image A.protected ModelImageDeprecated.Model image B.protected HashtableDeprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B.protected HashtableDeprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B.protected HashtableDeprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B.protected HashtableDeprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B.protected VolumeTriPlanarInterfaceDeprecated.Render base.protected floatDeprecated.DOCUMENT ME!protected floatDeprecated.DOCUMENT ME!protected floatDeprecated.DOCUMENT ME!protected floatDeprecated.DOCUMENT ME!protected JSliderDeprecated.DOCUMENT ME!protected JSliderDeprecated.DOCUMENT ME!protected JSliderDeprecated.DOCUMENT ME!protected JSliderDeprecated.DOCUMENT ME!protected static final StringDeprecated.DOCUMENT ME!protected static final StringDeprecated.DOCUMENT ME!protected static final StringDeprecated.DOCUMENT ME!protected static final StringDeprecated.DOCUMENT ME!protected JLabel[]Deprecated.The labels below the opacity slider.protected JLabel[]Deprecated.The labels below the opacity slider.protected JLabel[]Deprecated.DOCUMENT ME!protected JLabel[]Deprecated.DOCUMENT ME!protected JPanelDeprecated.Panels that hold the the control components (opacity maps).protected JPanelDeprecated.DOCUMENT ME!protected JPanelDeprecated.DOCUMENT ME!protected JPanelDeprecated.DOCUMENT ME!protected JTextFieldDeprecated.X range text field in the imageA, B histogram dialog.protected JTextFieldDeprecated.X range text field in the imageA, B histogram dialog.protected JTextFieldDeprecated.X range text field in the Gradient Magnitude imageA, B histogram dialog.protected JTextFieldDeprecated.X range text field in the Gradient Magnitude imageA, B histogram dialog.static final intDeprecated.Component tag indicator.protected floatDeprecated.Scale range value according to the image min and max.protected floatDeprecated.Scale range value according to the image min and max.protected floatDeprecated.Scale range value according to the image min and max.protected floatDeprecated.Scale range value according to the image min and max.private static final longDeprecated.Use serialVersionUID for interoperability.protected JTabbedPaneDeprecated.Tabbed pane that contains the list of opacity functions.protected JTextFieldDeprecated.X range text field in the imageA, B and GM image A, B histogram dialog.protected JTextFieldDeprecated.X range text field in the imageA, B and GM image A, B histogram dialog.protected JTextFieldDeprecated.X range text field in the imageA, B and GM image A, B histogram dialog.protected JTextFieldDeprecated.X range text field in the imageA, B and GM image A, B histogram dialog.protected JTextFieldDeprecated.Y range text field in the imageA, B and GM image A, B histogram dialog.protected JTextFieldDeprecated.Y range text field in the imageA, B and GM image A, B histogram dialog.protected JTextFieldDeprecated.Y range text field in the imageA, B and GM image A, B histogram dialog.protected JTextFieldDeprecated.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, renderBaseFields inherited from class gov.nih.mipav.view.renderer.JPanelRendererBase
applyButton, cancelButton, cancelFlag, closeButton, helpButton, isActiveImage, mainPanel, NEW, OKButton, REPLACE, runInSeparateThread, serif12, serif12BFields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
ConstructorsConstructorDescriptionJPanelVolOpacityBase(RenderViewBase theParentFrame) Deprecated.JPanelVolOpacityBase(VolumeTriPlanarInterface kVolumeViewer) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent event) Deprecated.Action performed method required when extending JPanelRendererBase.abstract voidaddGM()Deprecated.protected JPanelDeprecated.Build the blend slider control panel.voidDeprecated.Clear memory and garbage collection.protected voidfinalize()Deprecated.Calls dispose.intDeprecated.This function returns the value of the blending slider.getCompA()Deprecated.Return the opacity histrogram component of the imageA.Deprecated.Return the opacity histrogram component of the Gradient Magnitude imageA.getCompB()Deprecated.Return the opacity histrogram component of the imageB.Deprecated.Return the opacity histrogram component of the Gradient Magnitude imageB.Deprecated.Get the gradient magnitude imageA.Deprecated.Get the gradient magnitude imageB.Deprecated.Accessor that returns the imageA.Deprecated.Accessor that returns the image.protected HashtableDeprecated.Build the hash table for the imageA opacity slider.protected HashtableDeprecated.Build the hash table for the imageB opacity slider.protected HashtableDeprecated.Build the hash table for the imageA GM opacity slider.protected HashtableDeprecated.Build the hash table for the imageA GM opacity slider.Deprecated.Sets up the GUI (panels, buttons, etc) and displays it on the screen.Deprecated.Return the parent frame.Deprecated.Return the selected tabbbed pane component.getSelectedComponent(int _whichComp) Deprecated.Return the active image component.intDeprecated.Deprecated.Accessor to the tabbed pane.protected voidDeprecated.Initialize the blend slider labels.booleanDeprecated.Return whether or not the opacity mapping based on gradient magnitude is enabled.protected booleanloadGMImage(String dName, String fName, boolean isImageA) Deprecated.Loads the gradient magnitude image instead of recalculating the image.voidmouseClicked(MouseEvent event) Deprecated.Not used method.voidmouseEntered(MouseEvent event) Deprecated.Not used method.voidmouseExited(MouseEvent event) Deprecated.Not used method.voidmousePressed(MouseEvent event) Deprecated.Not used method.voidmouseReleased(MouseEvent event) Deprecated.Mouse release event.abstract voidremoveGM()Deprecated.voidsetAdjustersEnabled(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.voidsetAlphaBlendSliderValue(int iValue) Deprecated.Sets the blendSlider value.voidsetGradientMagnitudeOpacityEnabled(boolean value) Deprecated.Return whether or not the opacity mapping based on gradient magnitude is enabled.voidsetSelectedTabIndex(int i) Deprecated.voidstateChanged(ChangeEvent event) Deprecated.ChangeListener for opacity slider changes.voidupdate()Deprecated.voidupdateSlider(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, setSurfaceRenderMethods 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, testParameterMethods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIMethods 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, updateMethods 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, validateTreeMethods 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, transferFocusUpCycleMethods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.awt.event.FocusListener
focusGained, focusLostMethods inherited from interface java.awt.event.ItemListener
itemStateChangedMethods inherited from interface java.awt.event.KeyListener
keyPressed, keyReleased, keyTyped
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDDeprecated.Use serialVersionUID for interoperability.- See Also:
-
COMP_A
public static final int COMP_ADeprecated.Component tag indicator.- See Also:
-
COMP_B
public static final int COMP_BDeprecated.Component tag indicator.- See Also:
-
COMP_GM_A
public static final int COMP_GM_ADeprecated.Component tag indicator.- See Also:
-
COMP_GM_B
public static final int COMP_GM_BDeprecated.Component tag indicator.- See Also:
-
OPACITY_COMPONENT_TAB_A
Deprecated.DOCUMENT ME!- See Also:
-
OPACITY_COMPONENT_TAB_B
Deprecated.DOCUMENT ME!- See Also:
-
OPACITY_COMPONENT_TAB_A_GM
Deprecated.DOCUMENT ME!- See Also:
-
OPACITY_COMPONENT_TAB_B_GM
Deprecated.DOCUMENT ME!- See Also:
-
RED
public static final int REDDeprecated.Component tag indicator.- See Also:
-
GREEN
public static final int GREENDeprecated.Component tag indicator.- See Also:
-
BLUE
public static final int BLUEDeprecated.Component tag indicator.- See Also:
-
blendSlider
Deprecated.Opacity slider of texture 3D volume opacity changes. -
componentOpacityA
Deprecated.Reference to compoment opacity control A. -
componentOpacityB
Deprecated.Reference to compoment opacity control B. -
componentOpacityGM_A
Deprecated.Reference to compoment opacity control A GM Rescale. -
componentOpacityGM_B
Deprecated.Reference to compoment opacity control B GM Rescale. -
GMCheckBox
Deprecated.Gradient Magnitude Check box of the grey scale image. -
gradMagRescale_A
Deprecated.Model image of the gradient magnitude of image A rescaled to have value in the range [0:255]. -
gradMagRescale_B
Deprecated.Model image of the gradient magnitude of image B rescaled to have value in the range [0:255]. -
imageA
Deprecated.Model image A. -
imageB
Deprecated.Model image B. -
labelsTable
Deprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B. -
labelsTableB
Deprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B. -
labelsTableGM_A
Deprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B. -
labelsTableGM_B
Deprecated.Historgram dialog slider labels of the imageA, B and GM imageA, B. -
middleLabelValueA
protected float middleLabelValueADeprecated.DOCUMENT ME! -
middleLabelValueB
protected float middleLabelValueBDeprecated.DOCUMENT ME! -
middleLabelValueGM_A
protected float middleLabelValueGM_ADeprecated.DOCUMENT ME! -
middleLabelValueGM_B
protected float middleLabelValueGM_BDeprecated.DOCUMENT ME! -
mouseSlider
Deprecated.DOCUMENT ME! -
mouseSliderB
Deprecated.DOCUMENT ME! -
mouseSliderGM_A
Deprecated.DOCUMENT ME! -
mouseSliderGM_B
Deprecated.DOCUMENT ME! -
opacitySliderLabelsA
Deprecated.The labels below the opacity slider. -
opacitySliderLabelsB
Deprecated.The labels below the opacity slider. -
opacitySliderLabelsGM_A
Deprecated.DOCUMENT ME! -
opacitySliderLabelsGM_B
Deprecated.DOCUMENT ME! -
panelOpacityA
Deprecated.Panels that hold the the control components (opacity maps). -
panelOpacityB
Deprecated.DOCUMENT ME! -
panelOpacityGM_A
Deprecated.DOCUMENT ME! -
panelOpacityGM_B
Deprecated.DOCUMENT ME! -
rangeText
Deprecated.X range text field in the imageA, B histogram dialog. -
rangeTextB
Deprecated.X range text field in the imageA, B histogram dialog. -
rangeTextGM_A
Deprecated.X range text field in the Gradient Magnitude imageA, B histogram dialog. -
rangeTextGM_B
Deprecated.X range text field in the Gradient Magnitude imageA, B histogram dialog. -
scaleRangeA
protected float scaleRangeADeprecated.Scale range value according to the image min and max. -
scaleRangeB
protected float scaleRangeBDeprecated.Scale range value according to the image min and max. -
scaleRangeGM_A
protected float scaleRangeGM_ADeprecated.Scale range value according to the image min and max. -
scaleRangeGM_B
protected float scaleRangeGM_BDeprecated.Scale range value according to the image min and max. -
tabbedPane
Deprecated.Tabbed pane that contains the list of opacity functions. -
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
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
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
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
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
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
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
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
Deprecated.Render base.
-
-
Constructor Details
-
JPanelVolOpacityBase
Deprecated.Base for the opacity objects.- Parameters:
theParentFrame- RenderViewBase- See Also:
-
JPanelVolOpacityBase
Deprecated.Base for the opacity objects.- See Also:
-
-
Method Details
-
actionPerformed
Deprecated.Action performed method required when extending JPanelRendererBase.- Specified by:
actionPerformedin interfaceActionListener- Specified by:
actionPerformedin classJPanelRendererBase- Parameters:
event- DOCUMENT ME!
-
disposeLocal
public void disposeLocal()Deprecated.Clear memory and garbage collection.- Overrides:
disposeLocalin 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
Deprecated.Return the opacity histrogram component of the imageA.- Returns:
- componentOpacityA opacity component A.
-
getCompA_GM
Deprecated.Return the opacity histrogram component of the Gradient Magnitude imageA.- Returns:
- componentOpacityGM_A gradient magnitude component A.
-
getCompB
Deprecated.Return the opacity histrogram component of the imageB.- Returns:
- componentOpacityB opacity component B.
-
getCompB_GM
Deprecated.Return the opacity histrogram component of the Gradient Magnitude imageB.- Returns:
- componentOpacityGM_B gradient magnitude component B.
-
getGradMagA
Deprecated.Get the gradient magnitude imageA.- Returns:
- ModelImage GM imageA
-
getGradMagB
Deprecated.Get the gradient magnitude imageB.- Returns:
- ModelImage GM imageB
-
getImageA
Deprecated.Accessor that returns the imageA.- Returns:
- image
-
getImageB
Deprecated.Accessor that returns the image.- Returns:
- image
-
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:
getMainPanelin classJPanelRendererBase- Returns:
- DOCUMENT ME!
-
getParentFrame
Deprecated.Return the parent frame.- Returns:
- myParent ViewJFrameSurfaceRender frame
-
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
Deprecated.Return the active image component.- Parameters:
_whichComp- true = imageA, false = imageB- Returns:
- componentOpacity A or B.
-
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
Deprecated.Not used method.- Specified by:
mouseClickedin interfaceMouseListener- Parameters:
event- MouseEvent
-
mouseEntered
Deprecated.Not used method.- Specified by:
mouseEnteredin interfaceMouseListener- Parameters:
event- MouseEvent
-
mouseExited
Deprecated.Not used method.- Specified by:
mouseExitedin interfaceMouseListener- Parameters:
event- MouseEvent
-
mousePressed
Deprecated.Not used method.- Specified by:
mousePressedin interfaceMouseListener- Parameters:
event- MouseEvent
-
mouseReleased
Deprecated.Mouse release event.- Specified by:
mouseReleasedin interfaceMouseListener- 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
Deprecated.ChangeListener for opacity slider changes.- Specified by:
stateChangedin interfaceChangeListener- Parameters:
event- The change event.
-
updateSlider
Deprecated.Adjust the opacity slider for the minor opacity changes.- Parameters:
childComponent- ViewJComponentVolOpacityBase reference
-
buildBlendPanel
Deprecated.Build the blend slider control panel.- Returns:
- blendPanel built blend panel.
-
finalize
Deprecated.Calls dispose.- Overrides:
finalizein classJPanelRendererBase- Throws:
Throwable- DOCUMENT ME!
-
getLabelTableA
Deprecated.Build the hash table for the imageA opacity slider.- Returns:
- labels built label hash table.
-
getLabelTableB
Deprecated.Build the hash table for the imageB opacity slider.- Returns:
- labels built label hash table.
-
getLabelTableGM_A
Deprecated.Build the hash table for the imageA GM opacity slider.- Returns:
- labels built label hash table.
-
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
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.
-