X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers_I%2FStdMeshers_i.cxx;h=b9782affa09c1f3e4e288e56ad823b091e364bc2;hb=c68bd3b39ad167d2fda832c221fe52aa0cef530a;hp=676de466d35cb1a9a6073c495f219d00e8e64650;hpb=eb32ac37f34e97d1da90cd63579efa6590ecf300;p=modules%2Fsmesh.git diff --git a/src/StdMeshers_I/StdMeshers_i.cxx b/src/StdMeshers_I/StdMeshers_i.cxx index 676de466d..b9782affa 100644 --- a/src/StdMeshers_I/StdMeshers_i.cxx +++ b/src/StdMeshers_I/StdMeshers_i.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2020 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 @@ -34,6 +34,7 @@ #include "StdMeshers_Adaptive1D_i.hxx" #include "StdMeshers_Arithmetic1D_i.hxx" #include "StdMeshers_AutomaticLength_i.hxx" +#include "StdMeshers_BlockRenumber_i.hxx" #include "StdMeshers_CartesianParameters3D_i.hxx" #include "StdMeshers_Cartesian_3D_i.hxx" #include "StdMeshers_CompositeSegment_1D_i.hxx" @@ -84,12 +85,12 @@ namespace SMESH { class ApplicableToAny { public: - static bool IsApplicable( const TopoDS_Shape &S, bool toCheckAll, int algoDim ) + static bool IsApplicable( const TopoDS_Shape &S, bool /*toCheckAll*/, int algoDim ) { return GenericHypothesisCreator_i::IsShapeOfDim( S, algoDim ); } }; -}; +} template class StdHypothesisCreator_i : public HypothesisCreator_i< T > @@ -207,6 +208,8 @@ STDMESHERS_I_EXPORT aCreator = new StdHypothesisCreator_i; else if (strcmp(aHypName, "CartesianParameters3D") == 0) aCreator = new StdHypothesisCreator_i; + else if (strcmp(aHypName, "BlockRenumber") == 0) + aCreator = new StdHypothesisCreator_i; // Algorithms else if (strcmp(aHypName, "Regular_1D") == 0) @@ -253,7 +256,6 @@ STDMESHERS_I_EXPORT aCreator = new StdHypothesisCreator_i; else if (strcmp(aHypName, "PolyhedronPerSolid_3D") == 0) aCreator = new StdHypothesisCreator_i; - else ; return aCreator; }