Class KDTree.KDTreeCursor
java.lang.Object
net.imglib2.KDTreeNode<T>
net.imglib2.KDTree.KDTreeCursor
- All Implemented Interfaces:
Iterator<T>, EuclideanSpace, Iterator, RealCursor<T>, RealLocalizable, Sampler<T>, Typed<T>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class KDTreeNode
get, getDoublePosition, getSplitCoordinate, getSplitDimension, left, nodeIndex, numDimensions, right, setNodeIndex, squDistanceTo, squDistanceTo, squDistanceToMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EuclideanSpace
numDimensionsMethods inherited from interface Iterator
forEachRemaining, removeMethods inherited from interface RealCursor
copyCursor, nextMethods inherited from interface RealLocalizable
getDoublePosition, getFloatPosition, localize, localize, localize, positionAsDoubleArray, positionAsRealPoint
-
Constructor Details
-
KDTreeCursor
KDTreeCursor()
-
-
Method Details
-
fwd
-
reset
-
hasNext
-
getType
Description copied from interface:TypedGet an instance ofT.It should not be assumed that the returned
Tinstance is an independent copy. In particular, repeated calls togetType()may return the same instance. -
copy
- Specified by:
copyin interfaceRealCursor<T>- Specified by:
copyin interfaceSampler<T>- Overrides:
copyin classKDTreeNode<T>- Returns:
- - A new
Samplerin the same state accessing the same values. It does NOT copy T, just the state of theSampler. Otherwise use T.copy() if available. Sampler.copy().get() == Sampler.get(), i.e. both hold the same value, not necessarily the same instance (this is the case for anArrayCursorfor example)
-