27 #ifndef _GEOMAlgo_BuilderShape_HeaderFile
28 #define _GEOMAlgo_BuilderShape_HeaderFile
30 #include <GeomAlgoImpl.h>
32 #include <Standard.hxx>
33 #include <Standard_Macro.hxx>
34 #include <Standard_Boolean.hxx>
36 #include <TopoDS_Shape.hxx>
38 #include <TopTools_ListOfShape.hxx>
39 #include <TopTools_MapOfShape.hxx>
40 #include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
42 #include <GEOMAlgo_Algo.hxx>
55 const TopoDS_Shape&
Shape()
const;
60 virtual const TopTools_ListOfShape&
Generated(
const TopoDS_Shape& theS) ;
65 virtual const TopTools_ListOfShape&
Modified(
const TopoDS_Shape& theS) ;
69 virtual Standard_Boolean
IsDeleted(
const TopoDS_Shape& theS) ;
87 const TopTools_IndexedDataMapOfShapeListOfShape& ImagesResult()
const;
102 TopoDS_Shape myShape;
103 TopTools_ListOfShape myHistShapes;
104 TopTools_MapOfShape myMapShape;
105 Standard_Boolean myHasDeleted;
106 Standard_Boolean myHasGenerated;
107 Standard_Boolean myHasModified;
108 TopTools_IndexedDataMapOfShapeListOfShape myImagesResult;
Definition: GEOMAlgo_Algo.hxx:44
Root class for algorithms that has shape as result
Definition: GEOMAlgo_BuilderShape.hxx:51
GEOMALGOIMPL_EXPORT Standard_Boolean HasGenerated() const
Returns true if the at least one shape(or sub-shape) of arguments has generated shapes.
Definition: GEOMAlgo_BuilderShape.cxx:98
GEOMALGOIMPL_EXPORT Standard_Boolean HasModified() const
Returns true if the at least one shape(or sub-shape) of arguments has modified shapes.
Definition: GEOMAlgo_BuilderShape.cxx:106
virtual GEOMALGOIMPL_EXPORT Standard_Boolean IsDeleted(const TopoDS_Shape &theS)
Returns true if the shape theS has been deleted.
Definition: GEOMAlgo_BuilderShape.cxx:79
GEOMALGOIMPL_EXPORT const TopoDS_Shape & Shape() const
Returns the result of algorithm
Definition: GEOMAlgo_BuilderShape.cxx:52
GEOMALGOIMPL_EXPORT GEOMAlgo_BuilderShape()
Empty constructor
Definition: GEOMAlgo_BuilderShape.cxx:33
virtual GEOMALGOIMPL_EXPORT const TopTools_ListOfShape & Generated(const TopoDS_Shape &theS)
Returns the list of shapes generated from the shape theS.
Definition: GEOMAlgo_BuilderShape.cxx:61
virtual GEOMALGOIMPL_EXPORT const TopTools_ListOfShape & Modified(const TopoDS_Shape &theS)
Returns the list of shapes modified from the shape theS.
Definition: GEOMAlgo_BuilderShape.cxx:70
virtual GEOMALGOIMPL_EXPORT void PrepareHistory()
Prepare information for history support
Definition: GEOMAlgo_BuilderShape.cxx:114
GEOMALGOIMPL_EXPORT Standard_Boolean HasDeleted() const
Returns true if the at least one shape(or sub-shape) of arguments has been deleted.
Definition: GEOMAlgo_BuilderShape.cxx:90