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