X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_CompositeBoolean.h;fp=src%2FFeaturesPlugin%2FFeaturesPlugin_CompositeBoolean.h;h=3f07d107b14ffc804f1e11285deed8b5ac447e3c;hb=a46f7249facdd4c19b7ec79c7f1c67cc22f5557d;hp=1e6a28175fff134bfeb721c6c1761c1d7306aadf;hpb=841cf9a52ac09e7adf22c187ffe6faed468e6626;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_CompositeBoolean.h b/src/FeaturesPlugin/FeaturesPlugin_CompositeBoolean.h index 1e6a28175..3f07d107b 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_CompositeBoolean.h +++ b/src/FeaturesPlugin/FeaturesPlugin_CompositeBoolean.h @@ -50,6 +50,14 @@ public: /// Creates a new part document if needed. FEATURESPLUGIN_EXPORT virtual void executeCompositeBoolean(); +protected: + struct ResultBaseAlgo { + ResultBodyPtr resultBody; + GeomShapePtr baseShape; + std::shared_ptr makeShape; + int delTag; + }; + protected: FeaturesPlugin_CompositeBoolean(){}; @@ -82,6 +90,11 @@ protected: const std::shared_ptr theMakeShape, int& theTag); + /// Stores deleted shapes. + void storeDeletedShapes(std::vector& theResultBaseAlgoList, + const ListOfShape& theTools, + const GeomShapePtr theResultShapesCompound); + protected: ModelAPI_Feature* myFeature; OperationType myOperationType;