Salome HOME
Merge branch 'CEA/FeaturesPlugin/LOFT'
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Plugin.cpp
index 24442767f66da642bec549d0bf1fb07ba176e65d..ca33e7adcbb5cc1408bcbc6d338a836cd3976581 100644 (file)
@@ -43,6 +43,7 @@
 #include <FeaturesPlugin_NormalToFace.h>
 #include <FeaturesPlugin_Partition.h>
 #include <FeaturesPlugin_Pipe.h>
+#include <FeaturesPlugin_Loft.h>
 #include <FeaturesPlugin_Placement.h>
 #include <FeaturesPlugin_PointCloudOnFace.h>
 #include <FeaturesPlugin_Recover.h>
@@ -87,6 +88,8 @@ FeaturesPlugin_Plugin::FeaturesPlugin_Plugin()
                               new FeaturesPlugin_ValidatorPipeLocations);
   aFactory->registerValidator("FeaturesPlugin_ValidatorPipeLocationsNumber",
                               new FeaturesPlugin_ValidatorPipeLocationsNumber);
+  aFactory->registerValidator("FeaturesPlugin_ValidatorLoftSameTypeShape",
+                              new FeaturesPlugin_ValidatorLoftSameTypeShape);
   aFactory->registerValidator("FeaturesPlugin_ValidatorExtrusionDir",
                               new FeaturesPlugin_ValidatorExtrusionDir);
   aFactory->registerValidator("FeaturesPlugin_ValidatorExtrusionBoundary",
@@ -162,6 +165,8 @@ FeaturePtr FeaturesPlugin_Plugin::createFeature(std::string theFeatureID)
     return FeaturePtr(new FeaturesPlugin_Partition);
   } else if (theFeatureID == FeaturesPlugin_Pipe::ID()) {
     return FeaturePtr(new FeaturesPlugin_Pipe);
+  } else if (theFeatureID == FeaturesPlugin_Loft::ID()) {
+    return FeaturePtr(new FeaturesPlugin_Loft);
   } else if (theFeatureID == FeaturesPlugin_Placement::ID()) {
     return FeaturePtr(new FeaturesPlugin_Placement);
   } else if (theFeatureID == FeaturesPlugin_Recover::ID()) {