File indexing completed on 2025-01-18 10:03:11
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepFill_Generator_HeaderFile
0018 #define _BRepFill_Generator_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <BRepFill_ThruSectionErrorStatus.hxx>
0024 #include <TopTools_SequenceOfShape.hxx>
0025 #include <TopoDS_Shell.hxx>
0026 #include <TopTools_DataMapOfShapeListOfShape.hxx>
0027 #include <TopTools_DataMapOfShapeShape.hxx>
0028 #include <TopTools_ListOfShape.hxx>
0029 #include <BRepTools_ReShape.hxx>
0030 class TopoDS_Wire;
0031 class TopoDS_Shape;
0032
0033
0034
0035
0036
0037 class BRepFill_Generator
0038 {
0039 public:
0040
0041 DEFINE_STANDARD_ALLOC
0042
0043
0044 Standard_EXPORT BRepFill_Generator();
0045
0046 Standard_EXPORT void AddWire (const TopoDS_Wire& Wire);
0047
0048
0049 Standard_EXPORT void Perform();
0050
0051 const TopoDS_Shell& Shell() const;
0052
0053
0054 Standard_EXPORT const TopTools_DataMapOfShapeListOfShape& Generated() const;
0055
0056
0057
0058 Standard_EXPORT const TopTools_ListOfShape& GeneratedShapes (const TopoDS_Shape& SSection) const;
0059
0060
0061
0062 Standard_EXPORT TopoDS_Shape ResultShape (const TopoDS_Shape& theShape) const;
0063
0064
0065
0066
0067 Standard_EXPORT void SetMutableInput(const Standard_Boolean theIsMutableInput);
0068
0069
0070 Standard_EXPORT Standard_Boolean IsMutableInput() const;
0071
0072
0073 BRepFill_ThruSectionErrorStatus GetStatus() const
0074 {
0075 return myStatus;
0076 }
0077
0078 protected:
0079
0080 private:
0081
0082 TopTools_SequenceOfShape myWires;
0083 TopoDS_Shell myShell;
0084 TopTools_DataMapOfShapeListOfShape myMap;
0085 TopTools_DataMapOfShapeShape myOldNewShapes;
0086 BRepTools_ReShape myReshaper;
0087 Standard_Boolean myMutableInput;
0088 BRepFill_ThruSectionErrorStatus myStatus;
0089
0090 };
0091
0092 #include <BRepFill_Generator.lxx>
0093
0094 #endif