Class VoxelsFloat

Object
Voxels<FloatBuffer>
VoxelsFloat

public final class VoxelsFloat extends Voxels<FloatBuffer>
Implementation of Voxels whose voxels are of type float.
Author:
Owen Feehan
  • Constructor Details

    • VoxelsFloat

      public VoxelsFloat(SliceBufferIndex<FloatBuffer> buffer)
      Create from a buffer, indexed by slice.
      Parameters:
      buffer - the buffer.
  • Method Details

    • assignValue

      public VoxelsAssigner assignValue(int valueToAssign)
      Description copied from class: Voxels
      Interface that allows assignment of a particular value to all or subsets of the voxels.
      Specified by:
      assignValue in class Voxels<FloatBuffer>
      Parameters:
      valueToAssign - the value to assign.
      Returns:
      the interface.
    • extract

      public VoxelsExtracter<FloatBuffer> extract()
      Description copied from class: Voxels
      Interface that allows read/copy/duplication operations to be performed regarding the voxels intensities.
      Specified by:
      extract in class Voxels<FloatBuffer>
      Returns:
      the interface.