File indexing completed on 2025-01-18 10:05:36
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _XSAlgo_AlgoContainer_HeaderFile
0017 #define _XSAlgo_AlgoContainer_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021
0022 #include <Message_ProgressRange.hxx>
0023 #include <Standard_Integer.hxx>
0024 #include <Standard_Transient.hxx>
0025 #include <TopAbs_ShapeEnum.hxx>
0026
0027 class ShapeBuild_ReShape;
0028 class XSAlgo_ToolContainer;
0029 class TopoDS_Shape;
0030 class TopoDS_Edge;
0031 class TopoDS_Face;
0032 class Transfer_TransientProcess;
0033 class Transfer_FinderProcess;
0034
0035 class XSAlgo_AlgoContainer;
0036 DEFINE_STANDARD_HANDLE(XSAlgo_AlgoContainer, Standard_Transient)
0037
0038
0039 class XSAlgo_AlgoContainer : public Standard_Transient
0040 {
0041
0042 public:
0043
0044
0045
0046 Standard_EXPORT XSAlgo_AlgoContainer();
0047
0048
0049 void SetToolContainer (const Handle(XSAlgo_ToolContainer)& TC);
0050
0051
0052 Handle(XSAlgo_ToolContainer) ToolContainer() const;
0053
0054
0055
0056 Standard_EXPORT virtual void PrepareForTransfer() const;
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068 Standard_EXPORT virtual TopoDS_Shape ProcessShape (const TopoDS_Shape& theShape,
0069 const Standard_Real thePrec,
0070 const Standard_Real theMaxTol,
0071 const Standard_CString thePrscfile,
0072 const Standard_CString thePseq,
0073 Handle(Standard_Transient)& theInfo,
0074 const Message_ProgressRange& theProgress = Message_ProgressRange(),
0075 const Standard_Boolean theNonManifold = Standard_False,
0076 const TopAbs_ShapeEnum theDetalisationLevel = TopAbs_VERTEX) const;
0077
0078
0079
0080
0081
0082
0083
0084
0085
0086
0087
0088
0089 Standard_EXPORT virtual TopoDS_Shape ProcessShape(const TopoDS_Shape& theShape,
0090 const Standard_Real thePrec,
0091 const Standard_Real theMaxTol,
0092 const Standard_CString thePrscfile,
0093 const Standard_CString thePseq,
0094 Handle(Standard_Transient)& theInfo,
0095 const Handle(ShapeBuild_ReShape)& theReShape,
0096 const Message_ProgressRange& theProgress = Message_ProgressRange(),
0097 const Standard_Boolean theNonManifold = Standard_False,
0098 const TopAbs_ShapeEnum theDetalisationLevel = TopAbs_VERTEX) const;
0099
0100
0101
0102 Standard_EXPORT virtual Standard_Boolean CheckPCurve (const TopoDS_Edge& edge, const TopoDS_Face& face, const Standard_Real preci, const Standard_Boolean isSeam) const;
0103
0104 Standard_EXPORT virtual void MergeTransferInfo (const Handle(Transfer_TransientProcess)& TP, const Handle(Standard_Transient)& info, const Standard_Integer startTPitem = 1) const;
0105
0106
0107
0108
0109
0110
0111 Standard_EXPORT virtual void MergeTransferInfo (const Handle(Transfer_FinderProcess)& FP, const Handle(Standard_Transient)& info) const;
0112
0113
0114
0115
0116 DEFINE_STANDARD_RTTIEXT(XSAlgo_AlgoContainer,Standard_Transient)
0117
0118 protected:
0119
0120
0121
0122
0123 private:
0124
0125
0126 Handle(XSAlgo_ToolContainer) myTC;
0127
0128
0129 };
0130
0131
0132 #include <XSAlgo_AlgoContainer.lxx>
0133
0134
0135
0136
0137
0138 #endif