public interface Interpolator<T extends Type<T>>
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the interpolator and with it any cursors or other containers, images or datastructures
that might have been created to make the interpolation work
|
Image<T> |
getImage()
Returns the typed image the interpolator is working on
|
InterpolatorFactory<T> |
getInterpolatorFactory()
Returns the typed interpolator factory the Interpolator has been instantiated with.
|
OutOfBoundsStrategyFactory<T> |
getOutOfBoundsStrategyFactory()
Returns the
OutOfBoundsStrategyFactory used for interpolation |
float[] |
getPosition()
Returns the positon of the interpolator.
|
void |
getPosition(float[] position)
Returns the positon of the interpolator.
|
T |
getType()
Returns the type which stores the value for the current position of the interpolator
|
void |
moveRel(double[] vector)
Moves the interpolator a certain distance given by the vector to a random position inside or out of image bounds.
|
void |
moveRel(float[] vector)
Moves the interpolator a certain distance given by the vector to a random position inside or out of image bounds.
|
void |
moveTo(double[] position)
Moves the interpolator to a random position inside or out of image bounds.
|
void |
moveTo(float[] position)
Moves the interpolator to a random position inside or out of image bounds.
|
void |
setPosition(double[] position)
Sets the interpolator to a random position inside or out of image bounds.
|
void |
setPosition(float[] position)
Sets the interpolator to a random position inside or out of image bounds.
|
InterpolatorFactory<T> getInterpolatorFactory()
OutOfBoundsStrategyFactory<T> getOutOfBoundsStrategyFactory()
OutOfBoundsStrategyFactory
used for interpolationOutOfBoundsStrategyFactory
Image<T> getImage()
T getType()
void moveTo(float[] position)
position
- - the floating position of the same dimensionality as the imagevoid moveTo(double[] position)
position
- - the floating position of the same dimensionality as the imagevoid moveRel(float[] vector)
vector
- - the floating vector of the same dimensionality as the imagevoid moveRel(double[] vector)
vector
- - the floating vector of the same dimensionality as the imagevoid setPosition(float[] position)
position
- - the floating position of the same dimensionality as the imagevoid setPosition(double[] position)
position
- - the floating position of the same dimensionality as the imagevoid getPosition(float[] position)
position
- - the floating position of the same dimensionality as the imagefloat[] getPosition()
void close()
Copyright © 2015–2021 Fiji. All rights reserved.