Interface ProjectableBuffer<T>
- Type Parameters:
T
- buffer type used for aggregationUnsignedByteBuffer
etc.
- All Known Implementing Classes:
CountedProjectableBuffer
public interface ProjectableBuffer<T>
A buffer to which slices may be added to form a projection.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addVoxelBuffer
(VoxelBuffer<T> voxels) Adds aVoxelBuffer
to the projection, as a single entity.void
Adds aVoxels
to the projection, as a single entity.Performs any final operation before turning the projected buffer.
-
Method Details
-
addVoxelBuffer
Adds aVoxelBuffer
to the projection, as a single entity.- Parameters:
voxels
- the voxel buffer to add.
-
addVoxels
Adds aVoxels
to the projection, as a single entity.- Parameters:
voxels
- the voxels to add (which contains one or more voxel-buffers).
-
completeProjection
Performs any final operation before turning the projected buffer.This should be called only once per buffer.
- Returns:
- the projected buffer.
-