X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_Tools.h;h=36ad73bdd053cbbdaf17b54bae6ae975ef5c01b0;hb=3150815dd00d5d8fa3722e052077403420663872;hp=dd04de569f511a3517ccc12b7604ac69afe31ea3;hpb=6e421e939851e0de46554ae45a3ca0e1f67cd91d;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_Tools.h b/src/FeaturesPlugin/FeaturesPlugin_Tools.h index dd04de569..36ad73bdd 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Tools.h +++ b/src/FeaturesPlugin/FeaturesPlugin_Tools.h @@ -45,7 +45,7 @@ public: const GeomShapePtr& theBaseShape, const GeomMakeShapePtr& theMakeShape, const std::string theName); - /// Stores deleted shapes. + /// Stores deleted shapes. static void loadDeletedShapes(ResultBodyPtr theResultBody, const GeomShapePtr theBaseShape, const ListOfShape& theTools, @@ -56,6 +56,12 @@ public: static void loadDeletedShapes(std::vector& theResultBaseAlgoList, const ListOfShape& theTools, const GeomShapePtr theResultShapesCompound); + + /// Obtain shapes from the selection list attribute. + static bool getShape(const std::shared_ptr theSelectionList, + const bool theShareTopology, + ListOfShape& theShapesList, + std::string& theError); }; #endif /* FeaturesPlugin_Tools_H_ */