public class Sync_Measure_3D extends Sync_Windows
Frame.AccessibleAWTFrameWindow.AccessibleAWTWindow, Window.TypeContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategybSyncAll, bUnsyncAll, cChannel, cCoords, cCursor, cFrame, cScaling, cSlice, ijInstance, oldX, oldY, panel, VERSIONSTRING, vListMap, vwins, wList, x, yCROSSHAIR_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_CURSORaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
Sync_Measure_3D() |
Sync_Measure_3D(String s) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e)
Implementation of ActionListener interface.
|
protected Panel |
buildCommonControls()
Builds the Panel with buttons and textfields for first and last slice and for projection.
|
protected ScrollPane |
buildMeasureControl()
Builds the Panel with Scrollbars to adjust the threshold for each image and
with buttons to select the first and the last slice.
|
void |
calcFinal()
Calculates the shift from the measured intensity gravity centers.
|
protected Panel |
controlPanel()
Build window list display and button controls.
|
void |
imageClosed(ij.ImagePlus imp)
Implementation of ImageListener interface: update window list, if image is opened or closed
|
void |
imageOpened(ij.ImagePlus imp)
Implementation of ImageListener interface: update window list, if image is opened or closed
|
protected void |
measure(ij.ImagePlus image,
int x,
int y)
This method does the actual measuring work.
|
void |
mousePressed(MouseEvent e)
Propagate mouse pressed events to all synchronized windows.
|
void |
run(String args)
Show the frame, making it accessible to users.
|
protected void |
setControlsEnabled(boolean enable)
greys off and on the control elements for adding and removing windows
|
protected void |
showAbout() |
void |
startMeasurements() |
void |
stopMeasurements()
Removes contact to everything that is not further needed.
|
protected int |
stringToInt(String s) |
protected void |
updateScrollbars()
Sets the threshold values in the images from the scrollbar positions.
|
protected void |
updateThreshold(int iWin)
Sets the threshold value in the image window iWin from the scrollbar position.
|
void |
windowActivated(WindowEvent e) |
void |
windowClosing(WindowEvent e)
Override parent windowClosing method to clean up synchronized
resources on exit.
|
boundingRect, buildControlPanel, buildWindowList, displayChanged, getImageFromVector, getImageTitleFromVector, getIndexOfImage, getMatchingCoords, imageUpdated, itemStateChanged, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, updateWindowListclose, focusGained, focusLost, windowClosed, windowDeactivated, windowDeiconified, windowIconified, windowOpenedaddNotify, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, paramString, remove, removeNotify, setBackground, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecoratedaddPropertyChangeListener, 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, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFrontadd, add, add, add, add, addContainerListener, addImpl, 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, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, update, validate, validateTreeaction, 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, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, 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, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFont, postEventprotected int DEFAULT_FIRST_SLICE
protected int DEFAULT_LAST_SLICE
protected boolean measuring
protected Button bMeasure
protected Panel measurePanel
protected Vector vScrollThresh
protected final String I_THRESH_SLIDER
protected Vector vFirstButton
protected final String I_FIRST_SLICE_BUTTON
protected Vector vFirstInt
protected int[] iFirstSlice
protected final String I_FIRST_SLICE_BOX
protected Vector vLastButton
protected final String I_LAST_SLICE_BUTTON
protected Vector vLastInt
protected int[] iLastSlice
protected final String I_LAST_SLICE_BOX
protected Button bFirstSlice
protected IntField intFirstSlice
protected final String COMMON_FIRST_SLICE_BOX
protected Button bLastSlice
protected IntField intLastSlice
protected final String COMMON_LAST_SLICE_BOX
protected Button bProjection
protected boolean hasProjection
protected ij.ImagePlus projection
protected Sync_Measure_3D.M3DRTab resultsTable
protected Sync_Measure_3D.M3DRWin resultsWindow
protected int nWindows
protected int mOptions
protected int nQuantities
protected int nRelQuantities
public Sync_Measure_3D()
public Sync_Measure_3D(String s)
public void run(String args)
Sync_Windowsrun in interface ij.plugin.PlugInrun in class Sync_Windowsprotected Panel controlPanel()
Sync_WindowscontrolPanel in class Sync_Windowspublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class Sync_Windowspublic void startMeasurements()
public void stopMeasurements()
public void windowClosing(WindowEvent e)
Sync_WindowswindowClosing in interface WindowListenerwindowClosing in class Sync_Windowspublic void windowActivated(WindowEvent e)
windowActivated in interface WindowListenerwindowActivated in class ij.plugin.frame.PlugInFramepublic void mousePressed(MouseEvent e)
Sync_WindowsmousePressed in interface MouseListenermousePressed in class Sync_Windowspublic void imageOpened(ij.ImagePlus imp)
imageOpened in interface ij.ImageListenerimageOpened in class Sync_Windowspublic void imageClosed(ij.ImagePlus imp)
imageClosed in interface ij.ImageListenerimageClosed in class Sync_Windowsprotected ScrollPane buildMeasureControl()
protected Panel buildCommonControls()
protected void setControlsEnabled(boolean enable)
protected void updateScrollbars()
protected void updateThreshold(int iWin)
protected void measure(ij.ImagePlus image,
int x,
int y)
public void calcFinal()
protected int stringToInt(String s)
protected void showAbout()
showAbout in class Sync_WindowsCopyright © 2015–2021 Fiji. All rights reserved.