Class TileBuffer
java.lang.Object
nom.tam.image.tile.operation.buffer.TileBuffer
- Direct Known Subclasses:
TileBufferColumnBased
,TileBufferRowBased
This view on the image data represents a tileOperation that is row based, so
a tileOperation that fills the whole width of the image.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PrimitiveType
<Buffer> the tileOperation this view is connected toprivate final int
private Buffer
private final int
private final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TileBuffer
(PrimitiveType<Buffer> baseType, int dataOffset, int width, int height) -
Method Summary
-
Field Details
-
imageBuffer
-
height
private final int height -
offset
private final int offset -
baseType
the tileOperation this view is connected to -
width
private final int width
-
-
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 tileOperation this view represents.
-
getWidth
public int getWidth() -
setData
-
getImageBuffer
-