Salome HOME
Merge from V6_main 01/04/2013
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_ShapeSolid.hxx
1 // Copyright (C) 2007-2013  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.
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 <TopTools_ListOfShape.hxx>
34 #include <Standard_Integer.hxx>
35 #include <BOPTools_PDSFiller.hxx>
36 #include <GEOMAlgo_Algo.hxx>
37 #include <TopAbs_State.hxx>
38 #include <BOPTools_DSFiller.hxx>
39
40 //=======================================================================
41 //function : GEOMAlgo_ShapeSolid
42 //purpose  :
43 //=======================================================================
44 class GEOMAlgo_ShapeSolid  : public GEOMAlgo_Algo
45 {
46  public:
47   Standard_EXPORT
48     void SetFiller(const BOPTools_DSFiller& aDSF) ;
49
50   Standard_EXPORT
51     virtual ~GEOMAlgo_ShapeSolid();
52
53   Standard_EXPORT
54     const TopTools_ListOfShape& Shapes(const TopAbs_State aState) const;
55
56 protected:
57   Standard_EXPORT
58     GEOMAlgo_ShapeSolid();
59
60   Standard_EXPORT
61     virtual  void BuildResult()  = 0;
62
63   Standard_EXPORT
64     virtual  void Prepare()  = 0;
65
66
67   TopTools_ListOfShape myLSIN;
68   TopTools_ListOfShape myLSOUT;
69   TopTools_ListOfShape myLSON;
70   Standard_Integer myRank;
71   BOPTools_PDSFiller myDSFiller;
72 };
73 #endif