File indexing completed on 2025-10-30 08:49:00
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 
0036 class XSControl_ConnectedShapes;
0037 DEFINE_STANDARD_HANDLE(XSControl_ConnectedShapes, IFSelect_SelectExplore)
0038 
0039 
0040 
0041 
0042 class XSControl_ConnectedShapes : public IFSelect_SelectExplore
0043 {
0044 
0045 public:
0046 
0047   
0048   
0049   
0050   Standard_EXPORT XSControl_ConnectedShapes();
0051   
0052   
0053   
0054   Standard_EXPORT XSControl_ConnectedShapes(const Handle(XSControl_TransferReader)& TR);
0055   
0056   
0057   
0058   Standard_EXPORT void SetReader (const Handle(XSControl_TransferReader)& TR);
0059   
0060   
0061   
0062   Standard_EXPORT Standard_Boolean Explore (const Standard_Integer level, const Handle(Standard_Transient)& ent, const Interface_Graph& G, Interface_EntityIterator& explored) const Standard_OVERRIDE;
0063   
0064   
0065   
0066   Standard_EXPORT TCollection_AsciiString ExploreLabel() const Standard_OVERRIDE;
0067   
0068   
0069   
0070   Standard_EXPORT static Handle(TColStd_HSequenceOfTransient) AdjacentEntities (const TopoDS_Shape& ashape, const Handle(Transfer_TransientProcess)& TP, const TopAbs_ShapeEnum type);
0071 
0072 
0073 
0074 
0075   DEFINE_STANDARD_RTTIEXT(XSControl_ConnectedShapes,IFSelect_SelectExplore)
0076 
0077 protected:
0078 
0079 
0080 
0081 
0082 private:
0083 
0084 
0085   Handle(XSControl_TransferReader) theTR;
0086 
0087 
0088 };
0089 
0090 
0091 
0092 
0093 
0094 
0095 
0096 #endif