Class Interpolant<T,F>
java.lang.Object
net.imglib2.interpolation.Interpolant<T,F>
- All Implemented Interfaces:
EuclideanSpace, RealRandomAccessible<T>, Typed<T>, View
A
RealRandomAccessible that is generated through interpolation.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInterpolant(F source, InterpolatorFactory<T, F> factory, int n) Create anInterpolantfor a source, a compatible intepolator factory and a specified number of dimensions.Interpolant(EuclideanSpace source, InterpolatorFactory<T, F> factory) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetType()Get an instance ofT.intGets the space's number of dimensions.Create a random access sampler for real coordinates.realRandomAccess(RealInterval interval) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RealRandomAccessible
getAt, getAt, getAt
-
Field Details
-
source
-
n
protected final int n -
factory
-
-
Constructor Details
-
Interpolant
Deprecated.use the compile time safe constructorInterpolant(Object, InterpolatorFactory, int)instead- Parameters:
source-factory-
-
Interpolant
Create anInterpolantfor a source, a compatible intepolator factory and a specified number of dimensions.- Parameters:
source-factory-n-
-
-
Method Details
-
numDimensions
public int numDimensions()Description copied from interface:EuclideanSpaceGets the space's number of dimensions.- Specified by:
numDimensionsin interfaceEuclideanSpace
-
realRandomAccess
Description copied from interface:RealRandomAccessibleCreate a random access sampler for real coordinates.- Specified by:
realRandomAccessin interfaceRealRandomAccessible<T>- Returns:
- random access sampler
-
realRandomAccess
- Specified by:
realRandomAccessin interfaceRealRandomAccessible<T>
-
getSource
-
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. -
getInterpolatorFactory
- Returns:
InterpolatorFactoryused for interpolation
-
Interpolant(Object, InterpolatorFactory, int)instead