Node.BranchAndEndNodeIterator<I>, Node.BranchNodeIterator<I>, Node.BreadthFirstSubtreeIterator<I>, Node.EndNodeIterator<I>, Node.FilteredIterator<I>, Node.NodeCollection<I>, Node.NodeIterator<I>, Node.Operation<I>, Node.SlabIterator<I>, Node.SubtreeIterator<I>
children, color, confidence, la, MAX_EDGE_CONFIDENCE, parent, x, y
DASHED_STROKE, TAG_BACKGROUND
Constructor and Description |
---|
AreaNode(float lx,
float ly,
Layer la) |
AreaNode(HashMap<String,String> attr)
To reconstruct from XML, without a layer.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(CoordinateTransform ct,
Area roi) |
void |
apply(VectorDataTransform vlocal) |
Collection<Displayable> |
findLinkTargets(AffineTransform aff)
Returns a list of Patch to link, which lay under the node.
|
Area |
getArea()
Return Area in local coords.
|
Area |
getData() |
Area |
getDataCopy() |
boolean |
intersects(Area a)
Expects @param a in local coords.
|
boolean |
isRoughlyInside(Rectangle localbox)
May return a false positive but never a false negative.
|
Node<Area> |
newInstance(float lx,
float ly,
Layer layer) |
void |
paintData(Graphics2D g,
Rectangle srcRect,
Tree<Area> tree,
AffineTransform to_screen,
Color cc,
Layer active_layer) |
protected void |
paintHandle(Graphics2D g,
Rectangle srcRect,
double magnification,
Tree<Area> t) |
boolean |
setData(Area area) |
protected void |
transformData(AffineTransform aff)
Apply @param aff to the data, not to the x,y position.
|
add, addTag, adjustConfidence, apply, applyToSlab, applyToSubtree, asPoint, clone, computeAllDegrees, computeDegree, copyProperties, findNextBranchOrEndPoint, findPath, findPreviousBranchOrRootPoint, getBranchAndEndNodes, getBranchNodes, getChildren, getChildrenCount, getChildrenNodes, getColor, getConfidence, getEdgeConfidence, getEdgeConfidence, getEndNodes, getLayer, getParent, getSlabNodes, getSubtreeNodes, getTags, getX, getY, hasChildren, hasSameTags, hasTag, paintHandle, remove, removeAllTags, removeTag, setColor, setConfidence, setLayer, setPosition, setPosition, toString, translate
public AreaNode(float lx, float ly, Layer la)
public final Node<Area> newInstance(float lx, float ly, Layer layer)
newInstance
in class Node<Area>
public final Area getDataCopy()
getDataCopy
in class Node<Area>
public final Area getArea()
public void paintData(Graphics2D g, Rectangle srcRect, Tree<Area> tree, AffineTransform to_screen, Color cc, Layer active_layer)
protected void paintHandle(Graphics2D g, Rectangle srcRect, double magnification, Tree<Area> t)
paintHandle
in class Node<Area>
public boolean intersects(Area a)
intersects
in class Node<Area>
public boolean isRoughlyInside(Rectangle localbox)
Node
isRoughlyInside
in class Node<Area>
public Collection<Displayable> findLinkTargets(AffineTransform aff)
Node
findLinkTargets
in class Node<Area>
public void apply(CoordinateTransform ct, Area roi)
public void apply(VectorDataTransform vlocal)
protected void transformData(AffineTransform aff)
Node
transformData
in class Node<Area>
Copyright © 2015–2021 Fiji. All rights reserved.