Back to index

salome-geom  6.5.0
GEOMAlgo_BuilderFace.hxx
Go to the documentation of this file.
00001 
00002 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
00003 //
00004 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00005 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00006 //
00007 // This library is free software; you can redistribute it and/or
00008 // modify it under the terms of the GNU Lesser General Public
00009 // License as published by the Free Software Foundation; either
00010 // version 2.1 of the License.
00011 //
00012 // This library is distributed in the hope that it will be useful,
00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015 // Lesser General Public License for more details.
00016 //
00017 // You should have received a copy of the GNU Lesser General Public
00018 // License along with this library; if not, write to the Free Software
00019 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00020 //
00021 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00022 //
00023 
00024 // File:        GEOMAlgo_BuilderFace.hxx
00025 // Created:
00026 // Author:      Peter KURNEV
00027 //
00028 #ifndef _GEOMAlgo_BuilderFace_HeaderFile
00029 #define _GEOMAlgo_BuilderFace_HeaderFile
00030 
00031 #include <Standard.hxx>
00032 #include <Standard_Macro.hxx>
00033 #include <TopoDS_Face.hxx>
00034 #include <GEOMAlgo_BuilderArea.hxx>
00035 
00037 //=======================================================================
00038 //class    : GEOMAlgo_BuilderFace
00039 //purpose  :
00040 //=======================================================================
00041 class GEOMAlgo_BuilderFace  : public GEOMAlgo_BuilderArea
00042 {
00043  public:
00044 
00046   Standard_EXPORT
00047     GEOMAlgo_BuilderFace();
00048 
00049   Standard_EXPORT
00050     virtual ~GEOMAlgo_BuilderFace();
00051 
00053   Standard_EXPORT
00054     void SetFace(const TopoDS_Face& theFace) ;
00055 
00057   Standard_EXPORT
00058     const TopoDS_Face& Face() const;
00059 
00061   Standard_EXPORT
00062     virtual  void Perform() ;
00063 
00064  protected:
00068   Standard_EXPORT
00069     virtual  void PerformShapesToAvoid() ;
00070 
00076   Standard_EXPORT
00077     virtual  void PerformLoops() ;
00078 
00080   Standard_EXPORT
00081     virtual  void PerformAreas() ;
00082 
00084   Standard_EXPORT
00085     virtual  void PerformInternalShapes() ;
00086 
00087 
00088   TopoDS_Face myFace;
00089 };
00090 
00091 #endif