1 |
|
5 |
//------------------------------------------------------------
|
2 |
|
|
//------------------------------------------------------------
|
3 |
|
|
// MAGiC
|
4 |
|
|
// Jean Christophe Cuillière et Vincent FRANCOIS
|
5 |
|
|
// Département de Génie Mécanique - UQTR
|
6 |
|
|
//------------------------------------------------------------
|
7 |
|
|
// Le projet MAGIC est un projet de recherche du département
|
8 |
|
|
// de génie mécanique de l'Université du Québec à
|
9 |
|
|
// Trois Rivières
|
10 |
|
|
// Les librairies ne peuvent être utilisées sans l'accord
|
11 |
|
|
// des auteurs (contact : francois@uqtr.ca)
|
12 |
|
|
//------------------------------------------------------------
|
13 |
|
|
//------------------------------------------------------------
|
14 |
|
|
//
|
15 |
|
|
// sat_gestionnaire.h
|
16 |
|
|
//
|
17 |
|
|
//------------------------------------------------------------
|
18 |
|
|
//------------------------------------------------------------
|
19 |
|
|
// COPYRIGHT 2000
|
20 |
|
|
// Version du 02/03/2006 à 11H24
|
21 |
|
|
//------------------------------------------------------------
|
22 |
|
|
//------------------------------------------------------------
|
23 |
|
|
#ifndef sat_gestionnaireH
|
24 |
|
|
#define sat_gestionnaireH
|
25 |
|
|
//---------------------------------------------------------------------------
|
26 |
|
|
#ifdef WINDOWS_VERSION
|
27 |
|
|
#ifdef BUILT_DLL_SATLIB
|
28 |
|
|
#define DLLPORTSAT __declspec(dllexport)
|
29 |
|
|
#else
|
30 |
|
|
#define DLLPORTSAT __declspec(dllimport)
|
31 |
|
|
#endif
|
32 |
|
|
#else
|
33 |
|
|
#define DLLPORTSAT
|
34 |
|
|
#endif
|
35 |
|
|
|
36 |
|
|
#include "sat_attrib.h"
|
37 |
|
|
#include "sat_body.h"
|
38 |
|
|
#include "sat_coedge.h"
|
39 |
|
|
#include "sat_cone.h"
|
40 |
|
|
#include "sat_edge.h"
|
41 |
|
|
#include "sat_ellipse.h"
|
42 |
|
|
#include "sat_face.h"
|
43 |
|
|
#include "sat_loop.h"
|
44 |
|
|
#include "sat_lump.h"
|
45 |
|
|
#include "sat_plane.h"
|
46 |
|
|
#include "sat_point.h"
|
47 |
|
|
#include "sat_shell.h"
|
48 |
|
|
#include "sat_straight.h"
|
49 |
|
|
#include "sat_subshell.h"
|
50 |
|
|
#include "sat_transform.h"
|
51 |
|
|
#include "sat_vertex.h"
|
52 |
|
|
#include "sat_wire.h"
|
53 |
|
|
|
54 |
|
|
#include "tpl_map_entite.h"
|
55 |
|
|
|
56 |
|
|
class DLLPORTSAT SAT_GESTIONNAIRE
|
57 |
|
|
{
|
58 |
|
|
public:
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
SAT_GESTIONNAIRE();
|
62 |
|
|
SAT_GESTIONNAIRE(char *path);
|
63 |
|
|
virtual ~SAT_GESTIONNAIRE();
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
void change_nom(char *path);
|
69 |
|
|
char* get_nom(void);
|
70 |
|
|
int lire(void);
|
71 |
|
|
|
72 |
|
|
TPL_MAP_ENTITE<class SAT_IDENTIFICATEUR*> lst_entity;
|
73 |
|
|
TPL_MAP_ENTITE<class SAT_ATTRIB*> lst_attrib;
|
74 |
|
|
TPL_MAP_ENTITE<class SAT_BODY*> lst_body;
|
75 |
|
|
TPL_MAP_ENTITE<class SAT_LUMP*> lst_lump;
|
76 |
|
|
TPL_MAP_ENTITE<class SAT_SHELL*> lst_shell;
|
77 |
|
|
TPL_MAP_ENTITE<class SAT_SUBSHELL*> lst_subshell;
|
78 |
|
|
TPL_MAP_ENTITE<class SAT_FACE*> lst_face;
|
79 |
|
|
TPL_MAP_ENTITE<class SAT_LOOP*> lst_loop;
|
80 |
|
|
TPL_MAP_ENTITE<class SAT_WIRE*> lst_wire;
|
81 |
|
|
TPL_MAP_ENTITE<class SAT_COEDGE*> lst_coedge;
|
82 |
|
|
TPL_MAP_ENTITE<class SAT_EDGE*> lst_edge;
|
83 |
|
|
TPL_MAP_ENTITE<class SAT_VERTEX*> lst_vertex;
|
84 |
|
|
TPL_MAP_ENTITE<class SAT_CONE*> lst_cone;
|
85 |
|
|
TPL_MAP_ENTITE<class SAT_ELLIPSE*> lst_ellipse;
|
86 |
|
|
TPL_MAP_ENTITE<class SAT_PLANE*> lst_plane;
|
87 |
|
|
TPL_MAP_ENTITE<class SAT_POINT*> lst_point;
|
88 |
|
|
TPL_MAP_ENTITE<class SAT_STRAIGHT*> lst_straight;
|
89 |
|
|
TPL_MAP_ENTITE<class SAT_TRANSFORM*> lst_transform;
|
90 |
|
|
TPL_MAP_ENTITE<class SAT_SURFACE*> lst_surface;
|
91 |
|
|
TPL_MAP_ENTITE<class SAT_COURBE*> lst_courbe;
|
92 |
|
|
|
93 |
|
|
private:
|
94 |
|
|
const int FORWARD;
|
95 |
|
|
const int REVERSED;
|
96 |
|
|
const int DOUBLE;
|
97 |
|
|
const int SINGLE;
|
98 |
|
|
const int IS_IN;
|
99 |
|
|
const int IS_OUT;
|
100 |
|
|
char *nom;
|
101 |
|
|
};
|
102 |
|
|
|
103 |
|
|
#endif
|