Package boofcv.alg.fiducial.qrcode
Class PackedBits32
java.lang.Object
boofcv.alg.fiducial.qrcode.PackedBits32
- All Implemented Interfaces:
PackedBits
Stores a set of bits inside of an int array.
-
Field Details
-
data
public int[] dataInteger array used to store bits -
size
public int sizeNumber of bits stored
-
-
Constructor Details
-
PackedBits32
public PackedBits32(int totalBits) -
PackedBits32
public PackedBits32()
-
-
Method Details
-
setTo
-
get
public int get(int which) - Specified by:
getin interfacePackedBits
-
set
public void set(int which, int value) - Specified by:
setin interfacePackedBits
-
resize
public void resize(int totalBits) - Specified by:
resizein interfacePackedBits
-
zero
public void zero()- Specified by:
zeroin interfacePackedBits
-
length
public int length()- Specified by:
lengthin interfacePackedBits
-
arrayLength
public int arrayLength()- Specified by:
arrayLengthin interfacePackedBits
-
elementBits
public int elementBits()- Specified by:
elementBitsin interfacePackedBits
-