20 #ifndef Selector_Intersect_H_
21 #define Selector_Intersect_H_
23 #include "Selector_AlgoWithSubs.h"
33 TopAbs_ShapeEnum myShapeType;
35 bool myRecomputeWeakIndex;
38 SELECTOR_EXPORT
bool select(
const TopoDS_Shape theContext,
const TopoDS_Shape theValue);
41 SELECTOR_EXPORT
virtual void store()
override;
45 SELECTOR_EXPORT
virtual bool restore()
override;
49 SELECTOR_EXPORT
virtual TDF_Label
restoreByName(std::wstring theName,
53 SELECTOR_EXPORT
virtual bool solve(
const TopoDS_Shape& theContext)
override;
Kind of selection algorithm: generic algorithm that contains sub-algorithms inside.
Definition: Selector_AlgoWithSubs.h:33
Definition: Selector_Algo.h:37
Kind of selection algorithm: sub-shape is intersection of higher level objects.
Definition: Selector_Intersect.h:32
virtual bool solve(const TopoDS_Shape &theContext) override
Updates the current shape by the stored topological name.
Definition: Selector_Intersect.cpp:240
virtual void store() override
Stores the name to the label and sub-labels tree.
Definition: Selector_Intersect.cpp:151
virtual bool restore() override
Restores the selected shape by the topological naming kept in the data structure Returns true if it c...
Definition: Selector_Intersect.cpp:166
virtual std::wstring name(Selector_NameGenerator *theNameGenerator) override
Returns the naming name of the selection.
Definition: Selector_Intersect.cpp:288
bool select(const TopoDS_Shape theContext, const TopoDS_Shape theValue)
Initializes the selection of this kind.
Definition: Selector_Intersect.cpp:66
virtual TDF_Label restoreByName(std::wstring theName, const TopAbs_ShapeEnum theShapeType, Selector_NameGenerator *theNameGenerator) override
Restores the selected shape by the topological name string.
Definition: Selector_Intersect.cpp:186
An interface for generation of the naming name basing on the current selection and document informati...
Definition: Selector_NameGenerator.h:34