Package net.imglib2
Interface RealLocalizable
- All Superinterfaces:
EuclideanSpace
- All Known Subinterfaces:
Cursor<T>,Localizable,OutOfBounds<T>,RandomAccess<T>,RealCursor<T>,RealOutOfBounds<T>,RealRandomAccess<T>
- All Known Implementing Classes:
AbstractArrayCursor,AbstractArrayLocalizingCursor,AbstractConvertedCursor,AbstractConvertedRandomAccess,AbstractConvertedRealRandomAccess,AbstractCursor,AbstractCursorInt,AbstractLocalizable,AbstractLocalizableInt,AbstractLocalizingCursor,AbstractLocalizingCursorInt,AbstractLongListImg.LongListCursor,AbstractLongListImg.LongListLocalizingCursor,AbstractLongListImg.LongListRandomAccess,AbstractOutOfBoundsMirror,AbstractOutOfBoundsValue,AbstractPositionableTransform,AbstractProjector2D,AbstractRealLocalizable,ArrayCursor,ArrayImgXYByteProjector,ArrayImgXYShortProjector,ArrayLocalizingCursor,ArrayLocalizingSubIntervalCursor,ArrayRandomAccess,ArraySubIntervalCursor,CellCursor,CellLocalizingCursor,CellRandomAccess,CompositeView.CompositeRandomAccess,CompositeXYProjector,CompositeXYRandomAccessibleProjector,ConvertedCursor,ConvertedRandomAccess,ConvertedRealRandomAccess,Floor,FloorInterpolator,FloorOffset,FullSourceMapMixedRandomAccess,FullSourceMapSlicingRandomAccess,HyperSlice.HyperSliceRandomAccess,HyperSlicesView.HyperSlicesViewRandomAccess,IntervalIterator,InverseDistanceWeightingInterpolator,IterableIntervalProjector2D,KDTree.KDTreeCursor,KDTree.SamplerNode,KDTree.ValueNode,KDTreeNode,LanczosInterpolator,ListCursor,ListLocalizingCursor,ListRandomAccess,LocalizingIntervalIterator,LocalizingZeroMinIntervalIterator,MixedRandomAccess,NearestNeighborInterpolator,NearestNeighborSearchInterpolator,NLinearInterpolator,NLinearInterpolator1D,NLinearInterpolator2D,NLinearInterpolator3D,NLinearInterpolatorARGB,NtreeCursor,NtreeRandomAccess,OffsetableIntervalIterator,OffsetableLocalizingIntervalIterator,OutOfBoundsBorder,OutOfBoundsConstantValue,OutOfBoundsMirrorDoubleBoundary,OutOfBoundsMirrorExpWindowing,OutOfBoundsMirrorSingleBoundary,OutOfBoundsPeriodic,OutOfBoundsRandomValue,PlanarCursor,PlanarCursor1D,PlanarCursor2D,PlanarImgXYByteProjector,PlanarImgXYShortProjector,PlanarLocalizingCursor,PlanarLocalizingCursor1D,PlanarLocalizingCursor2D,PlanarPlaneSubsetCursor,PlanarPlaneSubsetLocalizingCursor,PlanarRandomAccess,PlanarRandomAccess1D,Point,PointSampleList.PointSampleListCursor,RandomAccessibleIntervalCursor,RandomAccessibleOnRealRandomAccessible.RandomAccessOnRealRandomAccessible,RandomAccessiblePair.RandomAccess,RandomAccessibleProjector2D,RealOutOfBoundsRealRandomAccess,RealPoint,RealPointSampleList.RealPointSampleListCursor,Round,SamplingProjector2D,SlicingCursor,SlicingRandomAccess,StackView.DefaultRA,StackView.MoveAllSlicesRA,SubsampleView.SubsampleRandomAccess,TransformRandomAccess,TranslationRandomAccess,Volatile2DRandomAccessibleProjector,WriteConvertedCursor,WriteConvertedRandomAccess,ZeroMinIntervalIterator
The
RealLocalizable interface can localize itself in an n-dimensional
real space.- Author:
- Stephan Preibisch, Stephan Saalfeld
-
Method Summary
Modifier and TypeMethodDescriptiondoublegetDoublePosition(int d) Return the current position in a given dimension.floatgetFloatPosition(int d) Return the current position in a given dimension.voidlocalize(double[] position) Write the current position into the passed array.voidlocalize(float[] position) Write the current position into the passed array.Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
Method Details
-
localize
void localize(float[] position) Write the current position into the passed array.- Parameters:
position- receives current position
-
localize
void localize(double[] position) Write the current position into the passed array.- Parameters:
position- receives current position
-
getFloatPosition
float getFloatPosition(int d) Return the current position in a given dimension.- Parameters:
d- dimension- Returns:
- dimension of current position
-
getDoublePosition
double getDoublePosition(int d) Return the current position in a given dimension.- Parameters:
d- dimension- Returns:
- dimension of current position
-