Class TileBuffer
- java.lang.Object
-
- nom.tam.image.tile.operation.buffer.TileBuffer
-
- Direct Known Subclasses:
TileBufferRowBased
public abstract class TileBuffer extends java.lang.Object
This view on the image data represents a tileOperation that is row based, so a tileOperation that fills the whole width of the image.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TileBuffer(PrimitiveType<java.nio.Buffer> baseType, int dataOffset, int width, int height)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
finish()
nothing to do in the normal case, overwrite this method if post processing is necessary.PrimitiveType<java.nio.Buffer>
getBaseType()
abstract java.nio.Buffer
getBuffer()
int
getHeight()
protected java.nio.Buffer
getImageBuffer()
int
getPixelSize()
int
getWidth()
TileBuffer
setData(java.nio.Buffer value)
-
-
-
Constructor Detail
-
TileBuffer
protected TileBuffer(PrimitiveType<java.nio.Buffer> baseType, int dataOffset, int width, int height)
-
-
Method Detail
-
finish
public void finish()
nothing to do in the normal case, overwrite this method if post processing is necessary.
-
getBaseType
public PrimitiveType<java.nio.Buffer> getBaseType()
-
getBuffer
public abstract java.nio.Buffer getBuffer()
-
getHeight
public int getHeight()
-
getPixelSize
public int getPixelSize()
- Returns:
- the number of pixels in the tileOperation this view represents.
-
getWidth
public int getWidth()
-
setData
public TileBuffer setData(java.nio.Buffer value)
-
getImageBuffer
protected java.nio.Buffer getImageBuffer()
-
-