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
- Direct Known Subclasses:
AbstractCellImg
,ArrayImg
,NtreeImg
,PlanarImg
public abstract class AbstractNativeImg<T extends NativeType<T>,A> extends AbstractImg<T> implements NativeImg<T,A>
TODO- Author:
- Stephan Preibisch, Stephan Saalfeld
-
-
Field Summary
Fields Modifier and Type Field Description protected Fraction
entitiesPerPixel
protected T
linkedType
protected long
numEntities
-
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 T
createLinkedType()
void
setLinkedType(T type)
-
Methods inherited from class net.imglib2.img.AbstractImg
dimension, dimensions, firstElement, iterator, 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
dimension, dimensions
-
Methods inherited from interface net.imglib2.EuclideanSpace
numDimensions
-
Methods inherited from interface net.imglib2.IterableInterval
cursor, localizingCursor
-
Methods inherited from interface net.imglib2.IterableRealInterval
firstElement, iterationOrder, size
-
Methods inherited from interface net.imglib2.RandomAccessible
randomAccess, randomAccess
-
-
-
-
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:
setLinkedType
in interfaceNativeImg<T extends NativeType<T>,A>
-
createLinkedType
public T createLinkedType()
- Specified by:
createLinkedType
in interfaceNativeImg<T extends NativeType<T>,A>
-
-