ini.trakem2.display
Class Tree.MeasurePathDistance<I>

java.lang.Object
  extended by ini.trakem2.display.Tree.MeasurePathDistance<I>
Enclosing class:
Tree<T>

public static final class Tree.MeasurePathDistance<I>
extends java.lang.Object


Constructor Summary
Tree.MeasurePathDistance(Tree<I> tree, Node<I> a, Node<I> b)
           
 
Method Summary
 int getBranchNodesInPath()
           
 double getDistance()
           
 javax.vecmath.Point3f getFirstNodeCoordinates()
           
 javax.vecmath.Point3f getLastNodeCoordiantes()
           
 java.util.List<Node<I>> getPath()
           
 ij.measure.ResultsTable show(ij.measure.ResultsTable rt)
          Reuses @param rt unless it is null, in which case it creates a new one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tree.MeasurePathDistance

public Tree.MeasurePathDistance(Tree<I> tree,
                                Node<I> a,
                                Node<I> b)
Throws:
an - Exception if a path cannot be found between @param a and @param b.
Method Detail

getDistance

public double getDistance()

getPath

public java.util.List<Node<I>> getPath()

getBranchNodesInPath

public int getBranchNodesInPath()

getFirstNodeCoordinates

public javax.vecmath.Point3f getFirstNodeCoordinates()

getLastNodeCoordiantes

public javax.vecmath.Point3f getLastNodeCoordiantes()

show

public ij.measure.ResultsTable show(ij.measure.ResultsTable rt)
Reuses @param rt unless it is null, in which case it creates a new one.