42cf5bc1 |
1 | // Created on: 2000-05-18 |
2 | // Created by: Peter KURNEV |
3 | // Copyright (c) 2000-2014 OPEN CASCADE SAS |
4 | // |
5 | // This file is part of Open CASCADE Technology software library. |
6 | // |
7 | // This library is free software; you can redistribute it and/or modify it under |
8 | // the terms of the GNU Lesser General Public License version 2.1 as published |
9 | // by the Free Software Foundation, with special exception defined in the file |
10 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | // distribution for complete text of the license and disclaimer of any warranty. |
12 | // |
13 | // Alternatively, this file may be used under the terms of Open CASCADE |
14 | // commercial license or contractual agreement. |
15 | |
16 | #ifndef _BOPTest_HeaderFile |
17 | #define _BOPTest_HeaderFile |
18 | |
19 | #include <Standard.hxx> |
20 | #include <Standard_DefineAlloc.hxx> |
21 | #include <Standard_Handle.hxx> |
22 | |
23 | #include <Draw_Interpretor.hxx> |
24 | class BOPTest_Objects; |
25 | class BOPTest_DrawableShape; |
d9ca2e0c |
26 | class Message_Report; |
42cf5bc1 |
27 | |
28 | class BOPTest |
29 | { |
30 | public: |
31 | |
32 | DEFINE_STANDARD_ALLOC |
33 | |
34 | |
35 | Standard_EXPORT static void AllCommands (Draw_Interpretor& aDI); |
36 | |
37 | Standard_EXPORT static void BOPCommands (Draw_Interpretor& aDI); |
38 | |
39 | Standard_EXPORT static void CheckCommands (Draw_Interpretor& aDI); |
40 | |
41 | Standard_EXPORT static void TolerCommands (Draw_Interpretor& aDI); |
42 | |
43 | Standard_EXPORT static void LowCommands (Draw_Interpretor& aDI); |
44 | |
45 | Standard_EXPORT static void ObjCommands (Draw_Interpretor& aDI); |
46 | |
47 | Standard_EXPORT static void PartitionCommands (Draw_Interpretor& aDI); |
48 | |
49 | Standard_EXPORT static void APICommands (Draw_Interpretor& aDI); |
50 | |
51 | Standard_EXPORT static void OptionCommands (Draw_Interpretor& aDI); |
52 | |
53 | Standard_EXPORT static void Factory (Draw_Interpretor& aDI); |
54 | |
a493b4a1 |
55 | Standard_EXPORT static void HistoryCommands (Draw_Interpretor& aDI); |
42cf5bc1 |
56 | |
b1682e23 |
57 | Standard_EXPORT static void DebugCommands (Draw_Interpretor& aDI); |
d5f0e4ad |
58 | |
338434c7 |
59 | Standard_EXPORT static void CellsCommands (Draw_Interpretor& aDI); |
6ca1c746 |
60 | |
61 | Standard_EXPORT static void UtilityCommands (Draw_Interpretor& aDI); |
42cf5bc1 |
62 | |
d9ca2e0c |
63 | Standard_EXPORT static void RemoveFeaturesCommands (Draw_Interpretor& aDI); |
64 | |
33ba8565 |
65 | //! Prints errors and warnings if any and draws attached shapes |
66 | //! if flag BOPTest_Objects::DrawWarnShapes() is set |
d9ca2e0c |
67 | Standard_EXPORT static void ReportAlerts (const Handle(Message_Report)& theReport); |
42cf5bc1 |
68 | |
33ba8565 |
69 | protected: |
42cf5bc1 |
70 | |
71 | private: |
72 | |
42cf5bc1 |
73 | friend class BOPTest_Objects; |
74 | friend class BOPTest_DrawableShape; |
75 | |
76 | }; |
77 | |
42cf5bc1 |
78 | #endif // _BOPTest_HeaderFile |