public class VoxelsArithmeticFactory extends Object
VoxelsArithmetic
for buffers of different types.Modifier and Type | Method and Description |
---|---|
static VoxelsArithmetic |
createFloat(Extent extent,
java.util.function.IntFunction<FloatBuffer> bufferForSlice)
Create a
VoxelsArithmetic for FloatBuffer . |
static VoxelsArithmetic |
createUnsignedByte(Extent extent,
java.util.function.IntFunction<UnsignedByteBuffer> bufferForSlice)
Create a
VoxelsArithmetic for UnsignedByteBuffer . |
static VoxelsArithmetic |
createUnsignedInt(Extent extent,
java.util.function.IntFunction<UnsignedIntBuffer> bufferForSlice)
Create a
VoxelsArithmetic for UnsignedIntBuffer . |
static VoxelsArithmetic |
createUnsignedShort(Extent extent,
java.util.function.IntFunction<UnsignedShortBuffer> bufferForSlice)
Create a
VoxelsArithmetic for UnsignedShortBuffer . |
public static VoxelsArithmetic createUnsignedByte(Extent extent, java.util.function.IntFunction<UnsignedByteBuffer> bufferForSlice)
VoxelsArithmetic
for UnsignedByteBuffer
.extent
- the extent of the voxels on which arithmetic is to be performed.bufferForSlice
- a buffer for a particular slice index (set at the initial position in
the buffer).public static VoxelsArithmetic createUnsignedShort(Extent extent, java.util.function.IntFunction<UnsignedShortBuffer> bufferForSlice)
VoxelsArithmetic
for UnsignedShortBuffer
.extent
- the extent of the voxels on which arithmetic is to be performed.bufferForSlice
- a buffer for a particular slice index (set at the initial position in
the buffer).public static VoxelsArithmetic createUnsignedInt(Extent extent, java.util.function.IntFunction<UnsignedIntBuffer> bufferForSlice)
VoxelsArithmetic
for UnsignedIntBuffer
.extent
- the extent of the voxels on which arithmetic is to be performed.bufferForSlice
- a buffer for a particular slice index (set at the initial position in
the buffer).public static VoxelsArithmetic createFloat(Extent extent, java.util.function.IntFunction<FloatBuffer> bufferForSlice)
VoxelsArithmetic
for FloatBuffer
.extent
- the extent of the voxels on which arithmetic is to be performed.bufferForSlice
- a buffer for a particular slice index (set at the initial position in
the buffer).Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.