summaryrefslogtreecommitdiff
path: root/src/BOPTest/BOPTest.cxx
blob: 510f6fc11a35adb09ac53a2ed8aa48f4255e72bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// File:	MTest.cxx
// Created:	Thu May 18 10:42:37 2000
// Author:	Peter KURNEV
//		<pkv@irinox>


#include <BOPTest.ixx>
#include <DBRep.hxx>
#include <Draw_Interpretor.hxx>
#include <GeomliteTest.hxx>
#include <GeometryTest.hxx>
#include <BRepTest.hxx>
#include <MeshTest.hxx>
//#include <CorrectTest.hxx>
#include <HLRTest.hxx>

//=======================================================================
//function : AllCommands
//purpose  : 
//=======================================================================
  void  BOPTest::AllCommands(Draw_Interpretor& theCommands)
{
  static Standard_Boolean done = Standard_False;
  if (done) return;

  done = Standard_True;
  
  BOPTest::MTestCommands (theCommands);
  BOPTest::TSTCommands(theCommands);
  BOPTest::EFCommands (theCommands);
  BOPTest::LowCommands(theCommands);
  BOPTest::BOPCommands(theCommands);
  BOPTest::WSplitCommands(theCommands);
  BOPTest::CurveCommands(theCommands);
  BOPTest::TolerCommands(theCommands);
  BOPTest::CheckCommands(theCommands);
}

//==============================================================================
// BOPTest::Factory
//==============================================================================
void BOPTest::Factory(Draw_Interpretor& theDI)
{
  static Standard_Boolean FactoryDone = Standard_False;
  if (FactoryDone) return;

  FactoryDone = Standard_True;
  
  DBRep::BasicCommands(theDI);
  GeomliteTest::AllCommands(theDI);
  GeometryTest::AllCommands(theDI);
  BRepTest::AllCommands(theDI);
  MeshTest::Commands(theDI);
  //CorrectTest::CorrectCommands(theDI);
  HLRTest::Commands(theDI);
  BOPTest::AllCommands(theDI);

#ifdef DEB
      theDI << "Draw Plugin : All Geometry & Topology commands are loaded" << "\n";
#endif
}