X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_Plugin.cpp;h=f39e5fc1e8741ec56ac0f9d31e132988647c5b1b;hb=2e032fb9cf76d72cc20e7cce4c2967c827a368fd;hp=2a8023433c763f1f06c3752987da571887980439;hpb=1c3738ae81b02ba62136ac03a53a81a532b95141;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_Plugin.cpp b/src/FeaturesPlugin/FeaturesPlugin_Plugin.cpp index 2a8023433..f39e5fc1e 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Plugin.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_Plugin.cpp @@ -20,7 +20,11 @@ #include -#include +#include +#include +#include +#include +#include #include #include #include @@ -42,6 +46,7 @@ #include #include #include +#include #include #include @@ -90,6 +95,20 @@ FeaturesPlugin_Plugin::FeaturesPlugin_Plugin() new FeaturesPlugin_ValidatorFilletSelection); aFactory->registerValidator("FeaturesPlugin_ValidatorCircular", new FeaturesPlugin_ValidatorCircular); + aFactory->registerValidator("FeaturesPlugin_ValidatorBooleanArguments", + new FeaturesPlugin_ValidatorBooleanArguments); + aFactory->registerValidator("FeaturesPlugin_ValidatorBooleanSmashSelection", + new FeaturesPlugin_ValidatorBooleanSmashSelection); + aFactory->registerValidator("FeaturesPlugin_IntersectionSelection", + new FeaturesPlugin_IntersectionSelection); + aFactory->registerValidator("FeaturesPlugin_ValidatorBooleanFuseSelection", + new FeaturesPlugin_ValidatorBooleanFuseSelection); + aFactory->registerValidator("FeaturesPlugin_ValidatorBooleanFuseArguments", + new FeaturesPlugin_ValidatorBooleanFuseArguments); + aFactory->registerValidator("FeaturesPlugin_ValidatorBooleanCommonSelection", + new FeaturesPlugin_ValidatorBooleanCommonSelection); + aFactory->registerValidator("FeaturesPlugin_ValidatorBooleanCommonArguments", + new FeaturesPlugin_ValidatorBooleanCommonArguments); // register this plugin ModelAPI_Session::get()->registerPlugin(this); @@ -105,8 +124,16 @@ FeaturePtr FeaturesPlugin_Plugin::createFeature(std::string theFeatureID) return FeaturePtr(new FeaturesPlugin_Rotation); } else if (theFeatureID == FeaturesPlugin_Translation::ID()) { return FeaturePtr(new FeaturesPlugin_Translation); - } else if (theFeatureID == FeaturesPlugin_Boolean::ID()) { - return FeaturePtr(new FeaturesPlugin_Boolean); + } else if (theFeatureID == FeaturesPlugin_BooleanCut::ID()) { + return FeaturePtr(new FeaturesPlugin_BooleanCut); + } else if (theFeatureID == FeaturesPlugin_BooleanFuse::ID()) { + return FeaturePtr(new FeaturesPlugin_BooleanFuse); + } else if (theFeatureID == FeaturesPlugin_BooleanCommon::ID()) { + return FeaturePtr(new FeaturesPlugin_BooleanCommon); + } else if (theFeatureID == FeaturesPlugin_BooleanSmash::ID()) { + return FeaturePtr(new FeaturesPlugin_BooleanSmash); + } else if (theFeatureID == FeaturesPlugin_BooleanFill::ID()) { + return FeaturePtr(new FeaturesPlugin_BooleanFill); } else if (theFeatureID == FeaturesPlugin_Intersection::ID()) { return FeaturePtr(new FeaturesPlugin_Intersection); } else if (theFeatureID == FeaturesPlugin_Partition::ID()) { @@ -129,6 +156,8 @@ FeaturePtr FeaturesPlugin_Plugin::createFeature(std::string theFeatureID) return FeaturePtr(new FeaturesPlugin_RemoveSubShapes); } else if (theFeatureID == FeaturesPlugin_Union::ID()) { return FeaturePtr(new FeaturesPlugin_Union); + } else if (theFeatureID == FeaturesPlugin_FusionFaces::ID()) { + return FeaturePtr(new FeaturesPlugin_FusionFaces); } else if (theFeatureID == FeaturesPlugin_Symmetry::ID()) { return FeaturePtr(new FeaturesPlugin_Symmetry); } else if (theFeatureID == FeaturesPlugin_Scale::ID()) {