![]() |
OpenNI 2.0
|
#include <OpenNI.h>
Public Member Functions | |
Array () | |
Array (const T *data, int count) | |
~Array () | |
int | getSize () const |
const T & | operator[] (int index) const |
Provides a simple array class used throughout the API. Wraps a primitive array of objects, holding the elements and their count.
openni::Array< T >::Array | ( | ) | [inline] |
Default constructor. Creates an empty Array and sets the element count to zero.
openni::Array< T >::Array | ( | const T * | data, |
int | count | ||
) | [inline] |
openni::Array< T >::~Array | ( | ) | [inline] |
Destructor. Destroys the Array object.
int openni::Array< T >::getSize | ( | ) | const [inline] |
const T& openni::Array< T >::operator[] | ( | int | index | ) | const [inline] |
Implements the array indexing operator for the Array class.