/// 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(
/// 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