public class ROI3DPoint extends ROI3DShape
| Modifier and Type | Class and Description |
|---|---|
class |
ROI3DPoint.ROI3DPointPainter |
ROI3DShape.ROI3DShapePainterROI3D.ROI3DPainterROI.ROIGroupId, ROI.ROIIdComparator, ROI.ROINameComparator, ROI.ROIPainter| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID_POSITION |
ID_POINT, ID_POINTSDEFAULT_COLOR, DEFAULT_NORMAL_COLOR, DEFAULT_OPACITY, DEFAULT_STROKE, defaultColor, defaultOpacity, defaultShowName, defaultStroke, ID_CLASSNAME, ID_COLOR, ID_GROUPID, ID_ID, ID_NAME, ID_OPACITY, ID_PROPERTIES, ID_READONLY, ID_ROI, ID_SELECTED, ID_SHOWNAME, ID_STROKE, idComparator, nameComparator, PROPERTY_COLOR, PROPERTY_CREATING, PROPERTY_GROUPID, PROPERTY_ICON, PROPERTY_NAME, PROPERTY_OPACITY, PROPERTY_READONLY, PROPERTY_SHOWNAME, PROPERTY_STROKE, ROI_CHANGED_ALL, ROI_CHANGED_POSITION| Constructor and Description |
|---|
ROI3DPoint() |
ROI3DPoint(double x,
double y,
double z) |
ROI3DPoint(Point3D position) |
ROI3DPoint(Point3D pt,
boolean cm)
Deprecated.
|
ROI3DPoint(Point5D pt)
Generic constructor for interactive mode
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAddPoint()
Return true if this ROI support adding new point
|
double |
computeNumberOfContourPoints()
Compute and returns the number of point (pixel) composing the ROI contour.
|
double |
computeNumberOfPoints()
Compute and returns the number of point (pixel) contained in the ROI.
|
boolean |
contains(ROI roi)
Tests if the
ROI entirely contains the specified ROI. |
void |
controlPointOverlayChanged(OverlayEvent event)
Called when anchor overlay changed
|
boolean[] |
getBooleanMask2D(int x,
int y,
int width,
int height,
int z,
boolean inclusive)
Get the boolean bitmap mask for the specified rectangular area of the roi and for the
specified Z position.
|
java.lang.String |
getDefaultName() |
Line3D |
getLine() |
Point3D |
getPoint() |
boolean |
intersects(ROI r)
Tests if the current
ROI intersects the specified ROI. |
boolean |
loadFromXML(org.w3c.dom.Node node)
LOAD
|
void |
onChanged(CollapsibleEvent object)
roi changed
|
boolean |
saveToXML(org.w3c.dom.Node node)
SAVE
|
addNewPoint, addPoint, canRemovePoint, canTranslate, computeBounds3D, computeSurfaceArea, contains, contains, contains, contains, controlPointPositionChanged, getControlPoints, getLength, getPoints, getShape, hasSelectedPoint, intersects, intersects, isOverEdge, removePoint, removeSelectedPoint, translate, unselectAllPointscanSetBounds, canSetPosition, computeBounds5D, contains, contains, getBooleanMask, getBooleanMask2D, getBooleanMask2D, getBooleanMask2D, getBooleanMask2D, getBooleanMask3D, getBounds, getBounds3D, getC, getDimension, getPosition, getPosition3D, getROI3DList, getROI3DList, getSurfaceArea, getSurfaceArea, getT, getVolume, intersects, isActiveFor, isActiveFor, isOverEdge, isOverEdge, isOverEdge, setBounds3D, setBounds5D, setC, setPosition3D, setPosition5D, setTadd, addListener, attachTo, beginUpdate, canvasToImageDeltaX, canvasToImageDeltaY, canvasToImageLogDeltaX, canvasToImageLogDeltaX, canvasToImageLogDeltaX, canvasToImageLogDeltaX, canvasToImageLogDeltaY, canvasToImageLogDeltaY, canvasToImageLogDeltaY, canvasToImageLogDeltaY, contains, contains, copyFrom, create, create, create, create, createFromXML, delete, delete, detachFrom, detachFromAll, detachFromAll, endUpdate, exclusiveAdd, focusChanged, getAdjustedStroke, getAdjustedStroke, getBooleanMask2D, getBounds5D, getClassName, getColor, getCopy, getDefaultColor, getDefaultOpacity, getDefaultShowName, getDefaultStroke, getDisplayColor, getExclusiveUnion, getFirstSequence, getFocusedColor, getGroupId, getIcon, getId, getIntersection, getName, getNameSuffix, getNumberOfContourPoints, getNumberOfPoints, getOpacity, getOverlay, getPainter, getPerimeter, getPosition5D, getProperties, getProperty, getPropertyValue, getROICount, getROIList, getROIList, getROIList, getROIsFromXML, getSelectedColor, getSequences, getShowName, getSimpleClassName, getStroke, getSubROI, getSubtraction, getUnion, internalFocus, internalSelect, internalUnfocus, internalUnselect, intersect, intersects, isAttached, isCreating, isDefaultName, isEditable, isEmpty, isFocused, isReadOnly, isSelected, isUpdating, loadFromXML, loadROIsFromXML, merge, mergeWith, nameChanged, painterChanged, propertyChanged, remove, remove, removeListener, roiChanged, roiChanged, roiChanged, saveROIsToXML, selectionChanged, setColor, setCreating, setDefaultColor, setDefaultOpacity, setDefaultShowName, setDefaultStroke, setEditable, setFocused, setGroupId, setIcon, setMousePos, setName, setOpacity, setProperty, setPropertyValue, setReadOnly, setROIsFromXML, setSelected, setSelected, setSelectedColor, setShowName, setStroke, subtractpublic static final java.lang.String ID_POSITION
@Deprecated public ROI3DPoint(Point3D pt, boolean cm)
public ROI3DPoint(Point3D position)
public ROI3DPoint(Point5D pt)
public ROI3DPoint(double x, double y, double z)
public ROI3DPoint()
public java.lang.String getDefaultName()
getDefaultName in class ROI3DShapepublic void controlPointOverlayChanged(OverlayEvent event)
controlPointOverlayChanged in class ROI3DShapepublic boolean contains(ROI roi)
ROIROI entirely contains the specified ROI.
WARNING: this method may be "pixel accurate" only depending the internal implementation.public boolean intersects(ROI r)
ROIROI intersects the specified ROI.intersects in class ROI3Dtrue if ROI intersect, false otherwise.public boolean[] getBooleanMask2D(int x, int y, int width, int height, int z, boolean inclusive)
ROI3DgetBooleanMask2D in class ROI3Dx - the X coordinate of the upper-left corner of the specified rectangular areay - the Y coordinate of the upper-left corner of the specified rectangular areawidth - the width of the specified rectangular areaheight - the height of the specified rectangular areaz - Z position we want to retrieve the boolean maskinclusive - If true then all partially contained (intersected) pixels are included in the mask.public void onChanged(CollapsibleEvent object)
onChanged in interface ChangeListeneronChanged in class ROI3DShapepublic boolean canAddPoint()
ROI3DShapecanAddPoint in class ROI3DShapepublic double computeNumberOfContourPoints()
ROIcomputeNumberOfContourPoints in class ROI3DShapepublic double computeNumberOfPoints()
ROIcomputeNumberOfPoints in class ROI3DShapepublic boolean loadFromXML(org.w3c.dom.Node node)
XMLPersistentloadFromXML in interface XMLPersistentloadFromXML in class ROI3DShapepublic boolean saveToXML(org.w3c.dom.Node node)
XMLPersistentsaveToXML in interface XMLPersistentsaveToXML in class ROI3D