Direct Known Subclasses:
FloatFromUnsignedByte, FloatFromUnsignedInt

public abstract class ToFloat extends ConvertTo<FloatBuffer>
Base class for implementations of ConvertTo that convert to float buffers.
Author:
Owen Feehan
  • Constructor Details

    • ToFloat

      protected ToFloat()
      Constructor populating super-class with necessary values.
  • Method Details

    • supportsMultipleChannelsPerSourceBuffer

      protected boolean supportsMultipleChannelsPerSourceBuffer()
      Description copied from class: ConvertTo
      Whether the source buffer can encode more than one channel?
      Specified by:
      supportsMultipleChannelsPerSourceBuffer in class ConvertTo<FloatBuffer>
      Returns:
      true if this possible (either with interleaving or with RGB-encoded voxels), false if a buffer will always describe one channel only.