Salome HOME
09c398e8e15b9dfec5a1e11c48b55b4386e68db1
[modules/geom.git] / src / NMTTools / NMTTools_DSFiller.hxx
1 // File generated by CPPExt (Value)
2 //                     Copyright (C) 1991,1995 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14
15 #ifndef _NMTTools_DSFiller_HeaderFile
16 #define _NMTTools_DSFiller_HeaderFile
17
18 #ifndef _TopoDS_Shape_HeaderFile
19 #include <TopoDS_Shape.hxx>
20 #endif
21 #ifndef _NMTDS_PShapesDataStructure_HeaderFile
22 #include <NMTDS_PShapesDataStructure.hxx>
23 #endif
24 #ifndef _BOPTools_PInterferencePool_HeaderFile
25 #include <BOPTools_PInterferencePool.hxx>
26 #endif
27 #ifndef _NMTTools_PPaveFiller_HeaderFile
28 #include <NMTTools_PPaveFiller.hxx>
29 #endif
30 #ifndef _Standard_Boolean_HeaderFile
31 #include <Standard_Boolean.hxx>
32 #endif
33 class TopoDS_Shape;
34 class NMTDS_ShapesDataStructure;
35 class BOPTools_InterferencePool;
36 class NMTTools_PaveFiller;
37
38
39 #ifndef _Standard_HeaderFile
40 #include <Standard.hxx>
41 #endif
42 #ifndef _Standard_Macro_HeaderFile
43 #include <Standard_Macro.hxx>
44 #endif
45
46 class NMTTools_DSFiller  {
47
48 public:
49
50     void* operator new(size_t,void* anAddress) 
51       {
52         return anAddress;
53       }
54     void* operator new(size_t size) 
55       { 
56         return Standard::Allocate(size); 
57       }
58     void  operator delete(void *anAddress) 
59       { 
60         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
61       }
62  // Methods PUBLIC
63  // 
64 Standard_EXPORT NMTTools_DSFiller();
65 Standard_EXPORT   void Destroy() ;
66 ~NMTTools_DSFiller()
67 {
68   Destroy();
69 }
70
71 Standard_EXPORT   void SetCompositeShape(const TopoDS_Shape& aS) ;
72 Standard_EXPORT  const TopoDS_Shape& CompositeShape() const;
73 Standard_EXPORT   void SetNewFiller(const Standard_Boolean aFlag) const;
74 Standard_EXPORT   Standard_Boolean IsNewFiller() const;
75 Standard_EXPORT   void Perform() ;
76 Standard_EXPORT  const NMTDS_ShapesDataStructure& DS() const;
77 Standard_EXPORT  const BOPTools_InterferencePool& InterfPool() const;
78 Standard_EXPORT   Standard_Boolean IsDone() const;
79 Standard_EXPORT  const NMTTools_PaveFiller& PaveFiller() const;
80 Standard_EXPORT   NMTTools_PaveFiller& ChangePaveFiller() ;
81
82
83
84
85
86 protected:
87
88  // Methods PROTECTED
89  // 
90 Standard_EXPORT   void Clear() ;
91
92
93  // Fields PROTECTED
94  //
95 TopoDS_Shape myCompositeShape;
96 NMTDS_PShapesDataStructure myDS;
97 BOPTools_PInterferencePool myInterfPool;
98 NMTTools_PPaveFiller myPaveFiller;
99 Standard_Boolean myIsDone;
100 Standard_Boolean myIsNewFiller;
101
102
103 private: 
104
105  // Methods PRIVATE
106  // 
107
108
109  // Fields PRIVATE
110  //
111
112
113 };
114
115
116
117
118
119 // other Inline functions and methods (like "C++: function call" methods)
120 //
121
122
123 #endif