Interface RealLocalizableSampler<T>

Type Parameters:
T - pixel type
All Superinterfaces:
EuclideanSpace, RealLocalizable, Sampler<T>, Typed<T>
All Known Subinterfaces:
LocalizableSampler<T>
All Known Implementing Classes:
LocalizableSamplerWrapper, RealLocalizableSamplerWrapper

public interface RealLocalizableSampler<T> extends RealLocalizable, Sampler<T>
Combination of RealLocalizable and Sampler interfaces. In general, it is preferable to use RealLocalizable & Sampler<T> where possible.
  • Method Details

    • copy

      Specified by:
      copy in interface Sampler<T>
      Returns:
      - A new Sampler in the same state accessing the same values. It does NOT copy T, just the state of the Sampler. 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 an ArrayCursor for example)