@Deprecated public abstract class AbstractLineIterator extends Object implements Iterator
Constructor and Description |
---|
AbstractLineIterator(int dim,
long size,
A randomAccess)
Deprecated.
Make a new LineIterator which iterates a 1d line of a certain length
|
AbstractLineIterator(int dim,
long size,
Localizable offset,
Positionable positionable)
Deprecated.
Make a new LineIterator which iterates a 1d line of a certain length
|
Modifier and Type | Method and Description |
---|---|
void |
fwd()
Deprecated.
Move forward.
|
Localizable |
getOffset()
Deprecated.
In this way it is possible to reposition the
Positionable from
outside without having the need to keep the instance explicitly. |
Positionable |
getPositionable()
Deprecated.
In this way it is possible to reposition the
Positionable from
outside without having the need to keep the instance explicitly. |
boolean |
hasNext()
Deprecated.
Returns true if another step forward is possible.
|
void |
jumpFwd(long steps)
Deprecated.
Move steps × forward.
|
void |
reset()
Deprecated.
Reset the
Iterator , that is put it to where it would be if newly
created. |
public AbstractLineIterator(int dim, long size, A randomAccess)
dim
- - which dimension to iterate (dimension id)size
- - number of pixels to iteraterandomAccess
- - defines the right position (one pixel left of the starting
pixel) and can be moved along the linepublic AbstractLineIterator(int dim, long size, Localizable offset, Positionable positionable)
dim
- - which dimension to iterate (dimension id)size
- - number of pixels to iterateoffset
- - defines the right position (one pixel left of the starting
pixel)positionable
- - the Positionable
public Localizable getOffset()
Positionable
from
outside without having the need to keep the instance explicitly. This
repositioning is not dependent wheather a Converter
is used or
not.Localizable
defining the initial offsetpublic Positionable getPositionable()
Positionable
from
outside without having the need to keep the instance explicitly. This
repositioning is not dependent wheather a Converter
is used or
not.AbstractLineIterator
public void jumpFwd(long steps)
Iterator
public void fwd()
Iterator
public void reset()
Iterator
Iterator
, that is put it to where it would be if newly
created.Copyright © 2015–2022 ImgLib2. All rights reserved.