Class JPanelDTIVisualization
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
gov.nih.mipav.view.renderer.WildMagic.DTI_FrameWork.JPanelDTIVisualization
- All Implemented Interfaces:
ActionListener,ImageObserver,MenuContainer,Serializable,EventListener,Accessible
- 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 TypeFieldDescriptionprivate JButtonButton enabled when all required images are loaded.private ModelImageAnisotropy image *private ModelImageresult image *private ModelImageDiffusion Tensor image.private ModelImageEigenValue image *private ModelImageEigenvector image *private ModelImageAnisotropy image *private FileTract input file.private JTextFieldFiber bundle tract file input path name text box.private JPanelmain panel *private final JDialogParent dialog, when this panel is created as a stand-alone dialog: *private static final longprivate JTextFieldText boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files:private JTextFieldText boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files:private JTextFieldText boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files:private JTextFieldText boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files:private JTextFieldText boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files:private JTextFieldText boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files: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_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
ConstructorsConstructorDescriptionJPanelDTIVisualization(JDialog parent, boolean bStandAlone) Creates the DTI Visualization panel inside the parent dialog. -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent event) private voidprivate voidprivate voidprivate voidprivate voidprivate voidstatic voidCreates as stand-alone dialog with the interface:voiddisposeLocal(boolean bDispose) Dispose memory.voidprivate voidinit(boolean bStandAlone) private voidprivate voidLaunches the JFileChooser for the user to select the Diffusion Tensor Image.private voidprivate voidprivate voidprivate voidprivate voidLaunches the JFileChooser for the user to select the tract file.voidsetDTIColorImage(ModelImage dtiColorImage) Set the DTI Color imagevoidsetDTIImage(ModelImage dtiImage) Set the DTI imagevoidsetEValueImage(ModelImage evImage) Set the eigen value imagevoidsetEVImage(ModelImage evImage) Set the eigen vector imagevoidsetFAImage(ModelImage faImage) Set the functional anisotropy imagevoidsetTractFile(String tractFileName) Methods 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, setVisible, 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, transferFocusUpCycle
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
loadButton
Button enabled when all required images are loaded. Pressing 'Load' launches the Volume DTI Renderer. -
m_kT2Image
Anisotropy image * -
m_kAnisotropyImage
Anisotropy image * -
m_kDTIColorImage
result image * -
m_kDTIImage
Diffusion Tensor image. -
m_kEigenValueImage
EigenValue image * -
m_kEigenVectorImage
Eigenvector image * -
m_kTractFile
Tract input file. -
m_kTractPath
Fiber bundle tract file input path name text box. -
mainPanel
main panel * -
parentFrame
Parent dialog, when this panel is created as a stand-alone dialog: * -
textDTIimage
Text boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files: -
textDTIColorImage
Text boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files: -
textEVimage
Text boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files: -
textEValueImage
Text boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files: -
textFAimage
Text boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files: -
textT2image
Text boxes for the tensor, color image, eigen vector, eigen value, and functional anisotropy files:
-
-
Constructor Details
-
JPanelDTIVisualization
Creates the DTI Visualization panel inside the parent dialog.- Parameters:
parent- Dialog containing this panel.
-
-
Method Details
-
createFrame
public static void createFrame()Creates as stand-alone dialog with the interface: -
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
disposeLocal
public void disposeLocal(boolean bDispose) Dispose memory. -
enableLoad
public void enableLoad() -
setDTIColorImage
Set the DTI Color image- Parameters:
DTI- Color Image
-
setDTIImage
Set the DTI image- Parameters:
DTI- image
-
setEValueImage
Set the eigen value image- Parameters:
eigen- value image
-
setEVImage
Set the eigen vector image- Parameters:
eigen- vector image
-
setFAImage
Set the functional anisotropy image- Parameters:
eigen- vector image
-
setTractFile
-
buildDTIColorLoadPanel
private void buildDTIColorLoadPanel() -
buildDTILoadPanel
private void buildDTILoadPanel() -
buildEValueLoadPanel
private void buildEValueLoadPanel() -
buildEVLoadPanel
private void buildEVLoadPanel() -
buildFALoadPanel
private void buildFALoadPanel() -
buildT2LoadPanel
private void buildT2LoadPanel() -
init
private void init(boolean bStandAlone) -
loadDTIColorFile
private void loadDTIColorFile() -
loadDTIFile
private void loadDTIFile()Launches the JFileChooser for the user to select the Diffusion Tensor Image. Loads the tensor data. -
loadEValueFile
private void loadEValueFile() -
loadEVFile
private void loadEVFile() -
loadFAFile
private void loadFAFile() -
loadT2File
private void loadT2File() -
loadTractFile
private void loadTractFile()Launches the JFileChooser for the user to select the tract file. Stores the File for the tract file but does not read the file.
-