1 |
couturad |
907 |
//V2017 |
2 |
|
|
#include "gestionversion.h" |
3 |
|
|
#ifdef ALL_OCC |
4 |
|
|
#ifndef _OCCCOQUILLE_ |
5 |
|
|
#define _OCCCOQUILLE_ |
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_coquille.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_COQUILLE:public MG_COQUILLE |
23 |
|
|
{ |
24 |
|
|
public: |
25 |
|
|
|
26 |
|
|
OCC_COQUILLE(std::string idori,unsigned long num,class MG_VOLUME* mgvol,TopoDS_Shell shell,OCC_FONCTION* occ_fonction); |
27 |
|
|
OCC_COQUILLE(std::string idori,unsigned long num,class MG_COQUE* mgcoq,TopoDS_Shell shell,OCC_FONCTION* occ_fonction); |
28 |
|
|
OCC_COQUILLE(std::string idori,class MG_VOLUME* mgvol,TopoDS_Shell shell,OCC_FONCTION* occ_fonction); |
29 |
|
|
OCC_COQUILLE(std::string idori,class MG_COQUE* mgcoq,TopoDS_Shell shell,OCC_FONCTION* occ_fonction); |
30 |
|
|
OCC_COQUILLE(std::string idori,unsigned long num,TopoDS_Shell shell,OCC_FONCTION* occ_fonction); |
31 |
|
|
OCC_COQUILLE(std::string idori,TopoDS_Shell shell,OCC_FONCTION* occ_fonction); |
32 |
|
|
OCC_COQUILLE(OCC_COQUILLE& mdd); |
33 |
|
|
virtual ~OCC_COQUILLE(); |
34 |
|
|
TopoDS_Shell get_TopoDS_Shell(void); |
35 |
|
|
void change_TopoDS_Shell(TopoDS_Shell shell); |
36 |
|
|
virtual void enregistrer(std::ostream& o,double version); |
37 |
|
|
|
38 |
|
|
protected: |
39 |
|
|
TopoDS_Shell m_shell; |
40 |
|
|
OCC_FONCTION* m_occ_fonction; |
41 |
|
|
|
42 |
|
|
}; |
43 |
|
|
|
44 |
|
|
|
45 |
|
|
#endif |
46 |
|
|
#endif |