1 |
francois |
222 |
//---------------------------------------------------------------------------
|
2 |
|
|
|
3 |
|
|
#ifndef lissageH
|
4 |
|
|
#define lissageH
|
5 |
|
|
|
6 |
|
|
#ifdef WINDOWS_VERSION
|
7 |
|
|
#ifdef BUILT_DLL_OPTIMISATION
|
8 |
|
|
#define DLLPORTOPTIMISATION __declspec(dllexport)
|
9 |
|
|
#else
|
10 |
|
|
#define DLLPORTOPTIMISATION __declspec(dllimport)
|
11 |
|
|
#endif
|
12 |
|
|
#else
|
13 |
|
|
#define DLLPORTOPTIMISATION
|
14 |
|
|
#endif
|
15 |
|
|
|
16 |
francois |
224 |
#include <vector>
|
17 |
|
|
#include <tpl_map_entite.h>
|
18 |
francois |
222 |
|
19 |
|
|
class DLLPORTOPTIMISATION MG_LISSAGE
|
20 |
|
|
{
|
21 |
|
|
public :
|
22 |
|
|
MG_LISSAGE();
|
23 |
|
|
~MG_LISSAGE();
|
24 |
|
|
|
25 |
|
|
void extract_skin(class FEM_MAILLAGE* mai,class MG_GESTIONNAIRE& gest2);
|
26 |
francois |
224 |
void conserve(int origine);
|
27 |
francois |
222 |
|
28 |
francois |
224 |
private:
|
29 |
|
|
class MG_TRIANGLE_PEAU* insere_triangle(class MG_ELEMENT_TOPOLOGIQUE* topo,class MG_NOEUD *mgnoeud1,class MG_NOEUD *mgnoeud2,class MG_NOEUD *mgnoeud3,class MG_MAILLAGE* mg_maillage,int origine);
|
30 |
|
|
MG_TRIANGLE_PEAU* recherche_voisin(MG_NOEUD* mg_noeud1,MG_NOEUD* mg_noeud2,MG_TRIANGLE_PEAU* triref);
|
31 |
|
|
void determine_peau(std::vector<MG_TRIANGLE_PEAU*> * peau);
|
32 |
|
|
double calcul_angle(MG_TRIANGLE_PEAU* ft1,MG_TRIANGLE_PEAU* ft2);
|
33 |
|
|
std::vector<std::vector<MG_TRIANGLE_PEAU*> *> lst_peau;
|
34 |
francois |
222 |
|
35 |
francois |
224 |
int etat[10];
|
36 |
francois |
222 |
};
|
37 |
|
|
|
38 |
|
|
//---------------------------------------------------------------------------
|
39 |
|
|
#endif
|