public class VoxelBufferFactory extends Object
Modifier and Type | Method and Description |
---|---|
static VoxelBufferFloat |
allocateFloat(int capacity)
Allocates a new float voxel-buffers of given size.
|
static VoxelBuffer<FloatBuffer>[] |
allocateFloatArray(int size)
Creates an array of float voxel-buffers of given size.
|
static VoxelBuffer<UnsignedByteBuffer> |
allocateUnsignedByte(int capacity)
Allocates a new unsigned byte voxel-buffer of given size.
|
static VoxelBuffer<UnsignedByteBuffer>[] |
allocateUnsignedByteArray(int size)
Creates an array of unsigned byte voxel-buffers of given size.
|
static VoxelBufferUnsignedInt |
allocateUnsignedInt(int capacity)
Allocates a new unsigned int voxel-buffers of given size.
|
static VoxelBuffer<UnsignedIntBuffer>[] |
allocateUnsignedIntArray(int size)
Creates an array of unsigned int voxel-buffers of given size.
|
static VoxelBuffer<UnsignedShortBuffer> |
allocateUnsignedShort(int capacity)
Allocates a new unsigned short voxel-buffers of given size.
|
static VoxelBuffer<UnsignedShortBuffer>[] |
allocateUnsignedShortArray(int size)
Creates an array of unsigned short voxel-buffers of given size.
|
public static VoxelBuffer<UnsignedByteBuffer> allocateUnsignedByte(int capacity)
capacity
- the capacity (size).VoxelBuffer
with newly allocated (non-direct) memory.public static VoxelBuffer<UnsignedByteBuffer>[] allocateUnsignedByteArray(int size)
size
- the size of the arraypublic static VoxelBuffer<UnsignedShortBuffer> allocateUnsignedShort(int capacity)
capacity
- the capacity (size).VoxelBuffer
with newly allocated (non-direct) memory.public static VoxelBuffer<UnsignedShortBuffer>[] allocateUnsignedShortArray(int size)
size
- the size of the arraypublic static VoxelBufferUnsignedInt allocateUnsignedInt(int capacity)
capacity
- the capacity (size).VoxelBuffer
with newly allocated (non-direct) memory.public static VoxelBuffer<UnsignedIntBuffer>[] allocateUnsignedIntArray(int size)
size
- the size of the arraypublic static VoxelBufferFloat allocateFloat(int capacity)
capacity
- the capacity (size).VoxelBuffer
with newly allocated (non-direct) memory.public static VoxelBuffer<FloatBuffer>[] allocateFloatArray(int size)
size
- the size of the arrayCopyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.