public class TrackOverlay extends Roi
Modifier and Type | Field and Description |
---|---|
protected double[] |
calibration |
protected DisplaySettings |
displaySettings |
protected Collection<org.jgrapht.graph.DefaultWeightedEdge> |
highlight |
protected Model |
model |
ANGLE, asp_bk, aspect, cachedMask, center, clipboard, clipHeight, clipWidth, clipX, clipY, COMPOSITE, constrain, CONSTRUCTING, defaultColor, defaultFillColor, FERET_ARRAY_POINTOFFSET, FERET_ARRAYSIZE, fillColor, flattenScale, FREELINE, FREEROI, HANDLE_SIZE, handleColor, ic, ignoreClipRect, imp, instanceColor, LINE, lineWidth, mag, MOVING, MOVING_HANDLE, nonScalable, NORMAL, NOT_PASTING, oldHeight, oldWidth, oldX, oldY, onePixelWide, OVAL, overlay, pasteMode, POINT, POLYGON, POLYLINE, previousRoi, RECTANGLE, RESIZING, ROIColor, stroke, strokeColor, TRACED_ROI, type, updateFullWindow, wideLine, xMax, yMax
Constructor and Description |
---|
TrackOverlay(Model model,
ij.ImagePlus imp,
DisplaySettings displaySettings) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawEdge(Graphics2D g2d,
Spot source,
Spot target,
int xcorner,
int ycorner,
double magnification) |
protected void |
drawEdge(Graphics2D g2d,
Spot source,
Spot target,
int xcorner,
int ycorner,
double magnification,
float transparency) |
void |
drawOverlay(Graphics g) |
void |
setHighlight(Collection<org.jgrapht.graph.DefaultWeightedEdge> edges) |
abortModification, abortPaste, addRoiListener, clipRectMargin, clone, contains, containsPoint, convertLineToArea, convertToPolygon, copyAttributes, create, create, draw, drawPixels, drawPixels, enableSubPixelResolution, endPaste, equals, getAngle, getAngle, getAntiAlias, getBoundingRect, getBounds, getColor, getContainedFloatPoints, getContainedPoints, getContourCentroid, getConvexHull, getCornerDiameter, getCPosition, getCurrentPasteMode, getDebugInfo, getDefaultFillColor, getDefaultGroup, getDefaultHandleSize, getDefaultStrokeWidth, getDrawOffset, getFeretsDiameter, getFeretValues, getFillColor, getFloatAngle, getFloatBounds, getFloatConvexHull, getFloatHeight, getFloatPolygon, getFloatPolygon, getFloatWidth, getGroup, getGroupName, getGroupNames, getHandleSize, getHashCode, getImage, getImageID, getInterpolatedPolygon, getInterpolatedPolygon, getInterpolatedPolygon, getInverse, getLength, getListeners, getMagnification, getMask, getName, getPasteMode, getPolygon, getPosition, getPreviousRoi, getProperties, getProperty, getPropertyCount, getPrototypeOverlay, getRotationCenter, getRoundRectArcSize, getScaledStroke, getScaleStrokeWidth, getState, getStatistics, getStroke, getStrokeColor, getStrokeWidth, getTPosition, getType, getTypeAsString, getXBase, getYBase, getZPosition, grow, handleMouseDown, handleMouseDrag, handleMouseUp, hasHyperStackPosition, isActiveOverlayRoi, isArea, isCursor, isDrawingTool, isHandle, isInteger, isLine, isLineOrPoint, isVisible, iterator, lineCircleIntersection, magnificationForSubPixel, magnificationForSubPixel, mouseDownInHandle, mouseDragged, mouseMoved, mouseReleased, moveHandle, notifyListeners, nudge, nudgeCorner, offScreenX, offScreenXD, offScreenY, offScreenYD, removeRoiListener, resetDefaultHandleSize, saveGroupNames, screenX, screenXD, screenY, screenYD, setAntiAlias, setBounds, setColor, setCornerDiameter, setDefaultColor, setDefaultFillColor, setDefaultGroup, setDefaultStrokeWidth, setDrawOffset, setFillColor, setFlattenScale, setGroup, setGroupName, setGroupNames, setHandleSize, setIgnoreClipRect, setImage, setInstanceColor, setIsCursor, setLineWidth, setLocation, setLocation, setName, setNonScalable, setPasteMode, setPosition, setPosition, setPosition, setPreviousRoi, setProperties, setProperty, setPrototypeOverlay, setRenderingHint, setRotationCenter, setRoundRectArcSize, setStroke, setStrokeColor, setStrokeWidth, setStrokeWidth, setUnscalableStrokeWidth, showStatus, size, startPaste, subPixelResolution, temporarilyHide, toFloat, toInt, toInt, toIntR, toString, update, updateClipRect, updateWideLine, useLineSubpixelConvention
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected final double[] calibration
protected Collection<org.jgrapht.graph.DefaultWeightedEdge> highlight
protected DisplaySettings displaySettings
protected final Model model
public TrackOverlay(Model model, ij.ImagePlus imp, DisplaySettings displaySettings)
public void setHighlight(Collection<org.jgrapht.graph.DefaultWeightedEdge> edges)
public final void drawOverlay(Graphics g)
drawOverlay
in class Roi
protected void drawEdge(Graphics2D g2d, Spot source, Spot target, int xcorner, int ycorner, double magnification, float transparency)
protected void drawEdge(Graphics2D g2d, Spot source, Spot target, int xcorner, int ycorner, double magnification)
Copyright © 2015–2021 Fiji. All rights reserved.