Package net.imglib2
Class AbstractWrappedRealInterval<I extends RealInterval>
- java.lang.Object
-
- net.imglib2.AbstractWrappedRealInterval<I>
-
- All Implemented Interfaces:
EuclideanSpace,RealInterval
- Direct Known Subclasses:
AbstractConvertedIterableRealInterval,AbstractWrappedInterval,BiConvertedRealRandomAccessibleRealInterval,ConvertedRealRandomAccessibleRealInterval
public abstract class AbstractWrappedRealInterval<I extends RealInterval> extends java.lang.Object implements RealInterval
Convenient base class forIterableRealIntervals, etc that forward theRealIntervalinterface to, for example, their source accessible.
-
-
Field Summary
Fields Modifier and Type Field Description protected IsourceInterval
-
Constructor Summary
Constructors Constructor Description AbstractWrappedRealInterval(I source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IgetSource()intnumDimensions()Gets the space's number of dimensions.voidrealMax(double[] max)Write the maximum of each dimension into double[].doublerealMax(int d)Get the maximum in dimension d.voidrealMax(RealPositionable max)Sets aRealPositionableto the maximum of thisIntervalvoidrealMin(double[] min)Write the minimum of each dimension into double[].doublerealMin(int d)Get the minimum in dimension d.voidrealMin(RealPositionable min)Sets aRealPositionableto the minimum of thisInterval-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.imglib2.RealInterval
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
-
-
-
-
Field Detail
-
sourceInterval
protected final I extends RealInterval sourceInterval
-
-
Constructor Detail
-
AbstractWrappedRealInterval
public AbstractWrappedRealInterval(I source)
-
-
Method Detail
-
realMin
public double realMin(int d)
Description copied from interface:RealIntervalGet the minimum in dimension d.- Specified by:
realMinin interfaceRealInterval- Parameters:
d- dimension- Returns:
- minimum in dimension d.
-
realMin
public void realMin(double[] min)
Description copied from interface:RealIntervalWrite the minimum of each dimension into double[].- Specified by:
realMinin interfaceRealInterval
-
realMin
public void realMin(RealPositionable min)
Description copied from interface:RealIntervalSets aRealPositionableto the minimum of thisInterval- Specified by:
realMinin interfaceRealInterval
-
realMax
public double realMax(int d)
Description copied from interface:RealIntervalGet the maximum in dimension d.- Specified by:
realMaxin interfaceRealInterval- Parameters:
d- dimension- Returns:
- maximum in dimension d.
-
realMax
public void realMax(double[] max)
Description copied from interface:RealIntervalWrite the maximum of each dimension into double[].- Specified by:
realMaxin interfaceRealInterval
-
realMax
public void realMax(RealPositionable max)
Description copied from interface:RealIntervalSets aRealPositionableto the maximum of thisInterval- Specified by:
realMaxin interfaceRealInterval
-
numDimensions
public int numDimensions()
Description copied from interface:EuclideanSpaceGets the space's number of dimensions.- Specified by:
numDimensionsin interfaceEuclideanSpace
-
getSource
public I getSource()
-
-