20 #ifndef GEOMAlgo_Splitter_HeaderFile
21 #define GEOMAlgo_Splitter_HeaderFile
23 #include <GeomAlgoImpl.h>
25 #include <Standard.hxx>
26 #include <Standard_Macro.hxx>
27 #include <Standard_Boolean.hxx>
28 #include <Standard_Integer.hxx>
30 #include <NCollection_BaseAllocator.hxx>
32 #include <TopAbs_ShapeEnum.hxx>
34 #include <TopoDS_Shape.hxx>
36 #include <BOPAlgo_Builder.hxx>
38 #include <Basics_OCCTVersion.hxx>
57 GEOMALGOIMPL_EXPORT
GEOMAlgo_Splitter(
const Handle(NCollection_BaseAllocator)& theAllocator);
63 GEOMALGOIMPL_EXPORT
void AddTool(
const TopoDS_Shape& theShape);
66 GEOMALGOIMPL_EXPORT
const NCollection_List<TopoDS_Shape>&
Tools()
const;
70 GEOMALGOIMPL_EXPORT
void SetLimit(
const TopAbs_ShapeEnum aLimit);
73 GEOMALGOIMPL_EXPORT TopAbs_ShapeEnum
Limit()
const;
77 GEOMALGOIMPL_EXPORT
void SetLimitMode(
const Standard_Integer aMode);
80 GEOMALGOIMPL_EXPORT Standard_Integer
LimitMode()
const;
83 GEOMALGOIMPL_EXPORT
virtual void Clear();
88 GEOMALGOIMPL_EXPORT
virtual void BuildResult(
const TopAbs_ShapeEnum theType);
91 #if OCC_VERSION_LARGE < 0x07070000
92 GEOMALGOIMPL_EXPORT
virtual void PostTreat();
94 GEOMALGOIMPL_EXPORT
virtual void PostTreat(
const Message_ProgressRange& theRange);
Definition: GEOMAlgo_Splitter.hxx:50
virtual GEOMALGOIMPL_EXPORT void Clear()
Clears all tool shapes.
Definition: GEOMAlgo_Splitter.cxx:124
TopAbs_ShapeEnum myLimit
A limit type.
Definition: GEOMAlgo_Splitter.hxx:105
virtual GEOMALGOIMPL_EXPORT void BuildResult(const TopAbs_ShapeEnum theType)
Build result.
Definition: GEOMAlgo_Splitter.cxx:135
GEOMALGOIMPL_EXPORT const NCollection_List< TopoDS_Shape > & Tools() const
Returns list of tool shapes.
Definition: GEOMAlgo_Splitter.cxx:84
GEOMALGOIMPL_EXPORT Standard_Integer LimitMode() const
Returns mode of limit.
Definition: GEOMAlgo_Splitter.cxx:116
NCollection_Map< TopoDS_Shape > myMapTools
Map of tools.
Definition: GEOMAlgo_Splitter.hxx:102
GEOMALGOIMPL_EXPORT GEOMAlgo_Splitter()
Constructor.
Definition: GEOMAlgo_Splitter.cxx:38
GEOMALGOIMPL_EXPORT TopAbs_ShapeEnum Limit() const
Returns defined limit type.
Definition: GEOMAlgo_Splitter.cxx:100
GEOMALGOIMPL_EXPORT void SetLimitMode(const Standard_Integer aMode)
Set mode (0 or 1) of limit.
Definition: GEOMAlgo_Splitter.cxx:108
GEOMALGOIMPL_EXPORT void SetLimit(const TopAbs_ShapeEnum aLimit)
Set type of used shapes.
Definition: GEOMAlgo_Splitter.cxx:92
Standard_Integer myLimitMode
A limit mode.
Definition: GEOMAlgo_Splitter.hxx:108
virtual GEOMALGOIMPL_EXPORT void PostTreat()
Post processing of the calculation.
Definition: GEOMAlgo_Splitter.cxx:170
GEOMALGOIMPL_EXPORT void AddTool(const TopoDS_Shape &theShape)
Add a tool shape.
Definition: GEOMAlgo_Splitter.cxx:72
NCollection_List< TopoDS_Shape > myTools
List of tools.
Definition: GEOMAlgo_Splitter.hxx:99