0028786: Refactoring of the Warning/Error reporting system of Boolean Operations...
[occt.git] / src / BOPTest / BOPTest_Objects.hxx
CommitLineData
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>
338434c7 27#include <BOPAlgo_CellsBuilder.hxx>
483ce1bd 28#include <BOPAlgo_GlueEnum.hxx>
29//
42cf5bc1 30class BOPAlgo_PaveFiller;
31class BOPAlgo_Builder;
32class BOPAlgo_BOP;
33class BOPAlgo_Section;
c58055ad 34class BOPAlgo_Splitter;
42cf5bc1 35
36
c58055ad 37class BOPTest_Objects
42cf5bc1 38{
39public:
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
42cf5bc1 62 Standard_EXPORT static BOPCol_ListOfShape& Shapes();
63
64 Standard_EXPORT static BOPCol_ListOfShape& Tools();
65
66 Standard_EXPORT static void SetBuilder (const BOPAlgo_PBuilder& theBuilder);
67
68 Standard_EXPORT static void SetBuilderDefault();
69
70 Standard_EXPORT static void SetRunParallel (const Standard_Boolean theFlag);
71
72 Standard_EXPORT static Standard_Boolean RunParallel();
73
74 Standard_EXPORT static void SetFuzzyValue (const Standard_Real theValue);
75
76 Standard_EXPORT static Standard_Real FuzzyValue();
77
3510db62 78 Standard_EXPORT static void SetNonDestructive(const Standard_Boolean theFlag);
79
80 Standard_EXPORT static Standard_Boolean NonDestructive();
81
483ce1bd 82 Standard_EXPORT static void SetGlue(const BOPAlgo_GlueEnum aGlue);
42cf5bc1 83
483ce1bd 84 Standard_EXPORT static BOPAlgo_GlueEnum Glue();
42cf5bc1 85
33ba8565 86 Standard_EXPORT static void SetDrawWarnShapes(const Standard_Boolean bDraw);
87
88 Standard_EXPORT static Standard_Boolean DrawWarnShapes();
42cf5bc1 89
90protected:
91
42cf5bc1 92private:
93
42cf5bc1 94};
95
42cf5bc1 96#endif // _BOPTest_Objects_HeaderFile