File indexing completed on 2026-07-27 09:45:02
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _XSControl_ConnectedShapes_HeaderFile
0018 #define _XSControl_ConnectedShapes_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <IFSelect_SelectExplore.hxx>
0024 #include <Standard_Integer.hxx>
0025 #include <TColStd_HSequenceOfTransient.hxx>
0026 #include <TopAbs_ShapeEnum.hxx>
0027 class XSControl_TransferReader;
0028 class Standard_Transient;
0029 class Interface_Graph;
0030 class Interface_EntityIterator;
0031 class TCollection_AsciiString;
0032 class TopoDS_Shape;
0033 class Transfer_TransientProcess;
0034
0035 class XSControl_ConnectedShapes;
0036 DEFINE_STANDARD_HANDLE(XSControl_ConnectedShapes, IFSelect_SelectExplore)
0037
0038
0039
0040
0041 class XSControl_ConnectedShapes : public IFSelect_SelectExplore
0042 {
0043
0044 public:
0045
0046
0047 Standard_EXPORT XSControl_ConnectedShapes();
0048
0049
0050
0051 Standard_EXPORT XSControl_ConnectedShapes(const Handle(XSControl_TransferReader)& TR);
0052
0053
0054
0055 Standard_EXPORT void SetReader(const Handle(XSControl_TransferReader)& TR);
0056
0057
0058
0059 Standard_EXPORT Standard_Boolean
0060 Explore(const Standard_Integer level,
0061 const Handle(Standard_Transient)& ent,
0062 const Interface_Graph& G,
0063 Interface_EntityIterator& explored) const Standard_OVERRIDE;
0064
0065
0066
0067 Standard_EXPORT TCollection_AsciiString ExploreLabel() const Standard_OVERRIDE;
0068
0069
0070
0071 Standard_EXPORT static Handle(TColStd_HSequenceOfTransient) AdjacentEntities(
0072 const TopoDS_Shape& ashape,
0073 const Handle(Transfer_TransientProcess)& TP,
0074 const TopAbs_ShapeEnum type);
0075
0076 DEFINE_STANDARD_RTTIEXT(XSControl_ConnectedShapes, IFSelect_SelectExplore)
0077
0078 protected:
0079 private:
0080 Handle(XSControl_TransferReader) theTR;
0081 };
0082
0083 #endif