public class FurrowTransformer extends Object
Constructor and Description |
---|
FurrowTransformer(Furrow3D furrow,
MeshImageStack stack) |
Modifier and Type | Method and Description |
---|---|
double |
distanceToPlane(double[] pt) |
Furrow3D |
getFurrow() |
double[] |
getPlaneCoordinates(double[] xyz)
Using the normalized coordinates, this returns coordinates in the xy plane of the furrow.
|
double[] |
getVolumeCoordinates(double[] xy) |
int |
getXCounts() |
int |
getYCounts() |
int |
getZCounts() |
void |
rotatePiOver2()
TODO This should be some sort of general rotation form since the 'image' can be rotated.
|
public FurrowTransformer(Furrow3D furrow, MeshImageStack stack)
public Furrow3D getFurrow()
public double[] getPlaneCoordinates(double[] xyz)
xyz
- normalized coordinates.public double[] getVolumeCoordinates(double[] xy)
public int getXCounts()
public int getYCounts()
public int getZCounts()
public double distanceToPlane(double[] pt)
public void rotatePiOver2()
Copyright © 2013–2022 Francis Crick Institute. All rights reserved.