Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some fixes.
[modules/shaper.git]
/
src
/
FeaturesPlugin
/
FeaturesPlugin_CompositeBoolean.h
diff --git
a/src/FeaturesPlugin/FeaturesPlugin_CompositeBoolean.h
b/src/FeaturesPlugin/FeaturesPlugin_CompositeBoolean.h
index 1e6a28175fff134bfeb721c6c1761c1d7306aadf..3f07d107b14ffc804f1e11285deed8b5ac447e3c 100644
(file)
--- 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();
/// Creates a new part document if needed.
FEATURESPLUGIN_EXPORT virtual void executeCompositeBoolean();
+protected:
+ struct ResultBaseAlgo {
+ ResultBodyPtr resultBody;
+ GeomShapePtr baseShape;
+ std::shared_ptr<GeomAlgoAPI_MakeShape> makeShape;
+ int delTag;
+ };
+
protected:
FeaturesPlugin_CompositeBoolean(){};
protected:
FeaturesPlugin_CompositeBoolean(){};
@@
-82,6
+90,11
@@
protected:
const std::shared_ptr<GeomAlgoAPI_MakeShape> theMakeShape,
int& theTag);
const std::shared_ptr<GeomAlgoAPI_MakeShape> theMakeShape,
int& theTag);
+ /// Stores deleted shapes.
+ void storeDeletedShapes(std::vector<ResultBaseAlgo>& theResultBaseAlgoList,
+ const ListOfShape& theTools,
+ const GeomShapePtr theResultShapesCompound);
+
protected:
ModelAPI_Feature* myFeature;
OperationType myOperationType;
protected:
ModelAPI_Feature* myFeature;
OperationType myOperationType;