b311480e |
1 | // Created on: 2000-05-18 |
2 | // Created by: Peter KURNEV |
3 | // Copyright (c) 2000-2012 OPEN CASCADE SAS |
4 | // |
5 | // The content of this file is subject to the Open CASCADE Technology Public |
6 | // License Version 6.5 (the "License"). You may not use the content of this file |
7 | // except in compliance with the License. Please obtain a copy of the License |
8 | // at http://www.opencascade.org and read it completely before using this file. |
9 | // |
10 | // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
11 | // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
12 | // |
13 | // The Original Code and all software distributed under the License is |
14 | // distributed on an "AS IS" basis, without warranty of any kind, and the |
15 | // Initial Developer hereby disclaims all such warranties, including without |
16 | // limitation, any warranties of merchantability, fitness for a particular |
17 | // purpose or non-infringement. Please see the License for the specific terms |
18 | // and conditions governing the rights and limitations under the License. |
19 | |
7fd59977 |
20 | |
7fd59977 |
21 | #include <BOPTest.ixx> |
22 | #include <DBRep.hxx> |
23 | #include <Draw_Interpretor.hxx> |
24 | #include <GeomliteTest.hxx> |
25 | #include <GeometryTest.hxx> |
26 | #include <BRepTest.hxx> |
27 | #include <MeshTest.hxx> |
28 | //#include <CorrectTest.hxx> |
29 | #include <HLRTest.hxx> |
4e57c75e |
30 | //#include <stdio.h> |
7fd59977 |
31 | |
32 | //======================================================================= |
33 | //function : AllCommands |
34 | //purpose : |
35 | //======================================================================= |
b311480e |
36 | void BOPTest::AllCommands(Draw_Interpretor& theCommands) |
7fd59977 |
37 | { |
38 | static Standard_Boolean done = Standard_False; |
39 | if (done) return; |
7fd59977 |
40 | done = Standard_True; |
4e57c75e |
41 | // |
42 | BOPTest::BOPCommands (theCommands); |
43 | BOPTest::CheckCommands (theCommands); |
44 | BOPTest::LowCommands (theCommands); |
45 | BOPTest::TolerCommands (theCommands); |
46 | BOPTest::ObjCommands (theCommands); |
47 | BOPTest::PartitionCommands (theCommands); |
7fd59977 |
48 | } |
4e57c75e |
49 | //======================================================================= |
50 | //function : Factory |
51 | //purpose : |
52 | //======================================================================= |
53 | void BOPTest::Factory(Draw_Interpretor& theCommands) |
7fd59977 |
54 | { |
55 | static Standard_Boolean FactoryDone = Standard_False; |
56 | if (FactoryDone) return; |
57 | |
58 | FactoryDone = Standard_True; |
7fd59977 |
59 | |
4e57c75e |
60 | DBRep::BasicCommands(theCommands); |
61 | GeomliteTest::AllCommands(theCommands); |
62 | GeometryTest::AllCommands(theCommands); |
63 | BRepTest::AllCommands(theCommands); |
64 | MeshTest::Commands(theCommands); |
65 | //CorrectTest::CorrectCommands(theCommands); |
66 | HLRTest::Commands(theCommands); |
67 | BOPTest::AllCommands(theCommands); |
68 | //printf(" BOP Plugin is loaded\n"); |
7fd59977 |
69 | } |
4e57c75e |
70 | //#include <Draw_PluginMacro.hxx> |
71 | //DPLUGIN(BOPTest) |