Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GEOMAlgo_ShapeSolid.hxx
Go to the documentation of this file.
1 // Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 
23 // File: GEOMAlgo_ShapeSolid.hxx
24 // Created: Thu Jan 13 12:54:48 2005
25 // Author: Peter KURNEV
26 // <pkv@irinox>
27 //
28 #ifndef _GEOMAlgo_ShapeSolid_HeaderFile
29 #define _GEOMAlgo_ShapeSolid_HeaderFile
30 
31 #include <Standard.hxx>
32 #include <Standard_Macro.hxx>
33 #include <Standard_Integer.hxx>
34 
35 #include <TopAbs_State.hxx>
36 #include <TopTools_ListOfShape.hxx>
37 
38 #include <BOPAlgo_PaveFiller.hxx>
39 #include <BOPAlgo_PPaveFiller.hxx>
40 
41 #include <GEOMAlgo_Algo.hxx>
42 
43 //=======================================================================
44 //function : GEOMAlgo_ShapeSolid
45 //purpose :
46 //=======================================================================
48 {
49  public:
50  Standard_EXPORT
51  void SetFiller(const BOPAlgo_PaveFiller& aDSF) ;
52 
53  Standard_EXPORT
54  virtual ~GEOMAlgo_ShapeSolid();
55 
56  Standard_EXPORT
57  const TopTools_ListOfShape& Shapes(const TopAbs_State aState) const;
58 
59 protected:
60  Standard_EXPORT
62 
63  Standard_EXPORT
64  virtual void BuildResult()=0;
65 
66 
67  TopTools_ListOfShape myLSIN;
68  TopTools_ListOfShape myLSOUT;
69  TopTools_ListOfShape myLSON;
70  Standard_Integer myRank;
71  BOPAlgo_PPaveFiller myDSFiller;
72 };
73 #endif