Public Types | Public Member Functions | Private Attributes
glh::array3< T > Class Template Reference

#include <glh_array.h>

List of all members.

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 array3operator= (const array3< T > &t)
void set_size (int width, int height, int depth)
 ~array3 ()

Private Attributes

int d
T * data
int h
int w

Detailed Description

template<class T>
class glh::array3< T >

Definition at line 161 of file glh_array.h.


Member Typedef Documentation

template<class T>
typedef T glh::array3< T >::value_type

Definition at line 164 of file glh_array.h.


Constructor & Destructor Documentation

template<class T>
glh::array3< T >::array3 ( int  width = 1,
int  height = 1,
int  depth = 1 
) [inline]

Definition at line 166 of file glh_array.h.

template<class T>
glh::array3< T >::array3 ( const array3< T > &  t) [inline]

Definition at line 175 of file glh_array.h.

template<class T>
glh::array3< T >::~array3 ( ) [inline]

Definition at line 183 of file glh_array.h.


Member Function Documentation

template<class T>
void glh::array3< T >::clear ( const T &  val) [inline]

Definition at line 228 of file glh_array.h.

template<class T>
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.

template<class T>
int glh::array3< T >::get_depth ( ) const [inline]

Definition at line 225 of file glh_array.h.

template<class T>
int glh::array3< T >::get_height ( ) const [inline]

Definition at line 222 of file glh_array.h.

template<class T>
T* glh::array3< T >::get_pointer ( ) [inline]

Definition at line 263 of file glh_array.h.

template<class T>
const T* glh::array3< T >::get_pointer ( ) const [inline]

Definition at line 266 of file glh_array.h.

template<class T>
int glh::array3< T >::get_width ( ) const [inline]

Definition at line 219 of file glh_array.h.

template<class T>
T& glh::array3< T >::operator() ( int  i,
int  j,
int  k 
) [inline]

Definition at line 212 of file glh_array.h.

template<class T>
const T& glh::array3< T >::operator() ( int  i,
int  j,
int  k 
) const [inline]

Definition at line 215 of file glh_array.h.

template<class T>
const array3& glh::array3< T >::operator= ( const array3< T > &  t) [inline]

Definition at line 185 of file glh_array.h.

template<class T>
void glh::array3< T >::set_size ( int  width,
int  height,
int  depth 
) [inline]

Definition at line 196 of file glh_array.h.


Member Data Documentation

template<class T>
int glh::array3< T >::d [private]

Definition at line 270 of file glh_array.h.

template<class T>
T* glh::array3< T >::data [private]

Definition at line 271 of file glh_array.h.

template<class T>
int glh::array3< T >::h [private]

Definition at line 270 of file glh_array.h.

template<class T>
int glh::array3< T >::w [private]

Definition at line 270 of file glh_array.h.


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


nao_openni
Author(s): Bener SUAY
autogenerated on Mon Jan 6 2014 11:27:52