Class ConsistentChannelChecker

Object
ConsistentChannelChecker

public class ConsistentChannelChecker extends Object
Checks that all Channels have the same voxel-data-type.
Author:
Owen Feehan
  • Constructor Details

    • ConsistentChannelChecker

      public ConsistentChannelChecker()
  • Method Details

    • checkChannelType

      public void checkChannelType(Channel channel) throws OperationFailedException
      Checks that a channel has the same type (max value) as the others.
      Parameters:
      channel - the Channel to check.
      Throws:
      OperationFailedException - if voxelDataType is inconsistent with any existing type, if one exists.
    • getVoxelDataType

      public VoxelDataType getVoxelDataType()
      The voxel-data-type that is consistent across all channels.
      Returns:
      the voxel-data-type.