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 forIterableIntervals
,RandomAccessibleIntervals
, etc that forward theInterval
interface to, for example, their source accessible.- Author:
- Tobias Pietzsch
-
-
Field Summary
-
Fields inherited from class net.imglib2.AbstractWrappedRealInterval
sourceInterval
-
-
Constructor Summary
Constructors Constructor Description AbstractWrappedInterval(I source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
dimension(int d)
Get the number of pixels in a given dimension d.void
dimensions(long[] dimensions)
Write the number of pixels in each dimension into long[].long
max(int d)
Get the maximum in dimension d.void
max(long[] max)
Write the maximum of each dimension into long[].void
max(Positionable max)
Sets aPositionable
to the maximum of thisInterval
long
min(int d)
Get the minimum in dimension d.void
min(long[] min)
Write the minimum of each dimension into long[].void
min(Positionable min)
Sets aPositionable
to the minimum of thisInterval
-
Methods inherited from class net.imglib2.AbstractWrappedRealInterval
getSource, numDimensions, realMax, realMax, realMax, realMin, realMin, realMin
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
-
-
-
Constructor Detail
-
AbstractWrappedInterval
public AbstractWrappedInterval(I source)
-
-
Method Detail
-
dimensions
public void dimensions(long[] dimensions)
Description copied from interface:Dimensions
Write the number of pixels in each dimension into long[].- Specified by:
dimensions
in interfaceDimensions
-
dimension
public long dimension(int d)
Description copied from interface:Dimensions
Get the number of pixels in a given dimension d.- Specified by:
dimension
in interfaceDimensions
-
min
public long min(int d)
Description copied from interface:Interval
Get the minimum in dimension d.
-
min
public void min(long[] min)
Description copied from interface:Interval
Write the minimum of each dimension into long[].
-
min
public void min(Positionable min)
Description copied from interface:Interval
Sets aPositionable
to the minimum of thisInterval
-
max
public long max(int d)
Description copied from interface:Interval
Get the maximum in dimension d.
-
max
public void max(long[] max)
Description copied from interface:Interval
Write the maximum of each dimension into long[].
-
max
public void max(Positionable max)
Description copied from interface:Interval
Sets aPositionable
to the maximum of thisInterval
-
-