1 // Created by: Peter KURNEV
2 // Copyright (c) 1999-2014 OPEN CASCADE SAS
4 // This file is part of Open CASCADE Technology software library.
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.
12 // Alternatively, this file may be used under the terms of Open CASCADE
13 // commercial license or contractual agreement.
15 #ifndef _BOPTest_Objects_HeaderFile
16 #define _BOPTest_Objects_HeaderFile
18 #include <Standard.hxx>
19 #include <Standard_DefineAlloc.hxx>
20 #include <Standard_Handle.hxx>
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 #include <BOPAlgo_CellsBuilder.hxx>
28 #include <BOPAlgo_GlueEnum.hxx>
30 class BOPAlgo_PaveFiller;
31 class BOPAlgo_Builder;
33 class BOPAlgo_Section;
34 class BOPAlgo_Splitter;
44 Standard_EXPORT static BOPAlgo_PaveFiller& PaveFiller();
46 Standard_EXPORT static void Init();
48 Standard_EXPORT static void Clear();
50 Standard_EXPORT static BOPDS_PDS PDS();
52 Standard_EXPORT static BOPAlgo_Builder& Builder();
54 Standard_EXPORT static BOPAlgo_BOP& BOP();
56 Standard_EXPORT static BOPAlgo_Section& Section();
58 Standard_EXPORT static BOPAlgo_CellsBuilder& CellsBuilder();
60 Standard_EXPORT static BOPAlgo_Splitter& Splitter();
62 Standard_EXPORT static BOPCol_ListOfShape& Shapes();
64 Standard_EXPORT static BOPCol_ListOfShape& Tools();
66 Standard_EXPORT static void SetBuilder (const BOPAlgo_PBuilder& theBuilder);
68 Standard_EXPORT static void SetBuilderDefault();
70 Standard_EXPORT static void SetRunParallel (const Standard_Boolean theFlag);
72 Standard_EXPORT static Standard_Boolean RunParallel();
74 Standard_EXPORT static void SetFuzzyValue (const Standard_Real theValue);
76 Standard_EXPORT static Standard_Real FuzzyValue();
78 Standard_EXPORT static void SetNonDestructive(const Standard_Boolean theFlag);
80 Standard_EXPORT static Standard_Boolean NonDestructive();
82 Standard_EXPORT static void SetGlue(const BOPAlgo_GlueEnum aGlue);
84 Standard_EXPORT static BOPAlgo_GlueEnum Glue();
86 Standard_EXPORT static void SetDrawWarnShapes(const Standard_Boolean bDraw);
88 Standard_EXPORT static Standard_Boolean DrawWarnShapes();
96 #endif // _BOPTest_Objects_HeaderFile