GlobeEngine
geData::TriangleArray< D, T > Class Template Reference

#include <ArrayTriangle.h>

Public Member Functions

 TriangleArray ()
 
 TriangleArray (int _triangleCount, const T *_data)
 
 ~TriangleArray ()
 
void create (int _triangleCount)
 
void setAt (int _idx, const T _data)
 
void setRangeArray (int _startIndex, int _pointCount, const T *_data)
 
void setArray (int _triangleCount, const T *_data)
 
const T * getArray ()
 
const int getTriangleCount ()
 

Protected Attributes

int triangleCount
 
T * data
 

Friends

std::ostream & operator<< (std::ostream &out, const TriangleArray< D, T > &triangle)
 

Constructor & Destructor Documentation

template<int D, class T >
geData::TriangleArray< D, T >::TriangleArray ( )
inline
template<int D, class T >
geData::TriangleArray< D, T >::TriangleArray ( int  _triangleCount,
const T *  _data 
)
inline
template<int D, class T >
geData::TriangleArray< D, T >::~TriangleArray ( )
inline

Member Function Documentation

template<int D, class T >
void geData::TriangleArray< D, T >::create ( int  _triangleCount)
inline
template<int D, class T >
const T* geData::TriangleArray< D, T >::getArray ( )
inline
template<int D, class T >
const int geData::TriangleArray< D, T >::getTriangleCount ( )
inline
template<int D, class T >
void geData::TriangleArray< D, T >::setArray ( int  _triangleCount,
const T *  _data 
)
inline
template<int D, class T >
void geData::TriangleArray< D, T >::setAt ( int  _idx,
const T  _data 
)
inline
template<int D, class T >
void geData::TriangleArray< D, T >::setRangeArray ( int  _startIndex,
int  _pointCount,
const T *  _data 
)
inline

Friends And Related Function Documentation

template<int D, class T >
std::ostream& operator<< ( std::ostream &  out,
const TriangleArray< D, T > &  triangle 
)
friend

Member Data Documentation

template<int D, class T >
T* geData::TriangleArray< D, T >::data
protected
template<int D, class T >
int geData::TriangleArray< D, T >::triangleCount
protected

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