Class TileBuffer
java.lang.Object
nom.tam.image.tile.operation.buffer.TileBuffer
- Direct Known Subclasses:
TileBufferRowBased
(for internal use) A linear buffer that contains data for a single 2D image tile, in row-major format. You can
use
TileBufferFactory
to create appropriate implementations depending on tile and image sizes.- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TileBuffer
(ElementType<Buffer> baseType, int dataOffset, int width, int height) -
Method Summary
-
Constructor Details
-
TileBuffer
-
-
Method Details
-
finish
public void finish()nothing to do in the normal case, overwrite this method if post processing is necessary. -
getBaseType
-
getBuffer
-
getHeight
public int getHeight() -
getPixelSize
public int getPixelSize()- Returns:
- the number of pixels in the tile this view represents.
-
getWidth
public int getWidth() -
setData
-
getImageBuffer
-