Package net.imglib2.mesh.alg
Class MeshCursor<T>
- java.lang.Object
-
- net.imglib2.mesh.alg.MeshCursor<T>
-
- All Implemented Interfaces:
Iterator<T>,Cursor<T>,EuclideanSpace,Iterator,Localizable,RealCursor<T>,RealLocalizable,Sampler<T>,Typed<T>
public class MeshCursor<T> extends Object implements Cursor<T>
-
-
Constructor Summary
Constructors Constructor Description MeshCursor(RandomAccess<T> ra, Mesh mesh, double[] cal)MeshCursor(RandomAccess<T> ra, Mesh mesh, double[] cal, RealInterval boundingBox)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cursor<T>copy()Cursor<T>copyCursor()voidfwd()Tget()longgetLongPosition(int d)booleanhasNext()voidjumpFwd(long steps)Tnext()intnumDimensions()voidreset()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Methods inherited from interface net.imglib2.Localizable
getDoublePosition, getFloatPosition, getIntPosition, localize, localize, localize, localize, positionAsLongArray, positionAsPoint
-
Methods inherited from interface net.imglib2.RealLocalizable
localize, localize, positionAsDoubleArray, positionAsRealPoint
-
-
-
-
Constructor Detail
-
MeshCursor
public MeshCursor(RandomAccess<T> ra, Mesh mesh, double[] cal)
-
MeshCursor
public MeshCursor(RandomAccess<T> ra, Mesh mesh, double[] cal, RealInterval boundingBox)
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public T next()
-
getLongPosition
public long getLongPosition(int d)
- Specified by:
getLongPositionin interfaceLocalizable
-
copyCursor
public Cursor<T> copyCursor()
- Specified by:
copyCursorin interfaceCursor<T>- Specified by:
copyCursorin interfaceRealCursor<T>
-
numDimensions
public int numDimensions()
- Specified by:
numDimensionsin interfaceEuclideanSpace
-
-