ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/mtu/src/occ_volume.h
Revision: 1114
Committed: Wed May 3 18:29:42 2023 UTC (2 years ago) by francois
Content type: text/plain
File size: 959 byte(s)
Log Message:
Étape 2  : remplacement du nom geometrie par mtu pour corresponde à la publi de mtu

File Contents

# User Rev Content
1 couturad 907 //V2017
2     #include "gestionversion.h"
3     #ifdef ALL_OCC
4     #ifndef __OCCVOLUME_
5     #define __OCCVOLUME_
6    
7     #ifdef WINDOWS_VERSION
8     #ifdef BUILT_DLL_GEOMETRIE
9     #define DLLPORTGEOMETRIE __declspec(dllexport)
10     #else
11     #define DLLPORTGEOMETRIE __declspec(dllimport)
12     #endif
13     #else
14     #define DLLPORTGEOMETRIE
15     #endif
16    
17     #include "mg_volume.h"
18     #include "occ_fonction.h"
19     #include "occ_fonction_v2015.h"
20     #include "occ_fonction_v2017.h"
21     #include "TopoDS_Solid.hxx"
22     class DLLPORTGEOMETRIE OCC_VOLUME:public MG_VOLUME
23     {
24     public:
25    
26     OCC_VOLUME(std::string idori,unsigned long num,TopoDS_Solid solid,OCC_FONCTION* occ_fonction);
27     OCC_VOLUME(std::string idori,TopoDS_Solid solid,OCC_FONCTION* occ_fonction);
28     OCC_VOLUME(OCC_VOLUME& mdd);
29     virtual ~OCC_VOLUME();
30     TopoDS_Solid get_TopoDS_Solid(void);
31     void change_TopoDS_Solid(TopoDS_Solid solid);
32     virtual void enregistrer(std::ostream& o,double version);
33     protected:
34     TopoDS_Solid m_solid;
35     OCC_FONCTION* m_occ_fonction;
36     };
37    
38    
39     #endif
40     #endif