public class UnsignedIntDataBuffer extends DataBuffer
banks, dataType, offset, offsets, size, TYPE_BYTE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_SHORT, TYPE_UNDEFINED, TYPE_USHORT
Constructor and Description |
---|
UnsignedIntDataBuffer(int[][] dataArray,
int size)
Construct a new buffer of unsigned ints using the given 2D int array.
|
UnsignedIntDataBuffer(int[] dataArray,
int size)
Construct a new buffer of unsigned ints using the given int array.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getData() |
int[] |
getData(int bank) |
int |
getElem(int i) |
int |
getElem(int bank,
int i) |
double |
getElemDouble(int i) |
double |
getElemDouble(int bank,
int i) |
float |
getElemFloat(int i) |
float |
getElemFloat(int bank,
int i) |
void |
setElem(int i,
int val) |
void |
setElem(int bank,
int i,
int val) |
void |
setElemDouble(int i,
double val) |
void |
setElemDouble(int bank,
int i,
double val) |
void |
setElemFloat(int i,
float val) |
void |
setElemFloat(int bank,
int i,
float val) |
getDataType, getDataTypeSize, getNumBanks, getOffset, getOffsets, getSize
public UnsignedIntDataBuffer(int[] dataArray, int size)
public UnsignedIntDataBuffer(int[][] dataArray, int size)
public int[] getData()
public int[] getData(int bank)
public int getElem(int i)
getElem
in class DataBuffer
public int getElem(int bank, int i)
getElem
in class DataBuffer
public float getElemFloat(int i)
getElemFloat
in class DataBuffer
public float getElemFloat(int bank, int i)
getElemFloat
in class DataBuffer
public double getElemDouble(int i)
getElemDouble
in class DataBuffer
public double getElemDouble(int bank, int i)
getElemDouble
in class DataBuffer
public void setElem(int i, int val)
setElem
in class DataBuffer
public void setElem(int bank, int i, int val)
setElem
in class DataBuffer
public void setElemFloat(int i, float val)
setElemFloat
in class DataBuffer
public void setElemFloat(int bank, int i, float val)
setElemFloat
in class DataBuffer
public void setElemDouble(int i, double val)
setElemDouble
in class DataBuffer
public void setElemDouble(int bank, int i, double val)
setElemDouble
in class DataBuffer
Copyright © 2015–2022 ImgLib2. All rights reserved.