1 // File generated by CPPExt (Value)
2 // Copyright (C) 1991,1995 by
4 // MATRA DATAVISION, FRANCE
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
15 #ifndef _NMTAlgo_Splitter1_HeaderFile
16 #define _NMTAlgo_Splitter1_HeaderFile
18 #ifndef _Standard_Boolean_HeaderFile
19 #include <Standard_Boolean.hxx>
21 #ifndef _TopTools_DataMapOfShapeInteger_HeaderFile
22 #include <TopTools_DataMapOfShapeInteger.hxx>
24 #ifndef _TopoDS_Shape_HeaderFile
25 #include <TopoDS_Shape.hxx>
27 #ifndef _NMTAlgo_Splitter_HeaderFile
28 #include <NMTAlgo_Splitter.hxx>
30 #ifndef _Standard_Integer_HeaderFile
31 #include <Standard_Integer.hxx>
33 #ifndef _TopAbs_ShapeEnum_HeaderFile
34 #include <TopAbs_ShapeEnum.hxx>
37 class TopTools_DataMapOfShapeInteger;
40 #ifndef _Standard_HeaderFile
41 #include <Standard.hxx>
43 #ifndef _Standard_Macro_HeaderFile
44 #include <Standard_Macro.hxx>
47 class NMTAlgo_Splitter1 : public NMTAlgo_Splitter {
51 void* operator new(size_t,void* anAddress)
55 void* operator new(size_t size)
57 return Standard::Allocate(size);
59 void operator delete(void *anAddress)
61 if (anAddress) Standard::Free((Standard_Address&)anAddress);
65 Standard_EXPORT NMTAlgo_Splitter1();
66 Standard_EXPORT virtual ~NMTAlgo_Splitter1();
67 Standard_EXPORT virtual void Clear() ;
68 Standard_EXPORT virtual void AddShape(const TopoDS_Shape& aS) ;
69 Standard_EXPORT virtual void AddTool(const TopoDS_Shape& aS) ;
70 Standard_EXPORT void SetMaterial(const TopoDS_Shape& aS,const Standard_Integer aM = 0) ;
71 Standard_EXPORT void SetRemoveWebs(const Standard_Boolean bFlag) ;
72 Standard_EXPORT Standard_Boolean RemoveWebs() const;
73 Standard_EXPORT const TopTools_DataMapOfShapeInteger& GetMaterialTable() const;
74 Standard_EXPORT virtual void Build(const TopAbs_ShapeEnum Limit = TopAbs_SHAPE) ;
84 Standard_EXPORT void TreatSolids() ;
85 Standard_EXPORT void TreatWebs() ;
86 Standard_EXPORT void RestParts() ;
91 Standard_Boolean myRemoveWebs;
92 TopTools_DataMapOfShapeInteger myMapSWM;
93 TopTools_DataMapOfShapeInteger myMapSWMOut;
94 TopoDS_Shape myRestParts;
113 // other Inline functions and methods (like "C++: function call" methods)