public abstract class Tree.MeasurementPair extends Tree.NodePath
| Modifier and Type | Field and Description |
|---|---|
List<Point3f> |
coords
The ordered list of calibrated coordinates of all nodes in the path
of nodes between a and b, both included.
|
List<T> |
data
The ordered list of calibrated data elements of each node in the path
of nodes between a and b, both included.
|
double |
distance
The calibrated path distance between nodes a and b, measured
as the sum of all the distances between all consecutive pairs
of nodes between a and b.
|
path| Constructor and Description |
|---|
MeasurementPair(Node<T> a,
Node<T> b,
List<Node<T>> path) |
MeasurementPair(Tree.NodePath np) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<T> |
calibratedData() |
abstract Tree.MeshData |
createMesh(double scale,
int resample) |
List<T> |
getData()
The list of data elements associated with each node in the path, ordered from a to b (both included).
|
abstract String |
getResultsTableTitle() |
double |
measureDistance()
The calibrated distance from a to b.
|
protected AffineTransform |
toCalibration()
Concatenate the affine of the Tree and an affine that expresses the x,y calibration.
|
abstract ij.measure.ResultsTable |
toResultsTable(ij.measure.ResultsTable rt,
int index,
double scale,
int resample) |
getPathpublic final double distance
public final List<T> data
public MeasurementPair(Tree.NodePath np)
public abstract ij.measure.ResultsTable toResultsTable(ij.measure.ResultsTable rt,
int index,
double scale,
int resample)
public abstract Tree.MeshData createMesh(double scale, int resample)
public abstract String getResultsTableTitle()
public double measureDistance()
Tree.PairmeasureDistance in class Tree.Pairpublic List<T> getData()
Tree.Pairprotected final AffineTransform toCalibration()
Copyright © 2015–2021 Fiji. All rights reserved.