Salome HOME
Create and use HAVE_NETGEN (#define) to avoid unresolved symbols in libraries.
[modules/smesh.git] / src / SMESH_I / SMESH_HypothesisFactory_i.cxx
index d292a78fcb7b300ef3049ffaeeabb83f70ec2fcb..efb8134d5cde9ba284c97dfab4cda79c866fbaf2 100644 (file)
@@ -26,7 +26,6 @@
 //  Module : SMESH
 //  $Header$
 
 //  Module : SMESH
 //  $Header$
 
-using namespace std;
 using namespace std;
 #include "SMESH_HypothesisFactory_i.hxx"
 #include "SMESH_Hypothesis_i.hxx"
 using namespace std;
 #include "SMESH_HypothesisFactory_i.hxx"
 #include "SMESH_Hypothesis_i.hxx"
@@ -38,12 +37,16 @@ using namespace std;
 //---------------------------------------
 #include "SMESH_LocalLength_i.hxx"
 #include "SMESH_NumberOfSegments_i.hxx"
 //---------------------------------------
 #include "SMESH_LocalLength_i.hxx"
 #include "SMESH_NumberOfSegments_i.hxx"
+#include "SMESH_LengthFromEdges_i.hxx"
 #include "SMESH_MaxElementArea_i.hxx"
 #include "SMESH_MaxElementArea_i.hxx"
+#include "SMESH_MaxElementVolume_i.hxx"
 #include "SMESH_Regular_1D_i.hxx"
 #include "SMESH_MEFISTO_2D_i.hxx"
 #include "SMESH_Quadrangle_2D_i.hxx"
 #include "SMESH_Hexa_3D_i.hxx"
 #include "SMESH_Regular_1D_i.hxx"
 #include "SMESH_MEFISTO_2D_i.hxx"
 #include "SMESH_Quadrangle_2D_i.hxx"
 #include "SMESH_Hexa_3D_i.hxx"
-
+#ifdef HAVE_NETGEN
+#include "SMESH_NETGEN_3D_i.hxx"
+#endif
 //---------------------------------------
 
 //=============================================================================
 //---------------------------------------
 
 //=============================================================================
@@ -82,12 +85,16 @@ SMESH_HypothesisFactory_i::SMESH_HypothesisFactory_i()
 //---------------------------------------
 _creatorMap["LocalLength"] = new HypothesisCreator_i<SMESH_LocalLength_i>;
 _creatorMap["NumberOfSegments"] = new HypothesisCreator_i<SMESH_NumberOfSegments_i>;
 //---------------------------------------
 _creatorMap["LocalLength"] = new HypothesisCreator_i<SMESH_LocalLength_i>;
 _creatorMap["NumberOfSegments"] = new HypothesisCreator_i<SMESH_NumberOfSegments_i>;
+_creatorMap["LengthFromEdges"] = new HypothesisCreator_i<SMESH_LengthFromEdges_i>;
 _creatorMap["MaxElementArea"] = new HypothesisCreator_i<SMESH_MaxElementArea_i>;
 _creatorMap["MaxElementArea"] = new HypothesisCreator_i<SMESH_MaxElementArea_i>;
+_creatorMap["MaxElementVolume"] = new HypothesisCreator_i<SMESH_MaxElementVolume_i>;
 _creatorMap["Regular_1D"] = new HypothesisCreator_i<SMESH_Regular_1D_i>;
 _creatorMap["MEFISTO_2D"] = new HypothesisCreator_i<SMESH_MEFISTO_2D_i>;
 _creatorMap["Quadrangle_2D"] = new HypothesisCreator_i<SMESH_Quadrangle_2D_i>;
 _creatorMap["Hexa_3D"] = new HypothesisCreator_i<SMESH_Hexa_3D_i>;
 _creatorMap["Regular_1D"] = new HypothesisCreator_i<SMESH_Regular_1D_i>;
 _creatorMap["MEFISTO_2D"] = new HypothesisCreator_i<SMESH_MEFISTO_2D_i>;
 _creatorMap["Quadrangle_2D"] = new HypothesisCreator_i<SMESH_Quadrangle_2D_i>;
 _creatorMap["Hexa_3D"] = new HypothesisCreator_i<SMESH_Hexa_3D_i>;
-
+#ifdef HAVE_NETGEN
+_creatorMap["NETGEN_3D"] = new HypothesisCreator_i<SMESH_NETGEN_3D_i>;
+#endif
 //---------------------------------------
 }
 
 //---------------------------------------
 }