File indexing completed on 2026-12-03 10:57:11
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TransferBRep_HeaderFile
0018 #define _TransferBRep_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TopoDS_Shape.hxx>
0025 #include <NCollection_Sequence.hxx>
0026 #include <NCollection_HSequence.hxx>
0027 #include <Standard_Boolean.hxx>
0028 #include <Standard_Transient.hxx>
0029 #include <TopAbs_Orientation.hxx>
0030 #include <TransferBRep_TransferResultInfo.hxx>
0031 #include <Standard_Integer.hxx>
0032 class TopoDS_Shape;
0033 class Transfer_Binder;
0034 class Transfer_TransientProcess;
0035 class Standard_Transient;
0036 class Transfer_FinderProcess;
0037 class TransferBRep_ShapeMapper;
0038 class Message_Printer;
0039 class Message_Msg;
0040 class TransferBRep_TransferResultInfo;
0041 class Interface_CheckIterator;
0042 class Interface_InterfaceModel;
0043
0044
0045
0046
0047 class TransferBRep
0048 {
0049 public:
0050 DEFINE_STANDARD_ALLOC
0051
0052
0053
0054 Standard_EXPORT static TopoDS_Shape ShapeResult(const occ::handle<Transfer_Binder>& binder);
0055
0056
0057
0058
0059 Standard_EXPORT static TopoDS_Shape ShapeResult(const occ::handle<Transfer_TransientProcess>& TP,
0060 const occ::handle<Standard_Transient>& ent);
0061
0062
0063
0064
0065 Standard_EXPORT static void SetShapeResult(const occ::handle<Transfer_TransientProcess>& TP,
0066 const occ::handle<Standard_Transient>& ent,
0067 const TopoDS_Shape& result);
0068
0069
0070
0071
0072 Standard_EXPORT static occ::handle<NCollection_HSequence<TopoDS_Shape>> Shapes(
0073 const occ::handle<Transfer_TransientProcess>& TP,
0074 const bool rootsonly = true);
0075
0076
0077
0078
0079 Standard_EXPORT static occ::handle<NCollection_HSequence<TopoDS_Shape>> Shapes(
0080 const occ::handle<Transfer_TransientProcess>& TP,
0081 const occ::handle<NCollection_HSequence<occ::handle<Standard_Transient>>>& list);
0082
0083
0084
0085
0086
0087
0088 Standard_EXPORT static TopAbs_Orientation ShapeState(
0089 const occ::handle<Transfer_FinderProcess>& FP,
0090 const TopoDS_Shape& shape);
0091
0092
0093
0094 Standard_EXPORT static occ::handle<Transfer_Binder> ResultFromShape(
0095 const occ::handle<Transfer_FinderProcess>& FP,
0096 const TopoDS_Shape& shape);
0097
0098
0099
0100 Standard_EXPORT static occ::handle<Standard_Transient> TransientFromShape(
0101 const occ::handle<Transfer_FinderProcess>& FP,
0102 const TopoDS_Shape& shape);
0103
0104
0105
0106 Standard_EXPORT static void SetTransientFromShape(const occ::handle<Transfer_FinderProcess>& FP,
0107 const TopoDS_Shape& shape,
0108 const occ::handle<Standard_Transient>& result);
0109
0110
0111
0112
0113
0114 Standard_EXPORT static occ::handle<TransferBRep_ShapeMapper> ShapeMapper(
0115 const occ::handle<Transfer_FinderProcess>& FP,
0116 const TopoDS_Shape& shape);
0117
0118
0119
0120
0121
0122
0123 Standard_EXPORT static void TransferResultInfo(
0124 const occ::handle<Transfer_TransientProcess>& TP,
0125 const occ::handle<NCollection_HSequence<occ::handle<Standard_Transient>>>& EntityTypes,
0126 occ::handle<NCollection_HSequence<occ::handle<TransferBRep_TransferResultInfo>>>& InfoSeq);
0127
0128
0129
0130
0131
0132 Standard_EXPORT static void TransferResultInfo(
0133 const occ::handle<Transfer_FinderProcess>& FP,
0134 const occ::handle<NCollection_HSequence<int>>& ShapeTypes,
0135 occ::handle<NCollection_HSequence<occ::handle<TransferBRep_TransferResultInfo>>>& InfoSeq);
0136
0137
0138 Standard_EXPORT static void PrintResultInfo(
0139 const occ::handle<Message_Printer>& Printer,
0140 const Message_Msg& Header,
0141 const occ::handle<TransferBRep_TransferResultInfo>& ResultInfo,
0142 const bool printEmpty = true);
0143
0144
0145
0146
0147
0148
0149
0150
0151
0152
0153 Standard_EXPORT static Interface_CheckIterator BRepCheck(const TopoDS_Shape& shape,
0154 const int lev = 1);
0155
0156
0157
0158
0159
0160
0161
0162
0163 Standard_EXPORT static Interface_CheckIterator ResultCheckList(
0164 const Interface_CheckIterator& chl,
0165 const occ::handle<Transfer_FinderProcess>& FP,
0166 const occ::handle<Interface_InterfaceModel>& model);
0167
0168
0169
0170
0171
0172
0173 Standard_EXPORT static occ::handle<NCollection_HSequence<occ::handle<Standard_Transient>>>
0174 Checked(const Interface_CheckIterator& chl, const bool alsoshapes = false);
0175
0176
0177
0178 Standard_EXPORT static occ::handle<NCollection_HSequence<TopoDS_Shape>> CheckedShapes(
0179 const Interface_CheckIterator& chl);
0180
0181
0182
0183
0184
0185 Standard_EXPORT static Interface_CheckIterator CheckObject(
0186 const Interface_CheckIterator& chl,
0187 const occ::handle<Standard_Transient>& obj);
0188 };
0189
0190 #endif