Essentia  2.1-beta5-dev
Array3D< T > Class Template Reference

#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)
 
Array3Doperator= (const T &a)
 
Array3Doperator= (const Array3D &A)
 
Array3Dref (const Array3D &A)
 
Array3D copy () const
 
Array3Dinject (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_
 

Member Typedef Documentation

◆ value_type

typedef T value_type

Constructor & Destructor Documentation

◆ Array3D() [1/5]

◆ Array3D() [2/5]

◆ Array3D() [3/5]

Array3D ( int  m,
int  n,
int  g,
val 
)

◆ Array3D() [4/5]

Array3D ( int  m,
int  n,
int  g,
T *  a 
)

◆ Array3D() [5/5]

Array3D ( const Array3D< T > &  A)
inline

◆ ~Array3D()

~Array3D ( )

Member Function Documentation

◆ copy()

◆ dim1()

◆ dim2()

◆ dim3()

◆ inject()

Array3D< T > & inject ( const Array3D< T > &  A)

◆ operator const T ***()

operator const T *** ( )
inline

References Array3D< T >::v_.

◆ operator T***()

operator T*** ( )
inline

References Array3D< T >::v_.

◆ operator=() [1/2]

Array3D< T > & operator= ( const T &  a)
inline

◆ operator=() [2/2]

Array3D& operator= ( const Array3D< T > &  A)
inline

◆ operator[]() [1/2]

T ** operator[] ( int  i)
inline

◆ operator[]() [2/2]

const T *const * operator[] ( int  i) const
inline

References Array3D< T >::v_.

◆ ref()

◆ ref_count()

int ref_count ( )
inline

◆ subarray()

Array3D< T > subarray ( int  i0,
int  i1,
int  j0,
int  j1,
int  k0,
int  k1 
)

Member Data Documentation

◆ data_

◆ g_

◆ m_

◆ n_

◆ v_


The documentation for this class was generated from the following file: