public class Sync_Measure_3D extends Sync_Windows
Frame.AccessibleAWTFrame
Window.AccessibleAWTWindow, Window.Type
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
bSyncAll, bUnsyncAll, cChannel, cCoords, cCursor, cFrame, cScaling, cSlice, ijInstance, oldX, oldY, panel, VERSIONSTRING, vListMap, vwins, wList, x, y
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
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, 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, updateWindowList
close, focusGained, focusLost, windowClosed, windowDeactivated, windowDeiconified, windowIconified, windowOpened
addNotify, 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, setUndecorated
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, 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, toFront
add, 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, validateTree
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, 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, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFont, postEvent
protected 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_Windows
run
in interface ij.plugin.PlugIn
run
in class Sync_Windows
protected Panel controlPanel()
Sync_Windows
controlPanel
in class Sync_Windows
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
actionPerformed
in class Sync_Windows
public void startMeasurements()
public void stopMeasurements()
public void windowClosing(WindowEvent e)
Sync_Windows
windowClosing
in interface WindowListener
windowClosing
in class Sync_Windows
public void windowActivated(WindowEvent e)
windowActivated
in interface WindowListener
windowActivated
in class ij.plugin.frame.PlugInFrame
public void mousePressed(MouseEvent e)
Sync_Windows
mousePressed
in interface MouseListener
mousePressed
in class Sync_Windows
public void imageOpened(ij.ImagePlus imp)
imageOpened
in interface ij.ImageListener
imageOpened
in class Sync_Windows
public void imageClosed(ij.ImagePlus imp)
imageClosed
in interface ij.ImageListener
imageClosed
in class Sync_Windows
protected 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_Windows
Copyright © 2015–2021 Fiji. All rights reserved.