#include <glh_array.h>
Public Types | |
typedef T | value_type |
Public Member Functions | |
array3 (int width=1, int height=1, int depth=1) | |
array3 (const array3< T > &t) | |
void | clear (const T &val) |
void | copy (const array3< T > &src, int i_offset=0, int j_offset=0, int k_offset=0, int width=0, int height=0, int depth=0) |
int | get_depth () const |
int | get_height () const |
T * | get_pointer () |
const T * | get_pointer () const |
int | get_width () const |
T & | operator() (int i, int j, int k) |
const T & | operator() (int i, int j, int k) const |
const array3 & | operator= (const array3< T > &t) |
void | set_size (int width, int height, int depth) |
~array3 () | |
Private Attributes | |
int | d |
T * | data |
int | h |
int | w |
Definition at line 161 of file glh_array.h.
typedef T glh::array3< T >::value_type |
Definition at line 164 of file glh_array.h.
glh::array3< T >::array3 | ( | int | width = 1 , |
int | height = 1 , |
||
int | depth = 1 |
||
) | [inline] |
Definition at line 166 of file glh_array.h.
glh::array3< T >::array3 | ( | const array3< T > & | t | ) | [inline] |
Definition at line 175 of file glh_array.h.
glh::array3< T >::~array3 | ( | ) | [inline] |
Definition at line 183 of file glh_array.h.
void glh::array3< T >::clear | ( | const T & | val | ) | [inline] |
Definition at line 228 of file glh_array.h.
void glh::array3< T >::copy | ( | const array3< T > & | src, |
int | i_offset = 0 , |
||
int | j_offset = 0 , |
||
int | k_offset = 0 , |
||
int | width = 0 , |
||
int | height = 0 , |
||
int | depth = 0 |
||
) | [inline] |
Definition at line 236 of file glh_array.h.
int glh::array3< T >::get_depth | ( | ) | const [inline] |
Definition at line 225 of file glh_array.h.
int glh::array3< T >::get_height | ( | ) | const [inline] |
Definition at line 222 of file glh_array.h.
T* glh::array3< T >::get_pointer | ( | ) | [inline] |
Definition at line 263 of file glh_array.h.
const T* glh::array3< T >::get_pointer | ( | ) | const [inline] |
Definition at line 266 of file glh_array.h.
int glh::array3< T >::get_width | ( | ) | const [inline] |
Definition at line 219 of file glh_array.h.
T& glh::array3< T >::operator() | ( | int | i, |
int | j, | ||
int | k | ||
) | [inline] |
Definition at line 212 of file glh_array.h.
const T& glh::array3< T >::operator() | ( | int | i, |
int | j, | ||
int | k | ||
) | const [inline] |
Definition at line 215 of file glh_array.h.
const array3& glh::array3< T >::operator= | ( | const array3< T > & | t | ) | [inline] |
Definition at line 185 of file glh_array.h.
Definition at line 196 of file glh_array.h.
int glh::array3< T >::d [private] |
Definition at line 270 of file glh_array.h.
T* glh::array3< T >::data [private] |
Definition at line 271 of file glh_array.h.
int glh::array3< T >::h [private] |
Definition at line 270 of file glh_array.h.
int glh::array3< T >::w [private] |
Definition at line 270 of file glh_array.h.