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

#include <ArrayTriangle.h>

Public Member Functions

 ArrayTriangle ()
 
 ArrayTriangle (const T *_data)
 
 ~ArrayTriangle ()
 
void setArray (const T *_data)
 
const T * getArray ()
 

Protected Attributes

data [3 *D]
 

Friends

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

Detailed Description

template<int D, class T>
class geData::ArrayTriangle< D, T >

This class is used for triangle data which is supposed to be copied by triangle. The information is not stored by vertex objects, it is stored by vertex components and therefore one triangle can be copied as a whole array.

Constructor & Destructor Documentation

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

Member Function Documentation

template<int D, class T>
const T* geData::ArrayTriangle< D, T >::getArray ( )
inline
template<int D, class T>
void geData::ArrayTriangle< D, T >::setArray ( const T *  _data)
inline

Friends And Related Function Documentation

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

Member Data Documentation

template<int D, class T>
T geData::ArrayTriangle< D, T >::data[3 *D]
protected

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