Open CASCADE Technology
6.5.4
|
From a TopoDS_Shape, or from the entity which has produced it,
searches for the shapes, and the entities which have produced
them in last transfer, which are adjacent to it by VERTICES
#include <XSControl_ConnectedShapes.hxx>
Public Member Functions | |
XSControl_ConnectedShapes () | |
Creates a Selection ConnectedShapes. It remains to be set a TransferReader | |
XSControl_ConnectedShapes (const Handle< XSControl_TransferReader > &TR) | |
Creates a Selection ConnectedShapes, which will work with the current TransferProcess brought by the TransferReader | |
void | SetReader (const Handle< XSControl_TransferReader > &TR) |
Sets a TransferReader to sort entities : it brings the TransferProcess which may change, while the TransferReader does not | |
Standard_Boolean | Explore (const Standard_Integer level, const Handle< Standard_Transient > &ent, const Interface_Graph &G, Interface_EntityIterator &explored) const |
Explores an entity : entities from which are connected to that produced by this entity, including itself | |
TCollection_AsciiString | ExploreLabel () const |
Returns a text defining the criterium. "Connected Entities through produced Shapes" | |
Static Public Member Functions | |
static Handle_TColStd_HSequenceOfTransient | AdjacentEntities (const TopoDS_Shape &ashape, const Handle< Transfer_TransientProcess > &TP, const TopAbs_ShapeEnum type) |
This functions considers a shape from a transfer and performs the search function explained above |
XSControl_ConnectedShapes::XSControl_ConnectedShapes | ( | const Handle< XSControl_TransferReader > & | TR | ) |
static Handle_TColStd_HSequenceOfTransient XSControl_ConnectedShapes::AdjacentEntities | ( | const TopoDS_Shape & | ashape, |
const Handle< Transfer_TransientProcess > & | TP, | ||
const TopAbs_ShapeEnum | type | ||
) | [static] |
Standard_Boolean XSControl_ConnectedShapes::Explore | ( | const Standard_Integer | level, |
const Handle< Standard_Transient > & | ent, | ||
const Interface_Graph & | G, | ||
Interface_EntityIterator & | explored | ||
) | const [virtual] |
Implements IFSelect_SelectExplore.
TCollection_AsciiString XSControl_ConnectedShapes::ExploreLabel | ( | ) | const [virtual] |
Implements IFSelect_SelectExplore.