ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/geometrie/src/mg_coque.h
Revision: 906
Committed: Mon Nov 13 22:30:18 2017 UTC (7 years, 9 months ago) by couturad
Content type: text/plain
File size: 2347 byte(s)
Log Message:
Nouveau opencascade commit 1

File Contents

# Content
1 //------------------------------------------------------------
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 // mg_coque.h
16 //
17 //------------------------------------------------------------
18 //------------------------------------------------------------
19 // COPYRIGHT 2000
20 // Version du 02/03/2006 � 11H22
21 //------------------------------------------------------------
22 //------------------------------------------------------------
23 #ifndef __MGCOQUE_
24 #define __MGCOQUE_
25
26
27 #ifdef WINDOWS_VERSION
28 #ifdef BUILT_DLL_GEOMETRIE
29 #define DLLPORTGEOMETRIE __declspec(dllexport)
30 #else
31 #define DLLPORTGEOMETRIE __declspec(dllimport)
32 #endif
33 #else
34 #define DLLPORTGEOMETRIE
35 #endif
36
37
38 #include <vector>
39 #include "mg_element_topologique.h"
40 #include "mg_coquille.h"
41
42 class DLLPORTGEOMETRIE MG_COQUE:public MG_ELEMENT_TOPOLOGIQUE
43 {
44 public:
45 MG_COQUE(std::string idori,unsigned long num);
46 MG_COQUE(std::string idori);
47 MG_COQUE(MG_COQUE& mdd);
48 virtual ~MG_COQUE();
49
50 virtual void ajouter_mg_coquille(class MG_COQUILLE* mgcoa);
51 virtual void supprimer_mg_coquille(class MG_COQUILLE* mgcoq);
52 virtual int get_nb_mg_coquille(void);
53 virtual MG_COQUILLE* get_mg_coquille(int num);
54 virtual VCT& get_vectorisation(void);
55
56 virtual int get_dimension(void);
57 virtual int get_type(void);
58 virtual void enregistrer(std::ostream& o,double version);
59 virtual void get_topologie_sousjacente(TPL_MAP_ENTITE<MG_ELEMENT_TOPOLOGIQUE*> *lst);
60 virtual void orienter(class MG_MAILLAGE* mai);
61
62 virtual bool est_une_coque_element(void);
63 virtual BOITE_3D get_boite_3D(int pas_echantillon);
64 void change_num_materiau(int num);
65 int get_num_materiau(void);
66
67 private:
68 std::vector<MG_COQUILLE*> lst_coquille;
69 int num_materiau;
70 };
71
72
73
74 #endif
75
76