TexGen
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
TexGen::CMeshData< T > Class Template Reference

#include <MeshData.h>

Inheritance diagram for TexGen::CMeshData< T >:
Inheritance graph
[legend]

Public Types

enum  DATA_TYPE { NODE , ELEMENT }
 

Public Member Functions

 CMeshData (string Name, DATA_TYPE Type)
 
void InsertVTKData (TiXmlElement &Parent) const
 
ostream & WriteVTKDataElement (ostream &output, T Element) const
 
ostream & WriteVTKDataElement (ostream &output, char Element) const
 
ostream & WriteVTKDataElement (ostream &output, unsigned char Element) const
 
string GetVTKDataType ()
 
string GetVTKDataType ()
 
string GetVTKDataType ()
 XYZ. More...
 
int GetNumberOfComponents ()
 
ostream & WriteVTKDataElement (ostream &output, XYZ Element) const
 
string GetVTKDataType ()
 XY. More...
 
int GetNumberOfComponents ()
 
ostream & WriteVTKDataElement (ostream &output, XY Element) const
 

Static Public Member Functions

static string GetVTKDataType ()
 
static int GetNumberOfComponents ()
 

Public Attributes

vector< T > m_Data
 
string m_Name
 
DATA_TYPE m_DataType
 

Detailed Description

template<typename T>
class TexGen::CMeshData< T >

Definition at line 44 of file MeshData.h.

Member Enumeration Documentation

◆ DATA_TYPE

Enumerator
NODE 
ELEMENT 

Definition at line 29 of file MeshData.h.

Constructor & Destructor Documentation

◆ CMeshData()

template<typename T >
TexGen::CMeshData< T >::CMeshData ( string  Name,
DATA_TYPE  Type 
)
inline

Definition at line 47 of file MeshData.h.

Member Function Documentation

◆ GetNumberOfComponents() [1/3]

template<typename T >
static int TexGen::CMeshData< T >::GetNumberOfComponents ( )
inlinestatic

Definition at line 77 of file MeshData.h.

◆ GetNumberOfComponents() [2/3]

int TexGen::CMeshData< XYZ >::GetNumberOfComponents ( )
inline

Definition at line 133 of file MeshData.h.

◆ GetNumberOfComponents() [3/3]

int TexGen::CMeshData< XY >::GetNumberOfComponents ( )
inline

Definition at line 151 of file MeshData.h.

◆ GetVTKDataType() [1/5]

template<typename T >
static string TexGen::CMeshData< T >::GetVTKDataType ( )
inlinestatic

Definition at line 71 of file MeshData.h.

Referenced by TexGen::CMeshData< T >::GetVTKDataType().

◆ GetVTKDataType() [2/5]

string TexGen::CMeshData< float >::GetVTKDataType ( )
inline

Definition at line 119 of file MeshData.h.

References TexGen::stringify().

◆ GetVTKDataType() [3/5]

string TexGen::CMeshData< double >::GetVTKDataType ( )
inline

Definition at line 120 of file MeshData.h.

References TexGen::stringify().

◆ GetVTKDataType() [4/5]

string TexGen::CMeshData< XYZ >::GetVTKDataType ( )
inline

XYZ.

Definition at line 128 of file MeshData.h.

References TexGen::CMeshData< T >::GetVTKDataType().

◆ GetVTKDataType() [5/5]

string TexGen::CMeshData< XY >::GetVTKDataType ( )
inline

XY.

Definition at line 146 of file MeshData.h.

References TexGen::CMeshData< T >::GetVTKDataType().

◆ InsertVTKData()

template<typename T >
void TexGen::CMeshData< T >::InsertVTKData ( TiXmlElement &  Parent) const
inlinevirtual

Implements TexGen::CMeshDataBase.

Definition at line 49 of file MeshData.h.

◆ WriteVTKDataElement() [1/5]

ostream & TexGen::CMeshData< char >::WriteVTKDataElement ( ostream &  output,
char  Element 
) const
inline

Definition at line 92 of file MeshData.h.

◆ WriteVTKDataElement() [2/5]

template<typename T >
ostream & TexGen::CMeshData< T >::WriteVTKDataElement ( ostream &  output,
Element 
) const
inline

Definition at line 81 of file MeshData.h.

◆ WriteVTKDataElement() [3/5]

ostream & TexGen::CMeshData< unsignedchar >::WriteVTKDataElement ( ostream &  output,
unsigned char  Element 
) const
inline

Definition at line 98 of file MeshData.h.

◆ WriteVTKDataElement() [4/5]

ostream & TexGen::CMeshData< XY >::WriteVTKDataElement ( ostream &  output,
XY  Element 
) const
inline

Definition at line 156 of file MeshData.h.

References TexGen::XY::x, and TexGen::XY::y.

◆ WriteVTKDataElement() [5/5]

ostream & TexGen::CMeshData< XYZ >::WriteVTKDataElement ( ostream &  output,
XYZ  Element 
) const
inline

Definition at line 138 of file MeshData.h.

References TexGen::XYZ::x, TexGen::XYZ::y, and TexGen::XYZ::z.

Member Data Documentation

◆ m_Data

template<typename T >
vector<T> TexGen::CMeshData< T >::m_Data

◆ m_DataType

DATA_TYPE TexGen::CMeshDataBase::m_DataType
inherited

Definition at line 40 of file MeshData.h.

◆ m_Name

string TexGen::CMeshDataBase::m_Name
inherited

Definition at line 39 of file MeshData.h.


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