#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
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()
{
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