1 |
francois |
1052 |
//V2017 |
2 |
|
|
#include "gestionversion.h" |
3 |
|
|
#ifdef ALL_OCC |
4 |
|
|
#ifndef __OCCCOQUE_ |
5 |
|
|
#define __OCCCOQUE_ |
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_Shell.hxx" |
22 |
|
|
class DLLPORTGEOMETRIE OCC_COQUE:public MG_COQUE |
23 |
|
|
{ |
24 |
|
|
public: |
25 |
|
|
|
26 |
|
|
OCC_COQUE(std::string idori,unsigned long num,TopoDS_Shell shell,OCC_FONCTION* occ_fonction); |
27 |
|
|
OCC_COQUE(std::string idori,TopoDS_Shell shell,OCC_FONCTION* occ_fonction); |
28 |
|
|
OCC_COQUE(OCC_COQUE& mdd); |
29 |
|
|
virtual ~OCC_COQUE(); |
30 |
|
|
TopoDS_Shell get_TopoDS_Shell(void); |
31 |
|
|
void change_TopoDS_Shell(TopoDS_Shell shell); |
32 |
|
|
virtual void enregistrer(std::ostream& o,double version); |
33 |
|
|
protected: |
34 |
|
|
TopoDS_Shell m_shell; |
35 |
|
|
OCC_FONCTION* m_occ_fonction; |
36 |
|
|
}; |
37 |
|
|
|
38 |
|
|
|
39 |
|
|
#endif |
40 |
|
|
#endif |