42cf5bc1 |
1 | // Created by: Peter KURNEV |
2 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
3 | // |
4 | // This file is part of Open CASCADE Technology software library. |
5 | // |
6 | // This library is free software; you can redistribute it and/or modify it under |
7 | // the terms of the GNU Lesser General Public License version 2.1 as published |
8 | // by the Free Software Foundation, with special exception defined in the file |
9 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
10 | // distribution for complete text of the license and disclaimer of any warranty. |
11 | // |
12 | // Alternatively, this file may be used under the terms of Open CASCADE |
13 | // commercial license or contractual agreement. |
14 | |
15 | #ifndef _BOPTest_Objects_HeaderFile |
16 | #define _BOPTest_Objects_HeaderFile |
17 | |
18 | #include <Standard.hxx> |
19 | #include <Standard_DefineAlloc.hxx> |
20 | #include <Standard_Handle.hxx> |
21 | |
22 | #include <BOPDS_PDS.hxx> |
1155d05a |
23 | #include <TopTools_ListOfShape.hxx> |
42cf5bc1 |
24 | #include <BOPAlgo_PBuilder.hxx> |
25 | #include <Standard_Boolean.hxx> |
26 | #include <Standard_Real.hxx> |
338434c7 |
27 | #include <BOPAlgo_CellsBuilder.hxx> |
483ce1bd |
28 | #include <BOPAlgo_GlueEnum.hxx> |
29 | // |
42cf5bc1 |
30 | class BOPAlgo_PaveFiller; |
31 | class BOPAlgo_Builder; |
32 | class BOPAlgo_BOP; |
33 | class BOPAlgo_Section; |
c58055ad |
34 | class BOPAlgo_Splitter; |
42cf5bc1 |
35 | |
36 | |
c58055ad |
37 | class BOPTest_Objects |
42cf5bc1 |
38 | { |
39 | public: |
40 | |
41 | DEFINE_STANDARD_ALLOC |
42 | |
43 | |
44 | Standard_EXPORT static BOPAlgo_PaveFiller& PaveFiller(); |
45 | |
46 | Standard_EXPORT static void Init(); |
47 | |
48 | Standard_EXPORT static void Clear(); |
49 | |
50 | Standard_EXPORT static BOPDS_PDS PDS(); |
51 | |
52 | Standard_EXPORT static BOPAlgo_Builder& Builder(); |
53 | |
54 | Standard_EXPORT static BOPAlgo_BOP& BOP(); |
55 | |
56 | Standard_EXPORT static BOPAlgo_Section& Section(); |
57 | |
338434c7 |
58 | Standard_EXPORT static BOPAlgo_CellsBuilder& CellsBuilder(); |
59 | |
c58055ad |
60 | Standard_EXPORT static BOPAlgo_Splitter& Splitter(); |
61 | |
1155d05a |
62 | Standard_EXPORT static TopTools_ListOfShape& Shapes(); |
42cf5bc1 |
63 | |
1155d05a |
64 | Standard_EXPORT static TopTools_ListOfShape& Tools(); |
42cf5bc1 |
65 | |
66 | Standard_EXPORT static void SetBuilder (const BOPAlgo_PBuilder& theBuilder); |
67 | |
68 | Standard_EXPORT static void SetBuilderDefault(); |
948fe6ca |
69 | |
70 | Standard_EXPORT static void SetDefaultOptions(); |
71 | |
42cf5bc1 |
72 | Standard_EXPORT static void SetRunParallel (const Standard_Boolean theFlag); |
73 | |
74 | Standard_EXPORT static Standard_Boolean RunParallel(); |
75 | |
76 | Standard_EXPORT static void SetFuzzyValue (const Standard_Real theValue); |
77 | |
78 | Standard_EXPORT static Standard_Real FuzzyValue(); |
79 | |
3510db62 |
80 | Standard_EXPORT static void SetNonDestructive(const Standard_Boolean theFlag); |
81 | |
82 | Standard_EXPORT static Standard_Boolean NonDestructive(); |
83 | |
483ce1bd |
84 | Standard_EXPORT static void SetGlue(const BOPAlgo_GlueEnum aGlue); |
42cf5bc1 |
85 | |
483ce1bd |
86 | Standard_EXPORT static BOPAlgo_GlueEnum Glue(); |
42cf5bc1 |
87 | |
33ba8565 |
88 | Standard_EXPORT static void SetDrawWarnShapes(const Standard_Boolean bDraw); |
89 | |
90 | Standard_EXPORT static Standard_Boolean DrawWarnShapes(); |
42cf5bc1 |
91 | |
98b37659 |
92 | Standard_EXPORT static void SetCheckInverted(const Standard_Boolean bCheck); |
93 | |
94 | Standard_EXPORT static Standard_Boolean CheckInverted(); |
95 | |
944768d2 |
96 | Standard_EXPORT static void SetUseOBB(const Standard_Boolean bUseOBB); |
97 | |
98 | Standard_EXPORT static Standard_Boolean UseOBB(); |
99 | |
948fe6ca |
100 | Standard_EXPORT static void SetUnifyEdges(const Standard_Boolean bUE); |
101 | Standard_EXPORT static Standard_Boolean UnifyEdges(); |
102 | |
103 | Standard_EXPORT static void SetUnifyFaces(const Standard_Boolean bUF); |
104 | Standard_EXPORT static Standard_Boolean UnifyFaces(); |
105 | |
106 | Standard_EXPORT static void SetAngular(const Standard_Real bAngTol); |
107 | Standard_EXPORT static Standard_Real Angular(); |
108 | |
42cf5bc1 |
109 | protected: |
110 | |
42cf5bc1 |
111 | private: |
112 | |
42cf5bc1 |
113 | }; |
114 | |
42cf5bc1 |
115 | #endif // _BOPTest_Objects_HeaderFile |