SWCPoint Class Documentation#
Package: sc.fiji.snt.util
Defines a node in an SWC reconstruction. The SWC file format is detailed here.
Fields#
- id
int No description available.
- onPath
Path No description available.
- parent
int No description available.
- radius
float No description available.
- type
int No description available.
- v
float No description available.
- x
float No description available.
- y
float No description available.
- z
float No description available.
Methods#
Utilities Methods#
- clone()#
Getters Methods#
- getAnnotation()#
- getColor()#
Gets the color of this point.
- getCoordinateOnAxis(int)#
- getHemisphere()#
- getNextPoints()#
Returns the list holding the subsequent nodes in the reconstructed structure after this one.
- getPath()#
- getTags()#
Gets the tags associated with this point.
- getUnscaledPoint(int)#
- getX()#
- getY()#
- getZ()#
- isReal()#
- isSameLocation(PointInImage)#
Setters Methods#
- setAnnotation(BrainAnnotation)#
Description copied from interface: SNTPoint
- setColor(Color)#
Sets the color of this point.
- setHemisphere(char)#
- setPath(Path)#
- setPrevious(SWCPoint)#
Sets the preceding node in the reconstruction
- setTags(String)#
Sets the tags associated with this point.
Other Methods#
- chebyshevDxTo(PointInImage)#
- chebyshevXYdxTo(PointInImage)#
- chebyshevZdxTo(PointInImage)#
- static collectionAsReader(Collection)
Converts a collection of SWC points into a Reader.
- compareTo(SWCPoint)#
- distanceSquaredTo(PointInImage)#
- distanceTo(PointInImage)#
- euclideanDxTo(PointInImage)#
- static flush(Collection, PrintWriter)
Prints a list of points as space-separated values.
- previous()#
Returns the preceding node (if any)
- scale(double, double, double)#
- transform(PathTransformer)#
- xSeparationFromPreviousPoint()#
Returns the X-distance from previous point.
- ySeparationFromPreviousPoint()#
Returns the Y-distance from previous point.
- zSeparationFromPreviousPoint()#
Returns the Z-distance from previous point.