Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:16

0001 // Created on: 1991-06-25
0002 // Created by: Christophe MARION
0003 // Copyright (c) 1991-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _BRepTest_HeaderFile
0018 #define _BRepTest_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023 
0024 #include <Draw_Interpretor.hxx>
0025 
0026 
0027 //! Provides commands to test BRep.
0028 class BRepTest 
0029 {
0030 public:
0031 
0032   DEFINE_STANDARD_ALLOC
0033 
0034   
0035   //! Defines all the topology commands.
0036   Standard_EXPORT static void AllCommands (Draw_Interpretor& DI);
0037   
0038   //! Defines the basic commands.
0039   Standard_EXPORT static void BasicCommands (Draw_Interpretor& DI);
0040   
0041   //! Defines the commands to build edges and wires.
0042   Standard_EXPORT static void CurveCommands (Draw_Interpretor& DI);
0043   
0044   //! Defines the  commands  to perform add  fillets on
0045   //! wires and  edges.
0046   Standard_EXPORT static void Fillet2DCommands (Draw_Interpretor& DI);
0047   
0048   //! Defines the commands to build faces and shells.
0049   Standard_EXPORT static void SurfaceCommands (Draw_Interpretor& DI);
0050   
0051   //! Defines the commands to build primitives.
0052   Standard_EXPORT static void PrimitiveCommands (Draw_Interpretor& DI);
0053   
0054   //! Defines the commands to build primitives.
0055   Standard_EXPORT static void FillingCommands (Draw_Interpretor& DI);
0056   
0057   //! Defines the commands to sweep shapes.
0058   Standard_EXPORT static void SweepCommands (Draw_Interpretor& DI);
0059   
0060   //! Defines  the    commands   to perform  topological
0061   //! operations.
0062   Standard_EXPORT static void TopologyCommands (Draw_Interpretor& DI);
0063   
0064   //! Defines  the commands  to perform  add  fillets on
0065   //! shells.
0066   Standard_EXPORT static void FilletCommands (Draw_Interpretor& DI);
0067   
0068   //! Defines  the commands  to perform  add chamfers on
0069   //! shells.
0070   Standard_EXPORT static void ChamferCommands (Draw_Interpretor& DI);
0071   
0072   //! Defines commands to compute global properties.
0073   Standard_EXPORT static void GPropCommands (Draw_Interpretor& DI);
0074   
0075   //! Defines commands to compute and to explore the map of the
0076   //! Bisecting locus.
0077   Standard_EXPORT static void MatCommands (Draw_Interpretor& DI);
0078   
0079   //! Defines the commands to modify draft angles of the
0080   //! faces of a shape.
0081   Standard_EXPORT static void DraftAngleCommands (Draw_Interpretor& DI);
0082   
0083   //! Defines the commands to create features on a shape.
0084   Standard_EXPORT static void FeatureCommands (Draw_Interpretor& DI);
0085   
0086   //! Defines the auxiliary topology commands.
0087   Standard_EXPORT static void OtherCommands (Draw_Interpretor& DI);
0088   
0089   //! Defines the extrema commands.
0090   Standard_EXPORT static void ExtremaCommands (Draw_Interpretor& DI);
0091   
0092   //! Defines the checkshape command.
0093   Standard_EXPORT static void CheckCommands (Draw_Interpretor& DI);
0094   
0095   //! Defines the placement  command.
0096   Standard_EXPORT static void PlacementCommands (Draw_Interpretor& DI);
0097   
0098   //! Defines the commands to project a wire on a shape.
0099   Standard_EXPORT static void ProjectionCommands (Draw_Interpretor& DI);
0100 
0101   //! Defines the History commands for the algorithms.
0102   Standard_EXPORT static void HistoryCommands (Draw_Interpretor& DI);
0103 
0104 
0105 
0106 protected:
0107 
0108 
0109 
0110 
0111 
0112 private:
0113 
0114 
0115 
0116 
0117 
0118 };
0119 
0120 
0121 
0122 
0123 
0124 
0125 
0126 #endif // _BRepTest_HeaderFile