Interface ProjectableBuffer<T>

Type Parameters:
T - buffer type used for aggregation UnsignedByteBuffer 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 Details

    • addVoxelBuffer

      void addVoxelBuffer(VoxelBuffer<T> voxels)
      Adds a VoxelBuffer to the projection, as a single entity.
      Parameters:
      voxels - the voxel buffer to add.
    • addVoxels

      void addVoxels(Voxels<T> voxels)
      Adds a Voxels to the projection, as a single entity.
      Parameters:
      voxels - the voxels to add (which contains one or more voxel-buffers).
    • completeProjection

      Voxels<T> completeProjection()
      Performs any final operation before turning the projected buffer.

      This should be called only once per buffer.

      Returns:
      the projected buffer.