Back to index

salome-geom  6.5.0
GEOMAlgo_ClsfSolid.hxx
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 
00020 // File:        GEOMAlgo_ClsfSolid.hxx
00021 // Created:     Mon Jan 29 10:35:46 2007
00022 // Author:      Peter KURNEV
00023 //              <pkv@irinox>
00024 //
00025 #ifndef _GEOMAlgo_ClsfSolid_HeaderFile
00026 #define _GEOMAlgo_ClsfSolid_HeaderFile
00027 
00028 #include <Standard.hxx>
00029 #include <Standard_DefineHandle.hxx>
00030 //#include <Handle_GEOMAlgo_ClsfSolid.hxx>
00031 #include <TopoDS_Shape.hxx>
00032 #include <Standard_Address.hxx>
00033 #include <GEOMAlgo_Clsf.hxx>
00034 
00035 DEFINE_STANDARD_HANDLE(GEOMAlgo_ClsfSolid, GEOMAlgo_Clsf)
00036 
00037 //=======================================================================
00038 //class : GEOMAlgo_ClsfSolid
00039 //purpose  :
00040 //=======================================================================
00041 class GEOMAlgo_ClsfSolid : public GEOMAlgo_Clsf
00042 {
00043  public:
00044   Standard_EXPORT
00045     GEOMAlgo_ClsfSolid();
00046 
00047   Standard_EXPORT
00048     virtual ~GEOMAlgo_ClsfSolid();
00049 
00050   Standard_EXPORT
00051     void SetShape(const TopoDS_Shape& aS) ;
00052 
00053   Standard_EXPORT
00054     const TopoDS_Shape& Shape() const;
00055 
00056   Standard_EXPORT
00057     virtual  void Perform() ;
00058 
00059   Standard_EXPORT
00060     virtual  void CheckData() ;
00061 
00062   DEFINE_STANDARD_RTTI(GEOMAlgo_ClsfSolid)
00063 
00064   protected:
00065     TopoDS_Shape myShape;
00066   Standard_Address myPClsf;
00067 
00068 };
00069 #endif