File indexing completed on 2025-01-18 10:03:05
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef _BOPTest_Objects_HeaderFile
0016 #define _BOPTest_Objects_HeaderFile
0017
0018 #include <Standard.hxx>
0019 #include <Standard_DefineAlloc.hxx>
0020
0021 #include <BOPDS_PDS.hxx>
0022 #include <TopTools_ListOfShape.hxx>
0023 #include <BOPAlgo_PBuilder.hxx>
0024 #include <BOPAlgo_CellsBuilder.hxx>
0025 #include <BOPAlgo_GlueEnum.hxx>
0026
0027 class BOPAlgo_PaveFiller;
0028 class BOPAlgo_Builder;
0029 class BOPAlgo_BOP;
0030 class BOPAlgo_Section;
0031 class BOPAlgo_Splitter;
0032
0033
0034 class BOPTest_Objects
0035 {
0036 public:
0037
0038 DEFINE_STANDARD_ALLOC
0039
0040
0041 Standard_EXPORT static BOPAlgo_PaveFiller& PaveFiller();
0042
0043 Standard_EXPORT static void Init();
0044
0045 Standard_EXPORT static void Clear();
0046
0047 Standard_EXPORT static BOPDS_PDS PDS();
0048
0049 Standard_EXPORT static BOPAlgo_Builder& Builder();
0050
0051 Standard_EXPORT static BOPAlgo_BOP& BOP();
0052
0053 Standard_EXPORT static BOPAlgo_Section& Section();
0054
0055 Standard_EXPORT static BOPAlgo_CellsBuilder& CellsBuilder();
0056
0057 Standard_EXPORT static BOPAlgo_Splitter& Splitter();
0058
0059 Standard_EXPORT static TopTools_ListOfShape& Shapes();
0060
0061 Standard_EXPORT static TopTools_ListOfShape& Tools();
0062
0063 Standard_EXPORT static void SetBuilder (const BOPAlgo_PBuilder& theBuilder);
0064
0065 Standard_EXPORT static void SetBuilderDefault();
0066
0067 Standard_EXPORT static void SetDefaultOptions();
0068
0069 Standard_EXPORT static void SetRunParallel (const Standard_Boolean theFlag);
0070
0071 Standard_EXPORT static Standard_Boolean RunParallel();
0072
0073 Standard_EXPORT static void SetFuzzyValue (const Standard_Real theValue);
0074
0075 Standard_EXPORT static Standard_Real FuzzyValue();
0076
0077 Standard_EXPORT static void SetNonDestructive(const Standard_Boolean theFlag);
0078
0079 Standard_EXPORT static Standard_Boolean NonDestructive();
0080
0081 Standard_EXPORT static void SetGlue(const BOPAlgo_GlueEnum aGlue);
0082
0083 Standard_EXPORT static BOPAlgo_GlueEnum Glue();
0084
0085 Standard_EXPORT static void SetDrawWarnShapes(const Standard_Boolean bDraw);
0086
0087 Standard_EXPORT static Standard_Boolean DrawWarnShapes();
0088
0089 Standard_EXPORT static void SetCheckInverted(const Standard_Boolean bCheck);
0090
0091 Standard_EXPORT static Standard_Boolean CheckInverted();
0092
0093 Standard_EXPORT static void SetUseOBB(const Standard_Boolean bUseOBB);
0094
0095 Standard_EXPORT static Standard_Boolean UseOBB();
0096
0097 Standard_EXPORT static void SetUnifyEdges(const Standard_Boolean bUE);
0098 Standard_EXPORT static Standard_Boolean UnifyEdges();
0099
0100 Standard_EXPORT static void SetUnifyFaces(const Standard_Boolean bUF);
0101 Standard_EXPORT static Standard_Boolean UnifyFaces();
0102
0103 Standard_EXPORT static void SetAngular(const Standard_Real bAngTol);
0104 Standard_EXPORT static Standard_Real Angular();
0105
0106 protected:
0107
0108 private:
0109
0110 };
0111
0112 #endif