42cf5bc1 |
1 | // Created on: 1991-06-25 |
2 | // Created by: Christophe MARION |
3 | // Copyright (c) 1991-1999 Matra Datavision |
4 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
5 | // |
6 | // This file is part of Open CASCADE Technology software library. |
7 | // |
8 | // This library is free software; you can redistribute it and/or modify it under |
9 | // the terms of the GNU Lesser General Public License version 2.1 as published |
10 | // by the Free Software Foundation, with special exception defined in the file |
11 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | // distribution for complete text of the license and disclaimer of any warranty. |
13 | // |
14 | // Alternatively, this file may be used under the terms of Open CASCADE |
15 | // commercial license or contractual agreement. |
16 | |
17 | #ifndef _BRepTest_HeaderFile |
18 | #define _BRepTest_HeaderFile |
19 | |
20 | #include <Standard.hxx> |
21 | #include <Standard_DefineAlloc.hxx> |
22 | #include <Standard_Handle.hxx> |
23 | |
24 | #include <Draw_Interpretor.hxx> |
25 | |
26 | |
27 | //! Provides commands to test BRep. |
28 | class BRepTest |
29 | { |
30 | public: |
31 | |
32 | DEFINE_STANDARD_ALLOC |
33 | |
34 | |
35 | //! Defines all the topology commands. |
36 | Standard_EXPORT static void AllCommands (Draw_Interpretor& DI); |
37 | |
38 | //! Defines the basic commands. |
39 | Standard_EXPORT static void BasicCommands (Draw_Interpretor& DI); |
40 | |
41 | //! Defines the commands to build edges and wires. |
42 | Standard_EXPORT static void CurveCommands (Draw_Interpretor& DI); |
43 | |
44 | //! Defines the commands to perform add fillets on |
45 | //! wires and edges. |
46 | Standard_EXPORT static void Fillet2DCommands (Draw_Interpretor& DI); |
47 | |
48 | //! Defines the commands to build faces and shells. |
49 | Standard_EXPORT static void SurfaceCommands (Draw_Interpretor& DI); |
50 | |
51 | //! Defines the commands to build primitives. |
52 | Standard_EXPORT static void PrimitiveCommands (Draw_Interpretor& DI); |
53 | |
54 | //! Defines the commands to build primitives. |
55 | Standard_EXPORT static void FillingCommands (Draw_Interpretor& DI); |
56 | |
57 | //! Defines the commands to sweep shapes. |
58 | Standard_EXPORT static void SweepCommands (Draw_Interpretor& DI); |
59 | |
60 | //! Defines the commands to perform topological |
61 | //! operations. |
62 | Standard_EXPORT static void TopologyCommands (Draw_Interpretor& DI); |
63 | |
64 | //! Defines the commands to perform add fillets on |
65 | //! shells. |
66 | Standard_EXPORT static void FilletCommands (Draw_Interpretor& DI); |
67 | |
68 | //! Defines the commands to perform add chamfers on |
69 | //! shells. |
70 | Standard_EXPORT static void ChamferCommands (Draw_Interpretor& DI); |
71 | |
72 | //! Defines commands to compute global properties. |
73 | Standard_EXPORT static void GPropCommands (Draw_Interpretor& DI); |
74 | |
75 | //! Defines commands to compute and to explore the map of the |
76 | //! Bisecting locus. |
77 | Standard_EXPORT static void MatCommands (Draw_Interpretor& DI); |
78 | |
79 | //! Defines the commands to modify draft angles of the |
80 | //! faces of a shape. |
81 | Standard_EXPORT static void DraftAngleCommands (Draw_Interpretor& DI); |
82 | |
83 | //! Defines the commands to create features on a shape. |
84 | Standard_EXPORT static void FeatureCommands (Draw_Interpretor& DI); |
85 | |
86 | //! Defines the auxiliary topology commands. |
87 | Standard_EXPORT static void OtherCommands (Draw_Interpretor& DI); |
88 | |
89 | //! Defines the extrema commands. |
90 | Standard_EXPORT static void ExtremaCommands (Draw_Interpretor& DI); |
91 | |
92 | //! Defines the checkshape command. |
93 | Standard_EXPORT static void CheckCommands (Draw_Interpretor& DI); |
94 | |
95 | //! Defines the placement command. |
96 | Standard_EXPORT static void PlacementCommands (Draw_Interpretor& DI); |
97 | |
98 | //! Defines the commands to project a wire on a shape. |
99 | Standard_EXPORT static void ProjectionCommands (Draw_Interpretor& DI); |
100 | |
4f7d41ea |
101 | //! Defines the History commands for the algorithms. |
102 | Standard_EXPORT static void HistoryCommands (Draw_Interpretor& DI); |
42cf5bc1 |
103 | |
104 | |
105 | |
106 | protected: |
107 | |
108 | |
109 | |
110 | |
111 | |
112 | private: |
113 | |
114 | |
115 | |
116 | |
117 | |
118 | }; |
119 | |
120 | |
121 | |
122 | |
123 | |
124 | |
125 | |
126 | #endif // _BRepTest_HeaderFile |