Public Member Functions | |
Point3D (int x, int y, int z) | |
Point3D (LumenCandidate lc) | |
String | toString () |
double | distanceFrom (Point3D p2) |
void | normalize () |
Public Attributes | |
int | x |
int | y |
int | z |
A class representing a 3D point or vector
Definition at line 11 of file Point3D.java.
theba.core.math.Point3D.Point3D | ( | int | x, | |
int | y, | |||
int | z | |||
) |
Definition at line 14 of file Point3D.java.
Referenced by theba.core.math.Point3D.normalize().
theba.core.math.Point3D.Point3D | ( | LumenCandidate | lc | ) |
Definition at line 20 of file Point3D.java.
References theba.core.math.Point3D.x, theba.core.math.Point3D.y, and theba.core.math.Point3D.z.
double theba.core.math.Point3D.distanceFrom | ( | Point3D | p2 | ) |
Calculates the distance to a given 3D point
Definition at line 36 of file Point3D.java.
References theba.core.math.Point3D.x, theba.core.math.Point3D.y, and theba.core.math.Point3D.z.
Referenced by theba.core.math.Point3D.normalize().
void theba.core.math.Point3D.normalize | ( | ) |
Normalizes this point as a vector
Definition at line 47 of file Point3D.java.
References theba.core.math.Point3D.distanceFrom(), theba.core.math.Point3D.Point3D(), theba.core.math.Point3D.x, theba.core.math.Point3D.y, and theba.core.math.Point3D.z.
String theba.core.math.Point3D.toString | ( | ) |
Represents this object as a string
Definition at line 29 of file Point3D.java.
References theba.core.math.Point3D.x, theba.core.math.Point3D.y, and theba.core.math.Point3D.z.
Definition at line 12 of file Point3D.java.
Referenced by theba.core.math.Vector3D.distanceFrom(), theba.core.math.Point3D.distanceFrom(), theba.core.ImageFunctions.floodFill3D(), theba.core.ImageFunctions.floodFill3D26(), theba.core.Stack.getVoxel(), theba.trackers.HHTracker.mouseClicked(), theba.trackers.FiberTracker.mouseClicked(), theba.trackers.BackTracker.mouseClicked(), theba.core.math.Point3D.normalize(), theba.core.math.Point3D.Point3D(), theba.trackers.HHTracker.removeStuff(), theba.trackers.FiberTracker.removeStuff(), theba.trackers.BackTracker.removeStuff(), theba.core.math.Point3D.toString(), theba.trackers.HHTracker.track(), theba.trackers.FiberTracker.track(), theba.trackers.BackTracker.track(), and theba.core.math.Vector3D.Vector3D().
Definition at line 12 of file Point3D.java.
Referenced by theba.core.math.Vector3D.distanceFrom(), theba.core.math.Point3D.distanceFrom(), theba.core.ImageFunctions.floodFill3D(), theba.core.ImageFunctions.floodFill3D26(), theba.core.Stack.getVoxel(), theba.trackers.HHTracker.mouseClicked(), theba.trackers.FiberTracker.mouseClicked(), theba.trackers.BackTracker.mouseClicked(), theba.core.math.Point3D.normalize(), theba.core.math.Point3D.Point3D(), theba.trackers.HHTracker.removeStuff(), theba.trackers.FiberTracker.removeStuff(), theba.trackers.BackTracker.removeStuff(), theba.core.math.Point3D.toString(), theba.trackers.HHTracker.track(), theba.trackers.FiberTracker.track(), theba.trackers.BackTracker.track(), and theba.core.math.Vector3D.Vector3D().
Definition at line 12 of file Point3D.java.
Referenced by theba.core.Seed.countPixels(), theba.core.math.Vector3D.distanceFrom(), theba.core.math.Point3D.distanceFrom(), theba.core.ImageFunctions.floodFill3D(), theba.core.ImageFunctions.floodFill3D26(), theba.core.Stack.getVoxel(), theba.core.math.Point3D.normalize(), theba.core.math.Point3D.Point3D(), theba.core.math.Point3D.toString(), theba.trackers.HHTracker.track(), theba.trackers.FiberTracker.track(), theba.trackers.BackTracker.track(), and theba.core.math.Vector3D.Vector3D().