Package net.imglib2
Class AbstractWrappedInterval<I extends Interval>
java.lang.Object
net.imglib2.AbstractWrappedRealInterval<I>
net.imglib2.AbstractWrappedInterval<I>
- All Implemented Interfaces:
Dimensions,EuclideanSpace,Interval,RealInterval
- Direct Known Subclasses:
AbstractConvertedIterableInterval,AbstractConvertedIterableRandomAccessibleInterval,AbstractConvertedRandomAccessibleInterval,ConvertedRandomAccessibleInterval,IterableRandomAccessibleInterval,WriteConvertedRandomAccessibleInterval
public abstract class AbstractWrappedInterval<I extends Interval>
extends AbstractWrappedRealInterval<I>
implements Interval
Convenient base class for
IterableIntervals,
RandomAccessibleIntervals, etc that forward
the Interval interface to, for example, their source accessible.- Author:
- Tobias Pietzsch
-
Field Summary
Fields inherited from class net.imglib2.AbstractWrappedRealInterval
sourceInterval -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongdimension(int d) Get the number of pixels in a given dimension d.voiddimensions(long[] dimensions) Write the number of pixels in each dimension into long[].longmax(int d) Get the maximum in dimension d.voidmax(long[] max) Write the maximum of each dimension into long[].voidmax(Positionable max) Sets aPositionableto the maximum of thisIntervallongmin(int d) Get the minimum in dimension d.voidmin(long[] min) Write the minimum of each dimension into long[].voidmin(Positionable min) Sets aPositionableto the minimum of thisIntervalMethods inherited from class net.imglib2.AbstractWrappedRealInterval
getSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMinMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
Constructor Details
-
AbstractWrappedInterval
-
-
Method Details
-
dimensions
public void dimensions(long[] dimensions) Description copied from interface:DimensionsWrite the number of pixels in each dimension into long[].- Specified by:
dimensionsin interfaceDimensions- Parameters:
dimensions-
-
dimension
public long dimension(int d) Description copied from interface:DimensionsGet the number of pixels in a given dimension d.- Specified by:
dimensionin interfaceDimensions- Parameters:
d-
-
min
public long min(int d) Description copied from interface:IntervalGet the minimum in dimension d. -
min
public void min(long[] min) Description copied from interface:IntervalWrite the minimum of each dimension into long[]. -
min
Description copied from interface:IntervalSets aPositionableto the minimum of thisInterval -
max
public long max(int d) Description copied from interface:IntervalGet the maximum in dimension d. -
max
public void max(long[] max) Description copied from interface:IntervalWrite the maximum of each dimension into long[]. -
max
Description copied from interface:IntervalSets aPositionableto the maximum of thisInterval
-