Package net.imglib2
Class AbstractWrappedRealInterval<I extends RealInterval>
java.lang.Object
net.imglib2.AbstractWrappedRealInterval<I>
- All Implemented Interfaces:
EuclideanSpace,RealInterval
- Direct Known Subclasses:
AbstractWrappedInterval,ConvertedRealRandomAccessibleRealInterval
public abstract class AbstractWrappedRealInterval<I extends RealInterval>
extends Object
implements RealInterval
Convenient base class for
IterableRealIntervals,
etc that forward the RealInterval interface to, for example, their
source accessible.- Author:
- Tobias Pietzsch
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets 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
-
Field Details
-
sourceInterval
-
-
Constructor Details
-
AbstractWrappedRealInterval
-
-
Method Details
-
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- Parameters:
min-
-
realMin
Description copied from interface:RealIntervalSets aRealPositionableto the minimum of thisInterval- Specified by:
realMinin interfaceRealInterval- Parameters:
min-
-
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- Parameters:
max-
-
realMax
Description copied from interface:RealIntervalSets aRealPositionableto the maximum of thisInterval- Specified by:
realMaxin interfaceRealInterval- Parameters:
max-
-
numDimensions
public int numDimensions()Description copied from interface:EuclideanSpaceGets the space's number of dimensions.- Specified by:
numDimensionsin interfaceEuclideanSpace
-
getSource
-