de.unihalle.informatik.MiToBo.core.imageJ
Class MTBBorder2DSetROI

java.lang.Object
  extended by ij.gui.Roi
      extended by de.unihalle.informatik.MiToBo.core.imageJ.MTBBorder2DSetROI
All Implemented Interfaces:
Serializable, Cloneable

@ALDMetaInfo(export=ALLOWED)
public class MTBBorder2DSetROI
extends ij.gui.Roi

Class to visualize and handle a MTBBorder2DSet in the ImageJ ROI-Manager. All entries of the border 2D set are listed in one Roi-Manager entry.

Author:
Danny Misiak
See Also:
MTBBorder2DSet, Serialized Form

Field Summary
 
Fields inherited from class ij.gui.Roi
ANGLE, asp_bk, aspect, cachedMask, center, clipboard, clipHeight, clipWidth, clipX, clipY, COMPOSITE, constrain, CONSTRUCTING, defaultFillColor, fillColor, 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 Summary
MTBBorder2DSetROI(MTBBorder2DSet borderSet, String roiLabel)
          Constructor to create a new Roi-Manager-Object, based on a MTBBorder2DSet.
MTBBorder2DSetROI(ij.gui.Roi r)
          Constructor of super class.
 
Method Summary
 MTBBorder2DSetROI clone()
           
 void draw(Graphics g)
          Called method to temporary view the selected set of borders from the Roi-Manager into the current image.
 void drawPixels(ij.process.ImageProcessor ip)
          Called method to draw the selected entry from the Roi-Manager into the current image.
 boolean equals(Object obj)
           
 MTBBorder2DSet getBorderSet()
          Get 2D border set from Roi.
 
Methods inherited from class ij.gui.Roi
abortPaste, clipRectMargin, contains, copyAttributes, drawOverlay, drawPixels, enableSubPixelResolution, endPaste, getAngle, getAngle, getBoundingRect, getBounds, getColor, getConvexHull, getCornerDiameter, getCPosition, getCurrentPasteMode, getDebugInfo, getDefaultFillColor, getDrawOffset, getFeretsDiameter, getFeretValues, getFillColor, getFloatAngle, getFloatBounds, getFloatHeight, getFloatPolygon, getFloatWidth, getHashCode, getImage, getImageID, getInterpolatedPolygon, getInterpolatedPolygon, getInterpolatedPolygon, getLength, getMagnification, getMask, getName, getPasteMode, getPolygon, getPosition, getProperties, getProperty, getPropertyCount, getPrototypeOverlay, getRoundRectArcSize, getScaledStroke, getState, getStroke, getStrokeColor, getStrokeWidth, getTPosition, getType, getTypeAsString, getXBase, getYBase, getZPosition, grow, handleMouseDown, handleMouseDrag, handleMouseUp, isActiveOverlayRoi, isArea, isDrawingTool, isHandle, isLine, isVisible, lineCircleIntersection, mouseDownInHandle, mouseDragged, mouseMoved, mouseReleased, moveHandle, nudge, nudgeCorner, screenX, screenXD, screenY, screenYD, setColor, setCornerDiameter, setDefaultFillColor, setDrawOffset, setFillColor, setIgnoreClipRect, setImage, setInstanceColor, setLineWidth, setLocation, setLocation, setName, setNonScalable, setPasteMode, setPosition, setPosition, setProperties, setProperty, setPrototypeOverlay, setRoundRectArcSize, setStroke, setStrokeColor, setStrokeWidth, setStrokeWidth, showStatus, startPaste, subPixelResolution, temporarilyHide, toFloat, toInt, toInt, toIntR, toString, update, updateClipRect, updateWideLine
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MTBBorder2DSetROI

public MTBBorder2DSetROI(ij.gui.Roi r)
Constructor of super class.

Parameters:
r - a given Roi

MTBBorder2DSetROI

public MTBBorder2DSetROI(MTBBorder2DSet borderSet,
                         String roiLabel)
Constructor to create a new Roi-Manager-Object, based on a MTBBorder2DSet.

Parameters:
borderSet - set of 2D borders
roiLabel - label of the Roi-Manager entry
Method Detail

clone

public MTBBorder2DSetROI clone()
Overrides:
clone in class ij.gui.Roi

equals

public boolean equals(Object obj)
Overrides:
equals in class ij.gui.Roi

getBorderSet

public MTBBorder2DSet getBorderSet()
Get 2D border set from Roi.


draw

public void draw(Graphics g)
Called method to temporary view the selected set of borders from the Roi-Manager into the current image.

Overrides:
draw in class ij.gui.Roi

drawPixels

public void drawPixels(ij.process.ImageProcessor ip)
Called method to draw the selected entry from the Roi-Manager into the current image.

Overrides:
drawPixels in class ij.gui.Roi


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.