X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_BodyBuilder.h;h=629e1fa9a3ca7508283b48ddc46a0e434b5dcbe4;hb=c66d90377083e2611816b72500533d4ffbc73e19;hp=38f2868a97c8b34bc2dba827158686ff50c45111;hpb=cc171413e851e053de99dee13870d2c1cab0327e;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_BodyBuilder.h b/src/ModelAPI/ModelAPI_BodyBuilder.h index 38f2868a9..629e1fa9a 100755 --- a/src/ModelAPI/ModelAPI_BodyBuilder.h +++ b/src/ModelAPI/ModelAPI_BodyBuilder.h @@ -28,7 +28,8 @@ public: MODELAPI_EXPORT virtual ~ModelAPI_BodyBuilder() {}; /// Stores the shape (called by the execution method). - virtual void store(const std::shared_ptr& theShape) = 0; + virtual void store(const std::shared_ptr& theShape, + const bool theIsStoreSameShapes = true) = 0; /// Stores the generated shape (called by the execution method). virtual void storeGenerated(const std::shared_ptr& theFromShape, @@ -78,7 +79,8 @@ public: const int theKindOfShape, const int theTag, const std::string& theName, - GeomAPI_DataMapOfShapeShape& theSubShapes) = 0; + GeomAPI_DataMapOfShapeShape& theSubShapes, + const bool theIsStoreSeparate = false) = 0; /// load and orient generated shapes virtual void loadAndOrientGeneratedShapes ( GeomAlgoAPI_MakeShape* theMS,