X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_Hexa_3D.hxx;h=00ff85cf543d681917087219f19c85c8864c0763;hb=f422debfb5debb9037d56f54cdf1893107e12536;hp=7c64bd497ea41bfe2ab47e0271edd3edf880141f;hpb=6aea23b893abc82fbeecf5924d0939370c110271;p=modules%2Fsmesh.git diff --git a/src/StdMeshers/StdMeshers_Hexa_3D.hxx b/src/StdMeshers/StdMeshers_Hexa_3D.hxx index 7c64bd497..00ff85cf5 100644 --- a/src/StdMeshers/StdMeshers_Hexa_3D.hxx +++ b/src/StdMeshers/StdMeshers_Hexa_3D.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// SMESH SMESH : implementaion of SMESH idl descriptions +// SMESH SMESH : implementation of SMESH idl descriptions // File : StdMeshers_Hexa_3D.hxx // Moved here from SMESH_Hexa_3D.hxx // Author : Paul RASCLE, EDF @@ -34,13 +34,14 @@ #include "SMESH_Algo.hxx" -class StdMeshers_ViscousLayers; class SMESH_MesherHelper; +class StdMeshers_Quadrangle_2D; +class StdMeshers_ViscousLayers; class STDMESHERS_EXPORT StdMeshers_Hexa_3D : public SMESH_3D_Algo { public: - StdMeshers_Hexa_3D(int hypId, int studyId, SMESH_Gen* gen); + StdMeshers_Hexa_3D(int hypId, SMESH_Gen* gen); virtual ~StdMeshers_Hexa_3D(); virtual bool CheckHypothesis(SMESH_Mesh& aMesh, @@ -54,10 +55,16 @@ public: virtual bool Evaluate(SMESH_Mesh & aMesh, const TopoDS_Shape & aShape, MapShapeNbElems& aResMap); + virtual bool IsApplicableToShape(const TopoDS_Shape & shape, bool toCheckAll) const + { + return IsApplicable( shape, toCheckAll ); + } static bool IsApplicable(const TopoDS_Shape & aShape, bool toCheckAll); -protected: + + protected: const StdMeshers_ViscousLayers* _viscousLayersHyp; + StdMeshers_Quadrangle_2D* _quadAlgo; }; #endif