Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_ClsfSolid.hxx
1 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 // File:        GEOMAlgo_ClsfSolid.hxx
21 // Created:     Mon Jan 29 10:35:46 2007
22 // Author:      Peter KURNEV
23 //              <pkv@irinox>
24 //
25 #ifndef _GEOMAlgo_ClsfSolid_HeaderFile
26 #define _GEOMAlgo_ClsfSolid_HeaderFile
27
28 #include <Standard.hxx>
29 #include <Standard_DefineHandle.hxx>
30 //#include <Handle_GEOMAlgo_ClsfSolid.hxx>
31 #include <TopoDS_Shape.hxx>
32 #include <Standard_Address.hxx>
33 #include <GEOMAlgo_Clsf.hxx>
34
35 DEFINE_STANDARD_HANDLE(GEOMAlgo_ClsfSolid, GEOMAlgo_Clsf)
36
37 //=======================================================================
38 //class : GEOMAlgo_ClsfSolid
39 //purpose  :
40 //=======================================================================
41 class GEOMAlgo_ClsfSolid : public GEOMAlgo_Clsf
42 {
43  public:
44   Standard_EXPORT
45     GEOMAlgo_ClsfSolid();
46
47   Standard_EXPORT
48     virtual ~GEOMAlgo_ClsfSolid();
49
50   Standard_EXPORT
51     void SetShape(const TopoDS_Shape& aS) ;
52
53   Standard_EXPORT
54     const TopoDS_Shape& Shape() const;
55
56   Standard_EXPORT
57     virtual  void Perform() ;
58
59   Standard_EXPORT
60     virtual  void CheckData() ;
61
62   DEFINE_STANDARD_RTTI(GEOMAlgo_ClsfSolid)
63
64   protected:
65     TopoDS_Shape myShape;
66   Standard_Address myPClsf;
67
68 };
69 #endif