ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/reconstruction/src/sq_interface.h
Revision: 1090
Committed: Sun Jan 30 13:24:27 2022 UTC (3 years, 3 months ago) by amroune
Content type: text/plain
File size: 1190 byte(s)
Log Message:
Ajout de la derniere partie du code

File Contents

# User Rev Content
1 amroune 1090 #ifndef _SQ_INTERFACE_
2     #define _SQ_INTERFACE_
3    
4     #include "sq_jonction.h"
5    
6     class SQ_INTERFACE
7     {
8     public:
9     SQ_INTERFACE();
10     SQ_INTERFACE(SQ_JONCTION* Jonc,SQ_BRANCHE* Bran);
11     SQ_INTERFACE(SQ_INTERFACE& mdd);
12     virtual ~SQ_INTERFACE();
13    
14     SQ_JONCTION* get_jonction();
15     SQ_BRANCHE* get_branche();
16     SQ_NOEUD* get_no_central();
17     int get_nb_branchements();
18     OT_VECTEUR_3D get_dir(int i);
19     std::vector<MG_NOEUD*> get_section(int i);
20     int get_nb_sections();
21     TopoDS_Shape get_arete(int i);
22     int get_nb_aretes();
23     SQ_INTERFACE* get_lien_interface(int i);
24     double* get_lien_projection(int i);
25     int get_nb_liens();
26    
27     void change_no_central(SQ_NOEUD* NoCntrl);
28     void ajouter_dir(OT_VECTEUR_3D vec);
29     void ajouter_section(std::vector<MG_NOEUD*> Section);
30     void ajouter_arete(TopoDS_Shape Arete);
31     void change_arete(int i,TopoDS_Shape Arete);
32     void ajouter_lien(double* P,SQ_INTERFACE* Interface);
33    
34    
35     protected:
36     SQ_JONCTION* Jonction;
37     SQ_BRANCHE* Branche;
38     SQ_NOEUD* NoCentral;
39     int NbBranchements;
40     std::vector<OT_VECTEUR_3D> LstDir;
41     std::vector<std::vector<MG_NOEUD*>> LstSections;
42     std::vector<std::pair<double*,SQ_INTERFACE*>> LstLiens;
43     std::vector<TopoDS_Shape> LstAretes;
44    
45     };
46    
47     #endif
48