Maven module :un.api : api-geometry :
Class : un.api.geometry.DefaultTupleBuffer
Extends/Implements : un.api.geometry.AbstractTupleBuffer
Subclasses : -

Default tuple buffer implementation where each tuple are not to each other.
author  Johann Sorel


Variables : bank
Functions : DefaultTupleBuffer, DefaultTupleBuffer, DefaultTupleBuffer, copy, getPrimitiveBuffer, create, getStartIndexInByte, getStartIndexInByte, getStartIndexInBits, getStartIndexInBits, getTupleBoolean, getTupleByte, getTupleUByte, getTupleShort, getTupleUShort, getTupleInt, getTupleUInt, getTupleLong, getTupleFloat, getTupleDouble, setTuple, setTuple, createIterator


protected Buffer bank



Constructor for 2D bufer sample.
public void DefaultTupleBuffer (Buffer bank, int sampleType, int nbSample, int width, int height)


Constructor for ND samples.
public void DefaultTupleBuffer (Buffer bank, int sampleType, int nbSample, Extent box)

protected void DefaultTupleBuffer (Buffer bank, int sampleType, int nbSample, Extent.Long dims)

public DefaultTupleBuffer copy (Buffer bank)

public Buffer getPrimitiveBuffer ()

public DefaultTupleBuffer create (Extent.Long dimensions, BufferFactory factory)

protected int getStartIndexInByte (int[] coordinate)

protected int getStartIndexInByte (int coordinate)

protected int getStartIndexInBits (int coordinate)

protected int getStartIndexInBits (int[] coordinate)

public boolean[] getTupleBoolean (int[] coordinate, boolean[] buffer)

public byte[] getTupleByte (int[] coordinate, byte[] buffer)

public int[] getTupleUByte (int[] coordinate, int[] buffer)

public short[] getTupleShort (int[] coordinate, short[] buffer)

public int[] getTupleUShort (int[] coordinate, int[] buffer)

public int[] getTupleInt (int[] coordinate, int[] buffer)

public long[] getTupleUInt (int[] coordinate, long[] buffer)

public long[] getTupleLong (int[] coordinate, long[] buffer)

public float[] getTupleFloat (int[] coordinate, float[] buffer)

public double[] getTupleDouble (int[] coordinate, double[] buffer)

public void setTuple (int[] coordinate, Object sample)

public void setTuple (BBox box, Object sample)

public TupleIterator createIterator (BBox bbox)