Back to index

salome-geom  6.5.0
GEOMAlgo_WESCorrector.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 // File:        NMTAlgo_WESCorrector.hxx
00024 // Created:
00025 // Author:      Peter KURNEV
00026 //              <pkv@irinox>
00027 //
00028 #ifndef _GEOMAlgo_WESCorrector_HeaderFile
00029 #define _GEOMAlgo_WESCorrector_HeaderFile
00030 
00031 #include <Standard.hxx>
00032 #include <Standard_Macro.hxx>
00033 #include <GEOMAlgo_PWireEdgeSet.hxx>
00034 #include <GEOMAlgo_WireEdgeSet.hxx>
00035 #include <BOP_ListOfConnexityBlock.hxx>
00036 #include <GEOMAlgo_Algo.hxx>
00037 
00038 
00041 //=======================================================================
00042 //class    : GEOMAlgo_WESCorrector
00043 //purpose  :
00044 //=======================================================================
00045 class GEOMAlgo_WESCorrector  : public GEOMAlgo_Algo
00046 {
00047  public:
00050   Standard_EXPORT
00051     GEOMAlgo_WESCorrector();
00052 
00053   Standard_EXPORT
00054     virtual ~GEOMAlgo_WESCorrector();
00055 
00057   Standard_EXPORT
00058     void SetWES(const GEOMAlgo_WireEdgeSet& aWES) ;
00059 
00063   Standard_EXPORT
00064     virtual  void Perform() ;
00065 
00067   Standard_EXPORT
00068     GEOMAlgo_WireEdgeSet& WES() ;
00069 
00071   Standard_EXPORT
00072     GEOMAlgo_WireEdgeSet& NewWES() ;
00073 
00074 protected:
00075   Standard_EXPORT
00076     void DoConnexityBlocks() ;
00077 
00078   Standard_EXPORT
00079     void DoCorrections() ;
00080 
00081 
00082   GEOMAlgo_PWireEdgeSet myWES;
00083   GEOMAlgo_WireEdgeSet myNewWES;
00084   BOP_ListOfConnexityBlock myConnexityBlocks;
00085 };
00086 
00087 #endif