Class ViewPrimitiveBlocks<T extends NativeType<T>, R extends NativeType<R>>
java.lang.Object
net.imglib2.blocks.ViewPrimitiveBlocks<T,R>
- All Implemented Interfaces:
PrimitiveBlocks<T>
class ViewPrimitiveBlocks<T extends NativeType<T>, R extends NativeType<R>>
extends Object
implements PrimitiveBlocks<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface PrimitiveBlocks
PrimitiveBlocks.OnFallback -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Convertprivate final RangeCopierprivate final PermuteInvertprivate final ViewProperties<T, R> private Supplier<PrimitiveBlocks<T>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateViewPrimitiveBlocks(ViewPrimitiveBlocks<T, R> blocks) ViewPrimitiveBlocks(ViewProperties<T, R> props) -
Method Summary
Modifier and TypeMethodDescriptionvoidCopy a block from the (T-typed) source into primitive arrays (of the appropriate type).getType()Get a thread-safe version of thisPrimitiveBlocks.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PrimitiveBlocks
copy
-
Field Details
-
props
-
copier
-
tempArrayPermute
-
tempArrayConvert
-
permuteInvert
-
convert
-
threadSafeSupplier
-
-
Constructor Details
-
ViewPrimitiveBlocks
-
ViewPrimitiveBlocks
-
-
Method Details
-
getType
- Specified by:
getTypein interfacePrimitiveBlocks<T extends NativeType<T>>
-
copy
Description copied from interface:PrimitiveBlocksCopy a block from the (T-typed) source into primitive arrays (of the appropriate type).- Specified by:
copyin interfacePrimitiveBlocks<T extends NativeType<T>>- Parameters:
srcPos- min coordinates of block to copy from src Img.dest- destination array. Type isbyte[],float[], etc, corresponding to the src Img's native type.size- dimensions of block to copy from src Img.
-
threadSafe
Description copied from interface:PrimitiveBlocksGet a thread-safe version of thisPrimitiveBlocks. (Implemented as a wrapper that makesThreadLocalcopies).- Specified by:
threadSafein interfacePrimitiveBlocks<T extends NativeType<T>>
-
independentCopy
- Specified by:
independentCopyin interfacePrimitiveBlocks<T extends NativeType<T>>
-