Essentia
2.1-beta6-dev
|
#include <tnt_array3d.h>
Public Types | |
typedef T | value_type |
Public Member Functions | |
Array3D () | |
Array3D (int m, int n, int g) | |
Array3D (int m, int n, int g, T val) | |
Array3D (int m, int n, int g, T *a) | |
operator T*** () | |
operator const T *** () | |
Array3D (const Array3D &A) | |
Array3D & | operator= (const T &a) |
Array3D & | operator= (const Array3D &A) |
Array3D & | ref (const Array3D &A) |
Array3D | copy () const |
Array3D & | inject (const Array3D &A) |
T ** | operator[] (int i) |
const T *const * | operator[] (int i) const |
int | dim1 () const |
int | dim2 () const |
int | dim3 () const |
~Array3D () | |
int | ref_count () |
Array3D | subarray (int i0, int i1, int j0, int j1, int k0, int k1) |
Private Attributes | |
Array1D< T > | data_ |
Array2D< T * > | v_ |
int | m_ |
int | n_ |
int | g_ |
typedef T value_type |
Array3D | ( | int | m, |
int | n, | ||
int | g | ||
) |
References Array3D< T >::data_, Array3D< T >::g_, Array3D< T >::m_, Array3D< T >::n_, and Array3D< T >::v_.
Array3D | ( | int | m, |
int | n, | ||
int | g, | ||
T | val | ||
) |
References Array3D< T >::data_, Array3D< T >::g_, Array3D< T >::m_, Array3D< T >::n_, and Array3D< T >::v_.
Array3D | ( | int | m, |
int | n, | ||
int | g, | ||
T * | a | ||
) |
References Array3D< T >::data_, Array3D< T >::g_, Array3D< T >::m_, Array3D< T >::n_, and Array3D< T >::v_.
Array3D< T > copy |
References Array3D< T >::v_.
|
inline |
|
inline |
|
inline |
References Array3D< T >::g_, Array3D< T >::m_, Array3D< T >::n_, and Array3D< T >::v_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References Array3D< T >::data_, Array3D< T >::g_, Array3D< T >::m_, Array3D< T >::n_, and Array3D< T >::v_.
|
inline |
References Array3D< T >::data_.
Array3D< T > subarray | ( | int | i0, |
int | i1, | ||
int | j0, | ||
int | j1, | ||
int | k0, | ||
int | k1 | ||
) |
References Array3D< T >::data_, Array3D< T >::g_, Array3D< T >::m_, Array3D< T >::n_, and Array3D< T >::v_.
|
private |
Referenced by Array3D< T >::Array3D(), Array3D< T >::ref(), Array3D< T >::ref_count(), and Array3D< T >::subarray().
|
private |
Referenced by Array3D< T >::Array3D(), Array3D< T >::inject(), Array3D< T >::ref(), and Array3D< T >::subarray().
|
private |
Referenced by Array3D< T >::Array3D(), Array3D< T >::inject(), Array3D< T >::ref(), and Array3D< T >::subarray().
|
private |
Referenced by Array3D< T >::Array3D(), Array3D< T >::inject(), Array3D< T >::ref(), and Array3D< T >::subarray().
|
private |
Referenced by Array3D< T >::Array3D(), Array3D< T >::copy(), Array3D< T >::inject(), Array3D< T >::ref(), and Array3D< T >::subarray().