ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/reconstruction/src/sq_branche.h
Revision: 1003
Committed: Tue Jan 29 13:48:44 2019 UTC (6 years, 3 months ago) by amroune
Content type: text/plain
File size: 806 byte(s)
Log Message:
-Ajout d'une fonction qui calcul le centre géométrique d'un countour: centre_contour
-Ajout d'une nouvelle classe SQ_BRANCHE
-Intégration de la nouvelle classe dans la classe REC_SQUELETTE_OPT

File Contents

# User Rev Content
1 amroune 1003 #ifndef _SQ_BRANCHE_
2     #define _SQ_BRANCHE_
3    
4     #include "mg_noeud.h"
5     #include "sq_noeud.h"
6     #include "mg_maillage.h"
7    
8    
9     class SQ_BRANCHE
10     {
11     public:
12     SQ_BRANCHE(std::vector<SQ_NOEUD*> bran);
13     SQ_BRANCHE(void);
14     SQ_BRANCHE(SQ_BRANCHE& mdd);
15     virtual ~SQ_BRANCHE();
16    
17     std::vector<SQ_NOEUD*> get_branche();
18     std::vector<MG_NOEUD*> get_section(int i);
19     int get_nb_sections(void);
20     std::vector<MG_NOEUD*> get_guide(int i);
21     int get_nb_guides(void);
22    
23     void change_branche(std::vector<SQ_NOEUD*> bran);
24     void ajouter_section(std::vector<MG_NOEUD*> section);
25     void ajouter_guide(std::vector<MG_NOEUD*> guide);
26    
27    
28     protected:
29     std::vector<SQ_NOEUD*> branche;
30     std::vector<std::vector<MG_NOEUD*>> LstSections;
31     std::vector<std::vector<MG_NOEUD*>> LstGuides;
32     };
33     #endif

Properties

Name Value
svn:executable *