Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:04:57

0001 // Created on: 2000-08-31
0002 // Created by: Andrey BETENEV
0003 // Copyright (c) 2000-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _ShapeProcess_OperLibrary_HeaderFile
0017 #define _ShapeProcess_OperLibrary_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_DefineAlloc.hxx>
0021 #include <Standard_Handle.hxx>
0022 
0023 #include <TopTools_DataMapOfShapeShape.hxx>
0024 class TopoDS_Shape;
0025 class ShapeProcess_ShapeContext;
0026 class BRepTools_Modification;
0027 class ShapeExtend_MsgRegistrator;
0028 
0029 
0030 //! Provides a set of following operators
0031 //!
0032 //! DirectFaces
0033 //! FixShape
0034 //! SameParameter
0035 //! SetTolerance
0036 //! SplitAngle
0037 //! BSplineRestriction
0038 //! ElementaryToRevolution
0039 //! SurfaceToBSpline
0040 //! ToBezier
0041 //! SplitContinuity
0042 //! SplitClosedFaces
0043 //! FixWireGaps
0044 //! FixFaceSize
0045 //! DropSmallEdges
0046 //! FixShape
0047 //! SplitClosedEdges
0048 class ShapeProcess_OperLibrary 
0049 {
0050 public:
0051 
0052   DEFINE_STANDARD_ALLOC
0053 
0054   
0055   //! Registers all the operators
0056   Standard_EXPORT static void Init();
0057   
0058   //! Applies BRepTools_Modification to a shape,
0059   //! taking into account sharing of components of compounds.
0060   //! if theMutableInput vat is set to true then input shape S
0061   //! can be modified during the modification process.
0062   Standard_EXPORT static TopoDS_Shape ApplyModifier (const TopoDS_Shape& S, 
0063                                                      const Handle(ShapeProcess_ShapeContext)& context, 
0064                                                      const Handle(BRepTools_Modification)& M, 
0065                                                      TopTools_DataMapOfShapeShape& map,
0066                                                      const Handle(ShapeExtend_MsgRegistrator)& msg = 0,
0067                                                      Standard_Boolean theMutableInput = Standard_False);
0068 
0069 
0070 
0071 
0072 protected:
0073 
0074 
0075 
0076 
0077 
0078 private:
0079 
0080 
0081 
0082 
0083 
0084 };
0085 
0086 
0087 
0088 
0089 
0090 
0091 
0092 #endif // _ShapeProcess_OperLibrary_HeaderFile