#include <vbl_array_3d.h>
Definition at line 37 of file vbl_array_3d.h.
Public Types | |
| typedef T | element_type |
| typedef T * | iterator |
| typedef T const * | const_iterator |
Public Member Functions | |
| vbl_array_3d () | |
| vbl_array_3d (int n1, int n2, int n3) | |
| vbl_array_3d (int n1, int n2, int n3, T const *init_values) | |
| vbl_array_3d (int n1, int n2, int n3, T const &fill_value) | |
| vbl_array_3d (vbl_array_3d< T > const &that) | |
| ~vbl_array_3d () | |
| vbl_array_3d< T > & | operator= (vbl_array_3d< T > const &that) |
| bool | operator== (vbl_array_3d< T > const &that) const |
| Comparison. | |
| T & | operator() (unsigned i1, unsigned i2, unsigned i3) |
| T const & | operator() (unsigned i1, unsigned i2, unsigned i3) const |
| T *const * | operator[] (unsigned i1) |
| T const *const * | operator[] (unsigned i1) const |
| int | get_row1_count () const |
| int | get_row2_count () const |
| int | get_row3_count () const |
| unsigned | size () const |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| T * | data_block () |
| T const * | data_block () const |
| void | resize (int n1, int n2, int n3) |
| void | set (T const *array) |
| Fill from static array of Ts. | |
| void | get (T *array) const |
| Get into array. | |
| void | fill (T const &value) |
| Fill with constant. | |
Protected Member Functions | |
| void | construct (int, int, int) |
| Constructor utility. | |
| void | destruct () |
Private Attributes | |
| T *** | element_ |
| int | row1_count_ |
| int | row2_count_ |
| int | row3_count_ |
|
|||||
|
Definition at line 42 of file vbl_array_3d.h. |
|
|||||
|
Definition at line 40 of file vbl_array_3d.h. |
|
|||||
|
Definition at line 41 of file vbl_array_3d.h. |
|
|||||||||
|
Definition at line 44 of file vbl_array_3d.h. |
|
||||||||||||||||||||
|
Definition at line 47 of file vbl_array_3d.h. |
|
||||||||||||||||||||||||
|
Definition at line 49 of file vbl_array_3d.h. |
|
||||||||||||||||||||||||
|
Definition at line 54 of file vbl_array_3d.h. |
|
||||||||||
|
Definition at line 59 of file vbl_array_3d.h. |
|
|||||||||
|
Definition at line 68 of file vbl_array_3d.h. |
|
|||||||||
|
Definition at line 122 of file vbl_array_3d.h. |
|
|||||||||
|
Definition at line 120 of file vbl_array_3d.h. |
|
||||||||||||||||||||
|
Constructor utility. This allocates a 3D array which can be referenced using the form myarray[a][b][c]. Useful in C although maybe superfluous here as access is via a get function anyway. Definition at line 21 of file vbl_array_3d.txx. |
|
|||||||||
|
Definition at line 127 of file vbl_array_3d.h. |
|
|||||||||
|
Definition at line 126 of file vbl_array_3d.h. |
|
|||||||||
|
Definition at line 58 of file vbl_array_3d.txx. |
|
|||||||||
|
Definition at line 123 of file vbl_array_3d.h. |
|
|||||||||
|
Definition at line 121 of file vbl_array_3d.h. |
|
||||||||||
|
Fill with constant.
Definition at line 105 of file vbl_array_3d.txx. |
|
||||||||||
|
Get into array.
Definition at line 95 of file vbl_array_3d.txx. |
|
|||||||||
|
Definition at line 110 of file vbl_array_3d.h. |
|
|||||||||
|
Definition at line 111 of file vbl_array_3d.h. |
|
|||||||||
|
Definition at line 112 of file vbl_array_3d.h. |
|
||||||||||||||||||||
|
Definition at line 100 of file vbl_array_3d.h. |
|
||||||||||||||||||||
|
Definition at line 94 of file vbl_array_3d.h. |
|
||||||||||
|
Definition at line 69 of file vbl_array_3d.h. |
|
||||||||||
|
Comparison.
Definition at line 76 of file vbl_array_3d.h. |
|
||||||||||
|
Definition at line 107 of file vbl_array_3d.h. |
|
||||||||||
|
Definition at line 106 of file vbl_array_3d.h. |
|
||||||||||||||||||||
|
Definition at line 73 of file vbl_array_3d.txx. |
|
||||||||||
|
Fill from static array of Ts. The final index fills fastest, so if we consider the tensor as a set of matrices (M[i])[j][k] then the matrices are filled in the usual C order. Definition at line 85 of file vbl_array_3d.txx. |
|
|||||||||
|
Definition at line 115 of file vbl_array_3d.h. |
|
|||||
|
Definition at line 139 of file vbl_array_3d.h. |
|
|||||
|
Definition at line 140 of file vbl_array_3d.h. |
|
|||||
|
Definition at line 141 of file vbl_array_3d.h. |
|
|||||
|
Definition at line 142 of file vbl_array_3d.h. |
1.4.4