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> |
23 | #include <BOPCol_ListOfShape.hxx> |
24 | #include <BOPAlgo_PBuilder.hxx> |
25 | #include <Standard_Boolean.hxx> |
26 | #include <Standard_Real.hxx> |
27 | class BOPAlgo_PaveFiller; |
28 | class BOPAlgo_Builder; |
29 | class BOPAlgo_BOP; |
30 | class BOPAlgo_Section; |
31 | |
32 | |
33 | |
34 | class BOPTest_Objects |
35 | { |
36 | public: |
37 | |
38 | DEFINE_STANDARD_ALLOC |
39 | |
40 | |
41 | Standard_EXPORT static BOPAlgo_PaveFiller& PaveFiller(); |
42 | |
43 | Standard_EXPORT static void Init(); |
44 | |
45 | Standard_EXPORT static void Clear(); |
46 | |
47 | Standard_EXPORT static BOPDS_PDS PDS(); |
48 | |
49 | Standard_EXPORT static BOPAlgo_Builder& Builder(); |
50 | |
51 | Standard_EXPORT static BOPAlgo_BOP& BOP(); |
52 | |
53 | Standard_EXPORT static BOPAlgo_Section& Section(); |
54 | |
55 | Standard_EXPORT static BOPCol_ListOfShape& Shapes(); |
56 | |
57 | Standard_EXPORT static BOPCol_ListOfShape& Tools(); |
58 | |
59 | Standard_EXPORT static void SetBuilder (const BOPAlgo_PBuilder& theBuilder); |
60 | |
61 | Standard_EXPORT static void SetBuilderDefault(); |
62 | |
63 | Standard_EXPORT static void SetRunParallel (const Standard_Boolean theFlag); |
64 | |
65 | Standard_EXPORT static Standard_Boolean RunParallel(); |
66 | |
67 | Standard_EXPORT static void SetFuzzyValue (const Standard_Real theValue); |
68 | |
69 | Standard_EXPORT static Standard_Real FuzzyValue(); |
70 | |
71 | |
72 | |
73 | |
74 | protected: |
75 | |
76 | |
77 | |
78 | |
79 | |
80 | private: |
81 | |
82 | |
83 | |
84 | |
85 | |
86 | }; |
87 | |
88 | |
89 | |
90 | |
91 | |
92 | |
93 | |
94 | #endif // _BOPTest_Objects_HeaderFile |