Class ToUnsignedInt
Base class for conversion to unsigned 32-bit.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconvertFloat(FloatBuffer in, UnsignedIntBuffer out) Copies a value from the current position in aFloatBufferto the current position in a buffer of typeT.protected voidCopies a value from the current position in aUnsignedByteBufferto the current position in a buffer of typeT.protected voidCopies a value from the current position in aUnsignedIntBufferto the current position in a buffer of typeT.protected voidCopies a value from the current position in aUnsignedShortBufferto the current position in a buffer of typeT.Methods inherited from class org.anchoranalysis.image.voxel.convert.VoxelsConverter
convertFrom, copyFrom, copyFromFloat, copyFromUnsignedByte, copyFromUnsignedInt, copyFromUnsignedShort
-
Constructor Details
-
ToUnsignedInt
public ToUnsignedInt()
-
-
Method Details
-
convertUnsignedByte
Description copied from class:VoxelsConverterCopies a value from the current position in aUnsignedByteBufferto the current position in a buffer of typeT.- Specified by:
convertUnsignedBytein classVoxelsConverter<UnsignedIntBuffer>- Parameters:
in- the current position of this buffer gives the value to convert, and the position is incremented.out- the converted value is written to the current position of this buffer, and the position is incremented.
-
convertUnsignedShort
Description copied from class:VoxelsConverterCopies a value from the current position in aUnsignedShortBufferto the current position in a buffer of typeT.- Specified by:
convertUnsignedShortin classVoxelsConverter<UnsignedIntBuffer>- Parameters:
in- the current position of this buffer gives the value to convert, and the position is incremented.out- the converted value is written to the current position of this buffer, and the position is incremented.
-
convertUnsignedInt
Description copied from class:VoxelsConverterCopies a value from the current position in aUnsignedIntBufferto the current position in a buffer of typeT.- Specified by:
convertUnsignedIntin classVoxelsConverter<UnsignedIntBuffer>- Parameters:
in- the current position of this buffer gives the value to convert, and the position is incremented.out- the converted value is written to the current position of this buffer, and the position is incremented.
-
convertFloat
Description copied from class:VoxelsConverterCopies a value from the current position in aFloatBufferto the current position in a buffer of typeT.- Specified by:
convertFloatin classVoxelsConverter<UnsignedIntBuffer>- Parameters:
in- the current position of this buffer gives the value to convert, and the position is incremented.out- the converted value is written to the current position of this buffer, and the position is incremented.
-