Salome HOME
Fix for the issue #2808 : Documentation on the "Groups" panel. Added description...
[modules/shaper.git] / src / Selector / Selector_Algo.h
index b58e99df0caff3b1e030e340ccdc097b64088f4d..97eb30a491490a940df6ba120f8846ee114011f4 100644 (file)
@@ -94,7 +94,7 @@ public:
   /// Returns the current sub-shape value (null if can not resolve)
   SELECTOR_EXPORT TopoDS_Shape value();
   /// Restores sub-algorithm of a given type by the storage-label
-  SELECTOR_EXPORT Selector_Algo* restoreByLab(TDF_Label theLab);
+  SELECTOR_EXPORT static Selector_Algo* restoreByLab(TDF_Label theLab, TDF_Label theBaseDocLab);
   /// Restores the selected sub-algorithm by the naming name.
   /// Returns not empty label of the context.
   SELECTOR_EXPORT static Selector_Algo* restoreByName(
@@ -108,6 +108,9 @@ public:
   /// Creates a new selection algorithm for selection of all topology based on the same geometry
   SELECTOR_EXPORT static Selector_Algo* relesectWithAllGeometry(
     Selector_Algo* theOldAlgo, const TopoDS_Shape theContext);
+  /// Sets geometrical naming flag to true
+  void setGeometricalNaming()
+  {myGeometricalNaming = true;}
 
 protected:
   /// Returns label where this algorithm is attached to, or just an access label to the document