Salome HOME
Fix compilation error (conflict of OK name between OCCT Plate_Plate.hxx and GEOM...
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_ClsfSolid.hxx
1 // Copyright (C) 2007-2024  CEA, EDF, 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, or (at your option) any later version.
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 <Basics_OCCTVersion.hxx>
29
30 #include <Standard.hxx>
31 #include <Standard_DefineHandle.hxx>
32 #include <TopoDS_Shape.hxx>
33 #if OCC_VERSION_LARGE < 0x07080000
34 #include <Standard_Address.hxx>
35 #else
36 #include <Standard_TypeDef.hxx>
37 #endif
38 #include <GEOMAlgo_Clsf.hxx>
39
40 DEFINE_STANDARD_HANDLE(GEOMAlgo_ClsfSolid, GEOMAlgo_Clsf)
41
42 //=======================================================================
43 //class : GEOMAlgo_ClsfSolid
44 //purpose  :
45 //=======================================================================
46 class GEOMAlgo_ClsfSolid : public GEOMAlgo_Clsf
47 {
48  public:
49   Standard_EXPORT
50     GEOMAlgo_ClsfSolid();
51
52   Standard_EXPORT
53     virtual ~GEOMAlgo_ClsfSolid();
54
55   Standard_EXPORT
56     void SetShape(const TopoDS_Shape& aS) ;
57
58   Standard_EXPORT
59     const TopoDS_Shape& Shape() const;
60
61   Standard_EXPORT
62     virtual  void Perform() ;
63
64   Standard_EXPORT
65     virtual  void CheckData() ;
66
67   DEFINE_STANDARD_RTTIEXT(GEOMAlgo_ClsfSolid,GEOMAlgo_Clsf)
68
69   protected:
70     TopoDS_Shape myShape;
71   Standard_Address myPClsf;
72
73 };
74 #endif