Kind of selection algorithm: selected shape is identified by neighbor faces of the same type.
More...
|
| bool | select (const TDF_Label theContextLab, const TopoDS_Shape theContext, const TopoDS_Shape theValue) |
| | Initializes the selection of this kind. More...
|
| |
| virtual void | store () override |
| | Stores the name to the label and sub-labels tree. More...
|
| |
| virtual bool | restore () override |
| | Restores the selected shape by the topological naming kept in the data structure Returns true if it can restore structure correctly. More...
|
| |
| virtual TDF_Label | restoreByName (std::wstring theName, const TopAbs_ShapeEnum theShapeType, Selector_NameGenerator *theNameGenerator) override |
| | Restores the selected shape by the topological name string. More...
|
| |
| virtual bool | solve (const TopoDS_Shape &theContext) override |
| | Updates the current shape by the stored topological name. More...
|
| |
| virtual std::wstring | name (Selector_NameGenerator *theNameGenerator) override |
| | Returns the naming name of the selection. More...
|
| |
| void | clearSubAlgos () |
| | Erases the sub-algorithms stored. More...
|
| |
| TDF_Label | newSubLabel () |
| | Returns the next label for a new sub-selector created. More...
|
| |
| bool | append (Selector_Algo *theAlgo, const bool theEraseIfNull=true) |
| | Appends a new algorithm to the list, erases list if it is null (failed) More...
|
| |
| std::list< Selector_Algo * > & | list () |
| | Returns the stored list of sub-algorithms. More...
|
| |
| TopoDS_Shape | value () |
| | Returns the current sub-shape value (null if can not resolve) More...
|
| |
| void | setGeometricalNaming () |
| | Sets geometrical naming flag to true. More...
|
| |
|
| static Selector_Algo * | select (const TopoDS_Shape theContext, const TopoDS_Shape theValue, const TDF_Label theAccess, const TDF_Label theBaseDocument, const bool theGeometricalNaming=false, const bool theUseNeighbors=true, const bool theUseIntersections=true, const bool theAlwaysGeometricalNaming=false) |
| | Initializes the selector structure on the label. More...
|
| |
| static Selector_Algo * | restoreByName (TDF_Label theLab, TDF_Label theBaseDocLab, std::wstring theName, const TopAbs_ShapeEnum theShapeType, const bool theGeomNaming, Selector_NameGenerator *theNameGenerator, TDF_Label &theContextLab) |
| | Restores the selected sub-algorithm by the naming name. More...
|
| |
| static Selector_Algo * | restoreByLab (TDF_Label theLab, TDF_Label theBaseDocLab) |
| | Restores sub-algorithm of a given type by the storage-label. More...
|
| |
| static bool | sameGeometry (const TopoDS_Shape theShape1, const TopoDS_Shape theShape2) |
| | Returns true if the given shapes are based on the same geometry. More...
|
| |
| static Selector_Algo * | relesectWithAllGeometry (Selector_Algo *theOldAlgo, const TopoDS_Shape theContext) |
| | Creates a new selection algorithm for selection of all topology based on the same geometry. More...
|
| |
|
| void | store (const TopoDS_Shape theShape) |
| | Stores result of selection at the given label. More...
|
| |
| const TDF_Label & | label () const |
| | Returns label where this algorithm is attached to, or just an access label to the document. More...
|
| |
| void | storeBaseArray (const TDF_LabelList &theRef, const TDF_Label &theLast) |
| | Stores the array of references to theLab: references to elements of ref-list, then the last. More...
|
| |
| bool | restoreBaseArray (TDF_LabelList &theRef, TDF_Label &theLast) |
| | Restores references to the labels: references to elements of ref-list, then the last. More...
|
| |
| const TDF_Label & | baseDocument () const |
| | Returns an access-label of the document that may contain initial shapes. More...
|
| |
| bool | geometricalNaming () const |
| | Returns the geometrical naming flag. More...
|
| |
| bool | alwaysGeometricalNaming () const |
| | Returns always geometrical naming flag. More...
|
| |
| bool | useNeighbors () const |
| | Returns use neighbors flag. More...
|
| |
| bool | useIntersections () const |
| | Returns use intersections flag. More...
|
| |
| void | storeType (const Selector_Type theType) |
| | Stores the type of an algorithm in the data tree (in myLab) More...
|
| |
| bool | findNewVersion (const TopoDS_Shape &theContext, TopoDS_Shape &theResult) const |
| | Searches the newer version of the shape in the document if the base shape does not belong to context. More...
|
| |
|
| static const Standard_GUID & | weakID () |
| | Returns GUID for the weak index (integer attribute) of the sub-shape. More...
|
| |
| static const Standard_GUID & | shapeTypeID () |
| | Returns GUID for the type of the shape, stored in case it is intersection or container. More...
|
| |
| static const std::wstring & | oldWeakNameID () |
| | old string identifier of the weak name in modification or intersection types of algorithm More...
|
| |
| static const std::wstring & | oldPureWeakNameID () |
| | old string identifier of the pure weak name More...
|
| |
| static const std::wstring & | weakNameID () |
| | string identifier of the weak name in modification or intersection types of algorithm More...
|
| |
| static const std::wstring & | pureWeakNameID () |
| | string identifier of the pure weak name More...
|
| |
Kind of selection algorithm: selected shape is identified by neighbor faces of the same type.
Or neighbors of neighbors are considered, etc. be named one by one.