]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FeaturesPlugin/FeaturesPlugin_VersionedBoolean.h
Salome HOME
Task 3.2. Concealment into multi-level Compounds
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_VersionedBoolean.h
index 97266c7764f1e728c0b83e86adde0f2c7b4a0a25..4d95da152d0b71c89c339379d590b03b3635ac59 100644 (file)
@@ -87,6 +87,11 @@ protected:
     /// By default, the parent and all its subshapes are marked as processed for further skip.
     GeomShapePtr Parent(const GeomShapePtr& theShape, bool theMarkProcessed = true);
 
+    /// Marke the shape as already processed
+    void MarkProcessed(const GeomShapePtr& theShape);
+    /// Marke list ofshapes as already processed
+    void MarkProcessed(const ListOfShape& theShapes);
+
     /// Split compound/compsolid shape for subshapes selected for Boolean operation and the other.
     void SplitCompound(const GeomShapePtr& theCompShape,
                        ListOfShape& theUsed,
@@ -159,7 +164,7 @@ protected:
   /// is added to this compound, and corresponding ResultBody is not generated.
   /// \return \c false if something went wrong
   bool processCompsolid(const GeomAlgoAPI_Tools::BOPType theBooleanType,
-                        const ObjectHierarchy& theCompsolidHierarchy,
+                        ObjectHierarchy& theCompsolidHierarchy,
                         const GeomShapePtr& theCompsolid,
                         const ListOfShape& theTools,
                         const ListOfShape& thePlanes,
@@ -173,7 +178,7 @@ protected:
   /// is added to this compound, and corresponding ResultBody is not generated.
   /// \return \c false if something went wrong
   bool processCompound(const GeomAlgoAPI_Tools::BOPType theBooleanType,
-                       const ObjectHierarchy& theCompoundHierarchy,
+                       ObjectHierarchy& theCompoundHierarchy,
                        const GeomShapePtr& theCompound,
                        const ListOfShape& theTools,
                        int& theResultIndex,