Class PlanarImgContainerSamplerImpl

java.lang.Object
net.imglib2.display.projector.specialized.PlanarImgContainerSamplerImpl
All Implemented Interfaces:
PlanarImg.PlanarContainerSampler

public class PlanarImgContainerSamplerImpl extends Object implements PlanarImg.PlanarContainerSampler
Helps to sample a planar image by keeping track of the current slice.
Author:
Michael Zinsmaier, Martin Horn, Christian Dietz
  • Constructor Details

    • PlanarImgContainerSamplerImpl

      public PlanarImgContainerSamplerImpl(int startIndex)
  • Method Details

    • getCurrentSliceIndex

      public int getCurrentSliceIndex()
      Specified by:
      getCurrentSliceIndex in interface PlanarImg.PlanarContainerSampler
      Returns:
      the index of the slice the sampler is currently accessing.
    • fwd

      public int fwd()
    • setCurrentSlice

      public void setCurrentSlice(int slice)