File indexing completed on 2025-01-18 10:04:57
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _ShapeProcessAPI_ApplySequence_HeaderFile
0018 #define _ShapeProcessAPI_ApplySequence_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TopTools_DataMapOfShapeShape.hxx>
0025 #include <TCollection_AsciiString.hxx>
0026 #include <Standard_CString.hxx>
0027 #include <TopAbs_ShapeEnum.hxx>
0028 #include <Message_ProgressRange.hxx>
0029
0030 class ShapeProcess_ShapeContext;
0031 class TopoDS_Shape;
0032
0033
0034 class ShapeProcessAPI_ApplySequence
0035 {
0036 public:
0037
0038 DEFINE_STANDARD_ALLOC
0039
0040
0041
0042
0043 Standard_EXPORT ShapeProcessAPI_ApplySequence(const Standard_CString rscName, const Standard_CString seqName = "");
0044
0045
0046
0047 Standard_EXPORT Handle(ShapeProcess_ShapeContext)& Context();
0048
0049
0050
0051
0052
0053 Standard_EXPORT TopoDS_Shape PrepareShape (const TopoDS_Shape& shape,
0054 const Standard_Boolean fillmap = Standard_False,
0055 const TopAbs_ShapeEnum until = TopAbs_SHAPE,
0056 const Message_ProgressRange& theProgress = Message_ProgressRange());
0057
0058
0059 Standard_EXPORT void ClearMap();
0060
0061
0062 Standard_EXPORT const TopTools_DataMapOfShapeShape& Map() const;
0063
0064
0065
0066
0067 Standard_EXPORT void PrintPreparationResult() const;
0068
0069
0070
0071
0072 protected:
0073
0074
0075
0076
0077
0078 private:
0079
0080
0081
0082 Handle(ShapeProcess_ShapeContext) myContext;
0083 TopTools_DataMapOfShapeShape myMap;
0084 TCollection_AsciiString mySeq;
0085
0086
0087 };
0088
0089
0090
0091
0092
0093
0094
0095 #endif