public class GridRealRandomAccess<T extends RealType<T>> extends AbstractRealLocalizable implements RealRandomAccess<T>
Modifier and Type | Field and Description |
---|---|
protected RealTransform |
warp |
position
n
Modifier | Constructor and Description |
---|---|
protected |
GridRealRandomAccess(double[] dimensions) |
protected |
GridRealRandomAccess(double[] dimensions,
T value,
RealTransform warp) |
protected |
GridRealRandomAccess(double[] dimensions,
T value,
RealTransform warp,
GridSource.GRID_TYPE method) |
Modifier and Type | Method and Description |
---|---|
void |
bck(int d) |
RealRandomAccess<T> |
copy() |
RealRandomAccess<T> |
copyRandomAccess() |
RealRandomAccess<T> |
copyRealRandomAccess() |
void |
fwd(int d) |
T |
get() |
static void |
main(String[] args) |
void |
move(double[] distance) |
void |
move(double distance,
int d) |
void |
move(float[] distance) |
void |
move(float distance,
int d) |
void |
move(int[] distance) |
void |
move(int distance,
int d) |
void |
move(Localizable localizable) |
void |
move(long[] distance) |
void |
move(long distance,
int d) |
void |
move(RealLocalizable localizable) |
void |
setGridSpacing(double spacing) |
void |
setGridWidth(double width) |
void |
setMethod(GridSource.GRID_TYPE method) |
void |
setPosition(double[] p) |
void |
setPosition(double p,
int d) |
void |
setPosition(float[] p) |
void |
setPosition(float p,
int d) |
void |
setPosition(int[] pos) |
void |
setPosition(int pos,
int d) |
void |
setPosition(Localizable localizable) |
void |
setPosition(long[] pos) |
void |
setPosition(long pos,
int d) |
void |
setPosition(RealLocalizable localizable) |
getDoublePosition, getFloatPosition, localize, localize
numDimensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setPositionAndGet, setPositionAndGet, setPositionAndGet
getDoublePosition, getFloatPosition, localize, localize, localize, positionAsDoubleArray, positionAsRealPoint
numDimensions
protected RealTransform warp
protected GridRealRandomAccess(double[] dimensions)
protected GridRealRandomAccess(double[] dimensions, T value, RealTransform warp)
protected GridRealRandomAccess(double[] dimensions, T value, RealTransform warp, GridSource.GRID_TYPE method)
public static void main(String[] args)
public void setGridSpacing(double spacing)
public void setGridWidth(double width)
public void setMethod(GridSource.GRID_TYPE method)
public RealRandomAccess<T> copyRealRandomAccess()
copyRealRandomAccess
in interface RealRandomAccess<T extends RealType<T>>
public RealRandomAccess<T> copy()
public RealRandomAccess<T> copyRandomAccess()
public void fwd(int d)
fwd
in interface Positionable
public void bck(int d)
bck
in interface Positionable
public void move(int distance, int d)
move
in interface Positionable
public void move(long distance, int d)
move
in interface Positionable
public void move(Localizable localizable)
move
in interface Positionable
public void move(int[] distance)
move
in interface Positionable
public void move(long[] distance)
move
in interface Positionable
public void setPosition(Localizable localizable)
setPosition
in interface Positionable
public void setPosition(int[] pos)
setPosition
in interface Positionable
public void setPosition(long[] pos)
setPosition
in interface Positionable
public void setPosition(int pos, int d)
setPosition
in interface Positionable
public void setPosition(long pos, int d)
setPosition
in interface Positionable
public void move(float distance, int d)
move
in interface RealPositionable
public void move(double distance, int d)
move
in interface RealPositionable
public void move(RealLocalizable localizable)
move
in interface RealPositionable
public void move(float[] distance)
move
in interface RealPositionable
public void move(double[] distance)
move
in interface RealPositionable
public void setPosition(RealLocalizable localizable)
setPosition
in interface RealPositionable
public void setPosition(float[] p)
setPosition
in interface RealPositionable
public void setPosition(double[] p)
setPosition
in interface RealPositionable
public void setPosition(float p, int d)
setPosition
in interface RealPositionable
public void setPosition(double p, int d)
setPosition
in interface RealPositionable
Copyright © 2015–2021 Fiji. All rights reserved.