ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/microstructure/src/mstruct_analyse.h
Revision: 1158
Committed: Thu Jun 13 22:18:49 2024 UTC (11 months, 1 week ago) by francois
Content type: text/plain
File size: 2417 byte(s)
Log Message:
compatibilité Ubuntu 22.04
Suppression des refeences à Windows
Ajout d'une banière

File Contents

# User Rev Content
1 francois 1158 //####//------------------------------------------------------------
2     //####//------------------------------------------------------------
3     //####// MAGiC
4     //####// Jean Christophe Cuilliere et Vincent FRANCOIS
5     //####// Departement de Genie Mecanique - UQTR
6     //####//------------------------------------------------------------
7     //####// MAGIC est un projet de recherche de l equipe ERICCA
8     //####// du departement de genie mecanique de l Universite du Quebec a Trois Rivieres
9     //####// http://www.uqtr.ca/ericca
10     //####// http://www.uqtr.ca/
11     //####//------------------------------------------------------------
12     //####//------------------------------------------------------------
13     //####//
14     //####// mstruct_analyse.h
15     //####//
16     //####//------------------------------------------------------------
17     //####//------------------------------------------------------------
18     //####// COPYRIGHT 2000-2024
19     //####// jeu 13 jun 2024 11:58:57 EDT
20     //####//------------------------------------------------------------
21     //####//------------------------------------------------------------
22 couturad 919 #ifndef _MSTRUCT_ANALYSE_
23     #define _MSTRUCT_ANALYSE_
24 couturad 968 #include <fstream>
25 couturad 951 typedef void fonction_affiche(char *);
26    
27 couturad 968 class BOITE_3D;
28     class MSTRUCT_VES;
29    
30 couturad 951 class MSTRUCT_ANALYSE
31 couturad 919 {
32 couturad 951 public:
33     MSTRUCT_ANALYSE(void);
34 couturad 968 MSTRUCT_ANALYSE(std::string identifiant,std::string nom_groupe_forme="",BOITE_3D* boite_3d=NULL);
35     MSTRUCT_ANALYSE(MSTRUCT_VES* ves,std::string identifiant,std::string nom_groupe_forme="",BOITE_3D* boite_3d=NULL);
36     MSTRUCT_ANALYSE(MSTRUCT_ANALYSE &mdd,bool cpy_data=true);
37 couturad 951 ~MSTRUCT_ANALYSE(void);
38 couturad 968 MSTRUCT_VES* get_ves(void);
39 couturad 951 std::string get_identifiant(void);
40     void change_identifiant(std::string identifiant);
41     virtual void change_boite_analyse(BOITE_3D boite_3d);
42     virtual BOITE_3D *get_boite_analyse(void);
43     virtual void change_nom_groupe_forme(std::string nom_groupe_forme);
44     virtual std::string get_nom_groupe_forme(void);
45     virtual long get_type(void)=0;
46 couturad 968 virtual void exporter(std::ofstream& ofstrm, long i, bool avec_entete=false, bool avec_graph=false, char* prefix_graph = (char*)"")=0;
47 couturad 951 virtual void enregistrer(std::ofstream& ofstrm);
48     virtual void ouvrir(std::ifstream& ifstrm);
49     virtual void affiche_contenu(fonction_affiche *fonc);
50 couturad 968 virtual void executer(void)=0;
51 couturad 951 protected:
52     std::string m_identifiant;
53     BOITE_3D *m_boite_analyse;
54     std::string m_nom_groupe_forme;
55 couturad 968 MSTRUCT_VES* m_ves;
56 couturad 951 };
57 couturad 926
58 couturad 968 #endif