Salome HOME
PAL8395: Improve CheckCompoundOfBlocks and RemoveExtraEdges. Improvement done by...
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_ShapeSolid.hxx
1 // File generated by CPPExt (Value)
2 //
3 //                     Copyright (C) 1991 - 2000 by  
4 //                      Matra Datavision SA.  All rights reserved.
5 //  
6 //                     Copyright (C) 2001 - 2004 by
7 //                     Open CASCADE SA.  All rights reserved.
8 // 
9 // This file is part of the Open CASCADE Technology software.
10 //
11 // This software may be distributed and/or modified under the terms and
12 // conditions of the Open CASCADE Public License as defined by Open CASCADE SA
13 // and appearing in the file LICENSE included in the packaging of this file.
14 //  
15 // This software is distributed on an "AS IS" basis, without warranty of any
16 // kind, and Open CASCADE SA hereby disclaims all such warranties,
17 // including without limitation, any warranties of merchantability, fitness
18 // for a particular purpose or non-infringement. Please see the License for
19 // the specific terms and conditions governing rights and limitations under the
20 // License.
21
22 #ifndef _GEOMAlgo_ShapeSolid_HeaderFile
23 #define _GEOMAlgo_ShapeSolid_HeaderFile
24
25 #ifndef _TopTools_ListOfShape_HeaderFile
26 #include <TopTools_ListOfShape.hxx>
27 #endif
28 #ifndef _Standard_Integer_HeaderFile
29 #include <Standard_Integer.hxx>
30 #endif
31 #ifndef _BOPTools_PDSFiller_HeaderFile
32 #include <BOPTools_PDSFiller.hxx>
33 #endif
34 #ifndef _GEOMAlgo_Algo_HeaderFile
35 #include <GEOMAlgo_Algo.hxx>
36 #endif
37 #ifndef _TopAbs_State_HeaderFile
38 #include <TopAbs_State.hxx>
39 #endif
40 class BOPTools_DSFiller;
41 class TopTools_ListOfShape;
42
43
44 #ifndef _Standard_HeaderFile
45 #include <Standard.hxx>
46 #endif
47 #ifndef _Standard_Macro_HeaderFile
48 #include <Standard_Macro.hxx>
49 #endif
50
51 class GEOMAlgo_ShapeSolid  : public GEOMAlgo_Algo {
52
53 public:
54
55     void* operator new(size_t,void* anAddress) 
56       {
57         return anAddress;
58       }
59     void* operator new(size_t size) 
60       { 
61         return Standard::Allocate(size); 
62       }
63     void  operator delete(void *anAddress) 
64       { 
65         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
66       }
67  // Methods PUBLIC
68  // 
69 Standard_EXPORT   void SetFiller(const BOPTools_DSFiller& aDSF) ;
70 Standard_EXPORT virtual ~GEOMAlgo_ShapeSolid();
71 Standard_EXPORT  const TopTools_ListOfShape& Shapes(const TopAbs_State aState) const;
72
73
74
75
76
77 protected:
78
79  // Methods PROTECTED
80  // 
81 Standard_EXPORT GEOMAlgo_ShapeSolid();
82 Standard_EXPORT virtual  void BuildResult()  = 0;
83 Standard_EXPORT virtual  void Prepare()  = 0;
84
85
86  // Fields PROTECTED
87  //
88 TopTools_ListOfShape myLSIN;
89 TopTools_ListOfShape myLSOUT;
90 TopTools_ListOfShape myLSON;
91 Standard_Integer myRank;
92 BOPTools_PDSFiller myDSFiller;
93
94
95 private: 
96
97  // Methods PRIVATE
98  // 
99
100
101  // Fields PRIVATE
102  //
103
104
105 };
106
107
108
109
110
111 // other Inline functions and methods (like "C++: function call" methods)
112 //
113
114
115 #endif