Main Page   Namespace List   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

ExCMesh Class Reference

#include <ExCMesh.h>


Public Methods

 ExCMesh (void)
 ExCMesh (ExCVertex a, ExCVertex b, ExCVertex c)
 ~ExCMesh (void)
void Affich (void)
void SetMaterial (const char *Material)
void SetVertex (ExCVertex a, ExCVertex b, ExCVertex c)
char * GetMaterial (void)
int GetMeshNumber (void)
int GetSmoothing (void)
int GetAB (void)
int GetBC (void)
int GetCA (void)
void SetVertexA (ExCVertex a)
void SetVertexB (ExCVertex b)
void SetVertexC (ExCVertex c)

Data Fields

ExCVertex A
ExCVertex B
ExCVertex C
int m_AB
int m_BC
int m_CA
int m_Smoothing
char * m_Material
int m_MeshNumber


Constructor & Destructor Documentation

ExCMesh void   
 

Definition at line 26 of file ExCMesh.cpp.

References m_AB, m_BC, m_CA, m_Material, m_MeshNumber, and m_Smoothing.

00027 {
00028         m_AB=0;
00029         m_BC=0;
00030         m_CA=0;
00031         m_Smoothing=0;
00032         m_Material = new char[strlen("NONE")];
00033         sprintf(m_Material,"NONE");
00034         m_MeshNumber=0;
00035 }

ExCMesh ExCVertex    a,
ExCVertex    b,
ExCVertex    c
 

Definition at line 37 of file ExCMesh.cpp.

References SetVertex().

00038 {
00039         SetVertex(a,b,c);
00040 }

~ExCMesh void   
 

Definition at line 42 of file ExCMesh.cpp.

00043 {
00044 
00045 }


Member Function Documentation

void Affich void   
 

Definition at line 64 of file ExCMesh.cpp.

References m_AB, m_BC, m_CA, m_Material, m_MeshNumber, and m_Smoothing.

00065 {
00066         std::cout<<"Mesh "<<m_MeshNumber<<":   AB :"<<m_AB<<" BC:"<<m_BC<<" CA:"<<m_CA<<std::endl;
00067         std::cout<<"Material:"<<m_Material<<std::endl;
00068         std::cout<<"Smoothing:"<<m_Smoothing<<std::endl;
00069 }

int GetAB void    [inline]
 

Definition at line 63 of file ExCMesh.h.

References m_AB.

00063 {return m_AB;}

int GetBC void    [inline]
 

Definition at line 64 of file ExCMesh.h.

References m_BC.

00064 {return m_BC;}

int GetCA void    [inline]
 

Definition at line 65 of file ExCMesh.h.

References m_CA.

00065 {return m_CA;}

char* GetMaterial void    [inline]
 

Definition at line 60 of file ExCMesh.h.

References m_Material.

00060 {return m_Material;}

int GetMeshNumber void    [inline]
 

Definition at line 61 of file ExCMesh.h.

References m_MeshNumber.

00061 {return m_MeshNumber;}

int GetSmoothing void    [inline]
 

Definition at line 62 of file ExCMesh.h.

References m_Smoothing.

00062 {return  m_Smoothing;};

void SetMaterial const char *    Material
 

Definition at line 47 of file ExCMesh.cpp.

References Guard, m_Material, SetMaterial(), and UnGuard.

Referenced by ExCEntite::LoadAsc(), ExCComposed::LoadAsc(), ExCMap::LoadMap(), and SetMaterial().

00048 {
00049 Guard(void ExCMesh::SetMaterial(char *Material));
00050         m_Material = new char[strlen(Material)];
00051         sprintf(m_Material,Material);
00052 UnGuard
00053 }

void SetVertex ExCVertex    a,
ExCVertex    b,
ExCVertex    c
 

Definition at line 55 of file ExCMesh.cpp.

References A, B, C, Guard, SetVertex(), and UnGuard.

Referenced by ExCMesh(), and SetVertex().

00056 {
00057 Guard(void ExCMesh::SetVertex(ExCVertex  a,ExCVertex  b,ExCVertex  c))
00058         A=a;
00059         B=b;
00060         C=c;
00061 UnGuard
00062 }

void SetVertexA ExCVertex    a [inline]
 

Definition at line 66 of file ExCMesh.h.

00066 {A=a;}

void SetVertexB ExCVertex    b [inline]
 

Definition at line 67 of file ExCMesh.h.

00067 {B=b;}

void SetVertexC ExCVertex    c [inline]
 

Definition at line 68 of file ExCMesh.h.

00068 {C=c;}


Field Documentation

ExCVertex A
 

Definition at line 38 of file ExCMesh.h.

Referenced by ExCEntite::LoadAsc(), ExCComposed::LoadAsc(), ExCMap::LoadMap(), ExCOctree::MeshInOctree(), and SetVertex().

ExCVertex B
 

Definition at line 39 of file ExCMesh.h.

Referenced by ExCEntite::LoadAsc(), ExCComposed::LoadAsc(), ExCMap::LoadMap(), ExCOctree::MeshInOctree(), and SetVertex().

ExCVertex C
 

Definition at line 40 of file ExCMesh.h.

Referenced by ExCEntite::LoadAsc(), ExCComposed::LoadAsc(), ExCMap::LoadMap(), ExCOctree::MeshInOctree(), and SetVertex().

int m_AB
 

Definition at line 41 of file ExCMesh.h.

Referenced by Affich(), ExCMesh(), GetAB(), ExCEntite::LoadAsc(), ExCComposed::LoadAsc(), and ExCMap::LoadMap().

int m_BC
 

Definition at line 42 of file ExCMesh.h.

Referenced by Affich(), ExCMesh(), GetBC(), ExCEntite::LoadAsc(), ExCComposed::LoadAsc(), and ExCMap::LoadMap().

int m_CA
 

Definition at line 43 of file ExCMesh.h.

Referenced by Affich(), ExCMesh(), GetCA(), ExCEntite::LoadAsc(), ExCComposed::LoadAsc(), and ExCMap::LoadMap().

char* m_Material
 

Definition at line 45 of file ExCMesh.h.

Referenced by Affich(), ExCMesh(), GetMaterial(), and SetMaterial().

int m_MeshNumber
 

Definition at line 46 of file ExCMesh.h.

Referenced by Affich(), ExCMesh(), GetMeshNumber(), ExCEntite::LoadAsc(), ExCComposed::LoadAsc(), and ExCMap::LoadMap().

int m_Smoothing
 

Definition at line 44 of file ExCMesh.h.

Referenced by Affich(), ExCMesh(), GetSmoothing(), ExCEntite::LoadAsc(), ExCComposed::LoadAsc(), and ExCMap::LoadMap().


The documentation for this class was generated from the following files:
Generated on Tue Aug 6 20:27:21 2002 for ExNihilo by doxygen1.2.17