File indexing completed on 2025-01-18 10:05:25
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRepBuild_SolidBuilder_HeaderFile
0018 #define _TopOpeBRepBuild_SolidBuilder_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <TopOpeBRepBuild_LoopSet.hxx>
0024 #include <TopOpeBRepBuild_BlockIterator.hxx>
0025 #include <TopOpeBRepBuild_BlockBuilder.hxx>
0026 #include <TopOpeBRepBuild_SolidAreaBuilder.hxx>
0027 #include <Standard_Integer.hxx>
0028 class TopOpeBRepBuild_ShellFaceSet;
0029 class TopoDS_Shape;
0030 class TopOpeBRepBuild_ShapeSet;
0031
0032
0033
0034 class TopOpeBRepBuild_SolidBuilder
0035 {
0036 public:
0037
0038 DEFINE_STANDARD_ALLOC
0039
0040
0041 Standard_EXPORT TopOpeBRepBuild_SolidBuilder();
0042
0043
0044
0045 Standard_EXPORT TopOpeBRepBuild_SolidBuilder(TopOpeBRepBuild_ShellFaceSet& FS, const Standard_Boolean ForceClass = Standard_False);
0046
0047 Standard_EXPORT void InitSolidBuilder (TopOpeBRepBuild_ShellFaceSet& FS, const Standard_Boolean ForceClass);
0048
0049 Standard_EXPORT Standard_Integer InitSolid();
0050
0051 Standard_EXPORT Standard_Boolean MoreSolid() const;
0052
0053 Standard_EXPORT void NextSolid();
0054
0055 Standard_EXPORT Standard_Integer InitShell();
0056
0057 Standard_EXPORT Standard_Boolean MoreShell() const;
0058
0059 Standard_EXPORT void NextShell();
0060
0061 Standard_EXPORT Standard_Boolean IsOldShell() const;
0062
0063
0064
0065
0066
0067 Standard_EXPORT const TopoDS_Shape& OldShell() const;
0068
0069 Standard_EXPORT Standard_Integer InitFace();
0070
0071 Standard_EXPORT Standard_Boolean MoreFace() const;
0072
0073 Standard_EXPORT void NextFace();
0074
0075
0076 Standard_EXPORT const TopoDS_Shape& Face() const;
0077
0078
0079
0080
0081 protected:
0082
0083
0084
0085
0086
0087 private:
0088
0089
0090 Standard_EXPORT void MakeLoops (TopOpeBRepBuild_ShapeSet& SS);
0091
0092
0093 TopOpeBRepBuild_LoopSet myLoopSet;
0094 TopOpeBRepBuild_BlockIterator myBlockIterator;
0095 TopOpeBRepBuild_BlockBuilder myBlockBuilder;
0096 TopOpeBRepBuild_SolidAreaBuilder mySolidAreaBuilder;
0097
0098
0099 };
0100
0101
0102
0103
0104
0105
0106
0107 #endif