Version: 9.12.0
GEOMAlgo_ClsfSolid.hxx
Go to the documentation of this file.
1 // Copyright (C) 2007-2023 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 <Standard.hxx>
29 #include <Standard_DefineHandle.hxx>
30 #include <TopoDS_Shape.hxx>
31 #include <Standard_Address.hxx>
32 #include <GEOMAlgo_Clsf.hxx>
33 
34 DEFINE_STANDARD_HANDLE(GEOMAlgo_ClsfSolid, GEOMAlgo_Clsf)
35 
36 //=======================================================================
37 //class : GEOMAlgo_ClsfSolid
38 //purpose :
39 //=======================================================================
40 class GEOMAlgo_ClsfSolid : public GEOMAlgo_Clsf
41 {
42  public:
43  Standard_EXPORT
44  GEOMAlgo_ClsfSolid();
45 
46  Standard_EXPORT
47  virtual ~GEOMAlgo_ClsfSolid();
48 
49  Standard_EXPORT
50  void SetShape(const TopoDS_Shape& aS) ;
51 
52  Standard_EXPORT
53  const TopoDS_Shape& Shape() const;
54 
55  Standard_EXPORT
56  virtual void Perform() ;
57 
58  Standard_EXPORT
59  virtual void CheckData() ;
60 
61  DEFINE_STANDARD_RTTIEXT(GEOMAlgo_ClsfSolid,GEOMAlgo_Clsf)
62 
63  protected:
64  TopoDS_Shape myShape;
65  Standard_Address myPClsf;
66 
67 };
68 #endif
DEFINE_STANDARD_HANDLE(GEOM_Field, GEOM_BaseObject) DEFINE_STANDARD_HANDLE(GEOM_FieldStep