Warning, file /include/opencascade/BOPAlgo_ToolsProvider.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef _BOPAlgo_ToolsProvider_HeaderFile
0016 #define _BOPAlgo_ToolsProvider_HeaderFile
0017
0018 #include <Standard.hxx>
0019 #include <Standard_DefineAlloc.hxx>
0020 #include <Standard_Handle.hxx>
0021
0022 #include <BOPAlgo_Builder.hxx>
0023
0024
0025 class BOPAlgo_ToolsProvider : public BOPAlgo_Builder
0026 {
0027 public:
0028
0029 DEFINE_STANDARD_ALLOC
0030
0031
0032 Standard_EXPORT BOPAlgo_ToolsProvider();
0033
0034 Standard_EXPORT BOPAlgo_ToolsProvider(const Handle(NCollection_BaseAllocator)& theAllocator);
0035
0036
0037 Standard_EXPORT virtual void Clear() Standard_OVERRIDE;
0038
0039
0040 Standard_EXPORT virtual void AddTool(const TopoDS_Shape& theShape);
0041
0042
0043 Standard_EXPORT virtual void SetTools(const TopTools_ListOfShape& theShapes);
0044
0045
0046 const TopTools_ListOfShape& Tools() const
0047 {
0048 return myTools;
0049 }
0050
0051 protected:
0052
0053 TopTools_ListOfShape myTools;
0054 TopTools_MapOfShape myMapTools;
0055 };
0056
0057 #endif