Package gov.nih.mipav.view
Class ViewJFrameFastMarching3
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- java.awt.Window
-
- java.awt.Frame
-
- javax.swing.JFrame
-
- gov.nih.mipav.view.ViewJFrameBase
-
- gov.nih.mipav.view.ViewJFrameImage
-
- gov.nih.mipav.view.ViewJFrameFastMarching3
-
- All Implemented Interfaces:
VOIManagerInterfaceListener
,ViewImageUpdateInterface
,ViewOpenFrameInterface
,java.awt.event.ActionListener
,java.awt.event.ComponentListener
,java.awt.event.KeyListener
,java.awt.event.MouseListener
,java.awt.event.MouseMotionListener
,java.awt.event.WindowListener
,java.awt.image.ImageObserver
,java.awt.MenuContainer
,java.io.Serializable
,java.lang.Runnable
,java.util.EventListener
,javax.accessibility.Accessible
,javax.swing.event.ChangeListener
,javax.swing.RootPaneContainer
,javax.swing.WindowConstants
public class ViewJFrameFastMarching3 extends ViewJFrameImage implements java.awt.event.KeyListener, java.lang.Runnable
DOCUMENT ME!- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nih.mipav.view.ViewJFrameImage
ViewJFrameImage.OkColorListener
-
Nested classes/interfaces inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
-
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
m_bIterate
DOCUMENT ME!private boolean
m_bNext
DOCUMENT ME!private static long
serialVersionUID
Use serialVersionUID for interoperability.-
Fields inherited from class gov.nih.mipav.view.ViewJFrameImage
componentImage, controls, heightResFactor, imageBufferA, imageBufferB, infoDialogA, infoDialogB, logMagDisplay, menuBar, menuBarMaker, menuBuilder, multipaintDialog, nImage, nTImage, pixBuffer, pixBufferB, resols, scrollPane, units, VOIGroup, voiManager, voiMenu, widthResFactor, windowLevel, xScreen, yScreen, zoom
-
Fields inherited from class gov.nih.mipav.view.ViewJFrameBase
absoluteGoToButton, absoluteGoToPanel, absoluteLabel, absoluteLabelVals, absolutePanel, absoluteXLabel, absoluteXTextField, absoluteYLabel, absoluteYTextField, absoluteZLabel, absoluteZTextField, alphaBlend, defaultLUTa, defaultLUTb, displayMode, IMAGE_A, IMAGE_A_B, IMAGE_B, imageA, imageB, isClosing, linkedScrolling, linkFrame, linkTriFrame, LUTa, LUTb, progressBar, scannerLPS_APLabel, scannerLPS_APTextField, scannerLPS_GoToButton, scannerLPS_GoToPanel, scannerLPS_ISLabel, scannerLPS_ISTextField, scannerLPS_RLLabel, scannerLPS_RLTextField, scannerLPSLabel, scannerLPSLabelVals, scannerLPSPanel, scannerRAS_APLabel, scannerRAS_APTextField, scannerRAS_GoToButton, scannerRAS_GoToPanel, scannerRAS_ISLabel, scannerRAS_ISTextField, scannerRAS_RLLabel, scannerRAS_RLTextField, scannerRASLabel, scannerRASLabelVals, scannerRASPanel, scannerTabbedPane, tabbedPane, talGoToButton, talGoToPanel, talXLabel, talXTextField, talYLabel, talYTextField, talZLabel, talZTextField, userInterface, zoomMode
-
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
-
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
-
-
Constructor Summary
Constructors Constructor Description ViewJFrameFastMarching3(ModelImage _image, ModelLUT _LUT)
Creates a new ViewJFrameFastMarching3 object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
DrawEvolve(LseSegmenter kSegmenter, float[] afImage)
DOCUMENT ME!private void
DrawFastMarch(LseSegmenter kSegmenter, float[] afImage)
DOCUMENT ME!void
keyPressed(java.awt.event.KeyEvent e)
keyPressed.void
keyReleased(java.awt.event.KeyEvent e)
keyReleased.void
keyTyped(java.awt.event.KeyEvent e)
keyTyped.void
run()
DOCUMENT ME!-
Methods inherited from class gov.nih.mipav.view.ViewJFrameImage
about, actionPerformed, addSphereVOIs, changeMenuEnables, close, close, collapseAlltoSinglePaint, componentResized, computeIdealWindowSize, create3DVOI, createBuffers, decSlice, decSliceEyeTracker, doLinkedScrolling, enableImageB, finalize, getActiveImage, getActiveImageInfoDialog, getActiveLUT, getActiveRGB, getAlphaBlend, getCenterPt, getComponentImage, getControls, getFrame, getFrameHeight, getFrameLandMarkPoints, getFrameSize, getFrameSize, getFrameWidth, getImageA, getImageB, getImageInfoDialogB, getJMenuBar, getRegisteredFramedImages, getRegisteredFramedImages4D3D, getRegisteredFramedImagesSize, getRGBTA, getRGBTB, getScrollPane, getScrollPaneHeight, getScrollPaneSize, getScrollPaneSize, getScrollPaneWidth, getViewableSlice, getViewableTimeSlice, getViewMenuBar, getVOIManager, handleMaskToPaint, incSlice, incSliceEyeTracker, initComponentImage, initExtentsVariables, initLUT, initResolutions, initVOI, initZoom, makeTitle, maskToPaint, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, openFrame, paintToShortMask, paintToUbyteMask, PointerActive, printImage, PropDown, PropUp, removeComponentListener, removeControls, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeWindowListener, saveImageInfo, setActiveImage, setActiveImage, setAlphaBlend, setAndLoad, setAndLoad, setCenter, setControls, setCursor, setEnabled, setImageB, setLUTa, setLUTb, setModified, setOutputWindowBox, setPaintBitmapSwitch, setPaintMask, setRGBTA, setRGBTB, setShiftDown, setSlice, setSlice, setTimeSlice, setTimeSlice, setTitle, setZoomB, setZoomDialogNull, showEditImageInfo, stateChanged, testParameter, testProstateFeatures, triPlanarClosing, updateData, updateFrame, updateFrame, updateHistoLUTFrame, updateHistoLUTFrame, updateHistoRGBFrame, updateHistoRGBFrame, updateImageExtents, updateImages, updateImages, updateImages, updateImages, updateMenubar, updateWinLevel, windowClosing
-
Methods inherited from class gov.nih.mipav.view.ViewJFrameBase
about, buildLabelPanel, canCloseImageBAfterLoad, closeImageB, componentHidden, componentMoved, componentShown, getDefaultLUTa, getDefaultLUTb, getDisplayMode, getImageNameA, getImageNameB, getLastState, getLUTa, getLUTb, getTriImg, getUserInterface, handleMaskPopupMenu, handlePaintToMaskPopupMenu, handleZoomPopupMenu, initExtents, initImageBuffer, initLUT, initNumSlices, initPixelBuffer, initResFactor, initResolutions, initRGB, initSlicePositions, initUnits, initZoom, loadAllVOIs, loadAllVOIsFrom, loadImage, loadLUT, loadLUTandTransferFunctionFrom, loadLUTandTransferFunctionFrom, makeString, newFrameBeenCreated, openVOI, openVOI, pickImageFile, save, save, save, saveAllVOIs, saveAllVOIsTo, saveLabels, saveLUT, saveLUTandTransferFunction, saveLUTandTransferFunction, saveLUTAs, saveLUTAs, saveVOI, saveVOIAs, saveVOIAs, saveVOIIntensities, saveVOIIntensitiesTo, setAbsPositionLabels, setEnableCloseImageBAfterLoad, setImageA, setLastState, setLinkedFrame, setLinkedTriFrame, setLUTs, setMessageText, setOpacityInfo, setpaintBitmap, setScannerPosition, windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowIconified, windowOpened
-
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
-
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
-
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Use serialVersionUID for interoperability.- See Also:
- Constant Field Values
-
m_bIterate
private boolean m_bIterate
DOCUMENT ME!
-
m_bNext
private boolean m_bNext
DOCUMENT ME!
-
-
Constructor Detail
-
ViewJFrameFastMarching3
public ViewJFrameFastMarching3(ModelImage _image, ModelLUT _LUT)
Creates a new ViewJFrameFastMarching3 object.- Parameters:
_image
- DOCUMENT ME!_LUT
- DOCUMENT ME!
-
-
Method Detail
-
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed.- Specified by:
keyPressed
in interfacejava.awt.event.KeyListener
- Overrides:
keyPressed
in classViewJFrameImage
- Parameters:
e
- KeyEvent
-
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased.- Specified by:
keyReleased
in interfacejava.awt.event.KeyListener
- Overrides:
keyReleased
in classViewJFrameImage
- Parameters:
e
- KeyEvent
-
keyTyped
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped.- Specified by:
keyTyped
in interfacejava.awt.event.KeyListener
- Overrides:
keyTyped
in classViewJFrameImage
- Parameters:
e
- KeyEvent
-
run
public void run()
DOCUMENT ME!- Specified by:
run
in interfacejava.lang.Runnable
-
DrawEvolve
private void DrawEvolve(LseSegmenter kSegmenter, float[] afImage)
DOCUMENT ME!- Parameters:
kSegmenter
- DOCUMENT ME!afImage
- DOCUMENT ME!
-
DrawFastMarch
private void DrawFastMarch(LseSegmenter kSegmenter, float[] afImage)
DOCUMENT ME!- Parameters:
kSegmenter
- DOCUMENT ME!afImage
- DOCUMENT ME!
-
-