Salome HOME
Issue #1062: Parameter value is thrown down in the point selector control
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Partition.h
index 444d3e8fbd235d8d019fd89a4c79794022da2859..eaa17dd232f7cecf63aec6bd0bd72f106c69deed 100755 (executable)
@@ -10,6 +10,8 @@
 #include "FeaturesPlugin.h"
 #include <ModelAPI_Feature.h>
 
+#include <GeomAlgoAPI_Partition.h>
+
 /**\class FeaturesPlugin_Partition
  * \ingroup Plugins
  * \brief Feature for applying of Partition operations on Solids. Partition makes conjunctional
@@ -38,6 +40,13 @@ public:
     return MY_TOOL_LIST_ID;
   }
 
+  /// attribute name of combine flag
+  inline static const std::string& COMBINE_ID()
+  {
+    static const std::string MY_COMBINE_ID("partition_combine");
+    return MY_COMBINE_ID;
+  }
+
   /// Returns the kind of a feature
   FEATURESPLUGIN_EXPORT virtual const std::string& getKind()
   {
@@ -57,6 +66,14 @@ public:
 private:
   std::shared_ptr<GeomAPI_Shape> getShape(const std::string& theAttrName);
 
+  /// Load Naming data structure of the feature to the document
+  void loadNamingDS(std::shared_ptr<ModelAPI_ResultBody> theResultBody,
+                    const std::shared_ptr<GeomAPI_Shape> theBaseShape,
+                    const ListOfShape& theTools,
+                    const std::shared_ptr<GeomAPI_Shape> theResultShape,
+                    GeomAlgoAPI_MakeShape& theMakeShape,
+                    GeomAPI_DataMapOfShapeShape& theMapOfShapes);
+
 };
 
 #endif