Interface LocalizableSampler<T>
- Type Parameters:
T- pixel type
- All Superinterfaces:
EuclideanSpace, Localizable, RealLocalizable, RealLocalizableSampler<T>, Sampler<T>, Typed<T>
- All Known Implementing Classes:
LocalizableSamplerWrapper
Combination of
Localizable and Sampler interfaces. In
general, it is preferable to use Localizable & Sampler<T> where
possible.-
Method Summary
Methods inherited from interface EuclideanSpace
numDimensionsMethods inherited from interface Localizable
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, localize, positionAsLongArray, positionAsPointMethods inherited from interface RealLocalizable
localize, localize, positionAsDoubleArray, positionAsRealPoint
-
Method Details
-
copy
LocalizableSampler<T> copy()- Specified by:
copyin interfaceRealLocalizableSampler<T>- Specified by:
copyin interfaceSampler<T>- Returns:
- - A new
Samplerin the same state accessing the same values. It does NOT copy T, just the state of theSampler. Otherwise use T.copy() if available. Sampler.copy().get() == Sampler.get(), i.e. both hold the same value, not necessarily the same instance (this is the case for anArrayCursorfor example)
-