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:
get
in interfacePackedBits
-
set
public void set(int which, int value) - Specified by:
set
in interfacePackedBits
-
resize
public void resize(int totalBits) - Specified by:
resize
in interfacePackedBits
-
zero
public void zero()- Specified by:
zero
in interfacePackedBits
-
length
public int length()- Specified by:
length
in interfacePackedBits
-
arrayLength
public int arrayLength()- Specified by:
arrayLength
in interfacePackedBits
-
elementBits
public int elementBits()- Specified by:
elementBits
in interfacePackedBits
-