#include <vbl_bit_array_3d.h>
Definition at line 23 of file vbl_bit_array_3d.h.
Public Member Functions | |
| vbl_bit_array_3d (unsigned int sizex, unsigned int sizey, unsigned int sizez) | |
| Create a bitarray of the specified size, without initialising elements. | |
| vbl_bit_array_3d (unsigned int sizex, unsigned int sizey, unsigned int sizez, bool v) | |
| Create a bitarray of the specified size, with initialisation of elements. | |
| vbl_bit_array_3d (unsigned int sizex, unsigned int sizey, unsigned int sizez, bool v[]) | |
| Create a bitarray of the specified size, with initialisation of elements. | |
| vbl_bit_array_3d (vbl_bit_array_3d const &) | |
| Copy constructor. | |
| ~vbl_bit_array_3d () | |
| vbl_bit_array_3d & | operator= (vbl_bit_array_3d const &) |
| Assignment operator. | |
| bool | operator== (vbl_bit_array_3d const &a) const |
| Comparison. | |
| bool | operator!= (vbl_bit_array_3d const &a) const |
| void | fill (bool v) |
| Set all cell values to v. | |
| void | resize (unsigned int m, unsigned int n, unsigned int p) |
| Delete contents and resize to m rows x n cols x p layers. | |
| void | clear () |
| make as if default-constructed. | |
| void | put (unsigned int i1, unsigned int i2, unsigned int i3, bool v) |
| Set the value of a cell. | |
| void | set (unsigned int i1, unsigned int i2, unsigned int i3, bool v=true) |
| Set the value of a cell; default is to set the value on. | |
| bool | get (unsigned int i1, unsigned int i2, unsigned int i3) const |
| Return the value of a cell. | |
| void | flip (unsigned int i1, unsigned int i2, unsigned int i3) |
| Change the value of a cell. | |
| bool | operator() (unsigned int i1, unsigned int i2, unsigned int i3) const |
| Return the value of a cell. | |
| unsigned int | row1_count () const |
| unsigned int | row2_count () const |
| unsigned int | row3_count () const |
| unsigned long | size () const |
| Number of bytes allocated by the data. | |
Private Member Functions | |
| void | destruct () |
| void | construct (unsigned int m, unsigned int n, unsigned int p) |
| void | index (unsigned int x, unsigned int y, unsigned int z, unsigned long &byteindex, unsigned char &bitindex) const |
Private Attributes | |
| unsigned int | row1_count_ |
| unsigned int | row2_count_ |
| unsigned int | row3_count_ |
| unsigned char * | data_ |
|
||||||||||||||||
|
Create a bitarray of the specified size, without initialising elements.
Definition at line 29 of file vbl_bit_array_3d.h. |
|
||||||||||||||||||||
|
Create a bitarray of the specified size, with initialisation of elements.
Definition at line 33 of file vbl_bit_array_3d.h. |
|
||||||||||||||||||||
|
Create a bitarray of the specified size, with initialisation of elements.
Definition at line 111 of file vbl_bit_array_3d.cxx. |
|
|
Copy constructor.
Definition at line 101 of file vbl_bit_array_3d.cxx. |
|
|
Definition at line 40 of file vbl_bit_array_3d.h. |
|
|
make as if default-constructed.
Definition at line 59 of file vbl_bit_array_3d.h. |
|
||||||||||||||||
|
Definition at line 91 of file vbl_bit_array_3d.cxx. |
|
|
Definition at line 93 of file vbl_bit_array_3d.h. |
|
|
Set all cell values to v.
Definition at line 45 of file vbl_bit_array_3d.cxx. |
|
||||||||||||||||
|
Change the value of a cell.
Definition at line 32 of file vbl_bit_array_3d.cxx. |
|
||||||||||||||||
|
Return the value of a cell.
|
|
||||||||||||||||||||||||
|
|
|
|
Definition at line 48 of file vbl_bit_array_3d.h. |
|
||||||||||||||||
|
Return the value of a cell.
Definition at line 51 of file vbl_bit_array_3d.cxx. |
|
|
Assignment operator.
Definition at line 121 of file vbl_bit_array_3d.cxx. |
|
|
Comparison.
Definition at line 132 of file vbl_bit_array_3d.cxx. |
|
||||||||||||||||||||
|
Set the value of a cell.
Definition at line 19 of file vbl_bit_array_3d.cxx. |
|
||||||||||||||||
|
Delete contents and resize to m rows x n cols x p layers.
Definition at line 56 of file vbl_bit_array_3d.h. |
|
|
Definition at line 77 of file vbl_bit_array_3d.h. |
|
|
Definition at line 78 of file vbl_bit_array_3d.h. |
|
|
Definition at line 79 of file vbl_bit_array_3d.h. |
|
||||||||||||||||||||
|
Set the value of a cell; default is to set the value on.
Definition at line 65 of file vbl_bit_array_3d.h. |
|
|
Number of bytes allocated by the data.
Definition at line 141 of file vbl_bit_array_3d.cxx. |
|
|
Definition at line 89 of file vbl_bit_array_3d.h. |
|
|
Definition at line 86 of file vbl_bit_array_3d.h. |
|
|
Definition at line 87 of file vbl_bit_array_3d.h. |
|
|
Definition at line 88 of file vbl_bit_array_3d.h. |
1.4.4