Package net.imglib2.img
Class AbstractNativeImg<T extends NativeType<T>,A>
- java.lang.Object
-
- net.imglib2.img.AbstractImg<T>
-
- net.imglib2.img.AbstractNativeImg<T,A>
-
- All Implemented Interfaces:
java.lang.Iterable<T>,Dimensions,EuclideanSpace,Img<T>,NativeImg<T,A>,Interval,IterableInterval<T>,IterableRealInterval<T>,RandomAccessible<T>,RandomAccessibleInterval<T>,RealInterval,Typed<T>
- Direct Known Subclasses:
AbstractCellImg,ArrayImg,NtreeImg,PlanarImg
public abstract class AbstractNativeImg<T extends NativeType<T>,A> extends AbstractImg<T> implements NativeImg<T,A>
TODO
-
-
Field Summary
Fields Modifier and Type Field Description protected FractionentitiesPerPixelprotected TlinkedTypeprotected longnumEntities-
Fields inherited from class net.imglib2.img.AbstractImg
dimension, max, n, numPixels
-
-
Constructor Summary
Constructors Constructor Description AbstractNativeImg(long[] dim, Fraction entitiesPerPixel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TcreateLinkedType()TgetType()Get an instance ofT.voidsetLinkedType(T type)-
Methods inherited from class net.imglib2.img.AbstractImg
dimension, dimensions, max, max, max, min, min, min, numDimensions, numElements, randomAccess, realMax, realMax, realMax, realMin, realMin, realMin, size, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.imglib2.Dimensions
dimensions, dimensions, dimensionsAsLongArray, dimensionsAsPoint
-
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
Methods inherited from interface net.imglib2.Interval
dimension, max, max, max, maxAsLongArray, maxAsPoint, min, min, min, minAsLongArray, minAsPoint, realMax, realMin
-
Methods inherited from interface net.imglib2.IterableInterval
localizingSpliterator, spliterator
-
Methods inherited from interface net.imglib2.IterableRealInterval
firstElement, iterator, parallelStream, stream
-
Methods inherited from interface net.imglib2.RandomAccessible
getAt, getAt, getAt, randomAccess, randomAccess
-
Methods inherited from interface net.imglib2.RandomAccessibleInterval
cursor, iterationOrder, localizingCursor, size
-
Methods inherited from interface net.imglib2.RealInterval
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMin, realMin
-
-
-
-
Field Detail
-
entitiesPerPixel
protected final Fraction entitiesPerPixel
-
numEntities
protected long numEntities
-
linkedType
protected T extends NativeType<T> linkedType
-
-
Constructor Detail
-
AbstractNativeImg
public AbstractNativeImg(long[] dim, Fraction entitiesPerPixel)
-
-
Method Detail
-
setLinkedType
public void setLinkedType(T type)
- Specified by:
setLinkedTypein interfaceNativeImg<T extends NativeType<T>,A>
-
createLinkedType
public T createLinkedType()
- Specified by:
createLinkedTypein interfaceNativeImg<T extends NativeType<T>,A>
-
getType
public T getType()
Description copied from interface:TypedGet an instance ofT.It should not be assumed that the returned
Tinstance is an independent copy. In particular, repeated calls togetType()may return the same instance.- Specified by:
getTypein interfaceIterableRealInterval<T extends NativeType<T>>- Specified by:
getTypein interfaceTyped<T extends NativeType<T>>- Returns:
- an instance of
T
-
-