1 |
couturad |
907 |
//V2017 |
2 |
|
|
#include "gestionversion.h" |
3 |
|
|
#ifdef ALL_OCC |
4 |
|
|
#ifndef _OCCBOUCLE_ |
5 |
|
|
#define _OCCBOUCLE_ |
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_boucle.h" |
18 |
|
|
#include "occ_fonction.h" |
19 |
|
|
#include "occ_fonction_v2015.h" |
20 |
|
|
#include "occ_fonction_v2017.h" |
21 |
|
|
#include "TopoDS_Wire.hxx" |
22 |
|
|
|
23 |
|
|
class DLLPORTGEOMETRIE OCC_BOUCLE:public MG_BOUCLE |
24 |
|
|
{ |
25 |
|
|
public: |
26 |
|
|
|
27 |
|
|
OCC_BOUCLE(std::string idori,unsigned long num,class MG_POUTRE* mgpoutre,TopoDS_Wire wire,OCC_FONCTION* occ_fonction); |
28 |
|
|
OCC_BOUCLE(std::string idori,class MG_POUTRE* mgpoutre,TopoDS_Wire wire,OCC_FONCTION* occ_fonction); |
29 |
|
|
OCC_BOUCLE(std::string idori,unsigned long num,class MG_FACE* mgface,TopoDS_Wire wire,OCC_FONCTION* occ_fonction); |
30 |
|
|
OCC_BOUCLE(std::string idori,class MG_FACE* mgface,TopoDS_Wire wire,OCC_FONCTION* occ_fonction); |
31 |
|
|
OCC_BOUCLE(std::string idori,TopoDS_Wire wire,OCC_FONCTION* occ_fonction); |
32 |
|
|
OCC_BOUCLE(std::string idori,unsigned long num,TopoDS_Wire wire,OCC_FONCTION* occ_fonction); |
33 |
|
|
OCC_BOUCLE(OCC_BOUCLE& mdd); |
34 |
|
|
virtual ~OCC_BOUCLE(); |
35 |
|
|
virtual void enregistrer(std::ostream& o,double version); |
36 |
|
|
TopoDS_Wire get_TopoDS_Wire(void); |
37 |
|
|
void change_TopoDS_Wire(TopoDS_Wire wire); |
38 |
|
|
protected: |
39 |
|
|
TopoDS_Wire m_wire; |
40 |
|
|
OCC_FONCTION* m_occ_fonction; |
41 |
|
|
|
42 |
|
|
}; |
43 |
|
|
|
44 |
|
|
|
45 |
|
|
#endif |
46 |
|
|
#endif |