1 #ifndef HYDROData_Transform_HeaderFile
2 #define HYDROData_Transform_HeaderFile
4 #include <Standard.hxx>
5 #include <Standard_Macro.hxx>
6 #include <Standard_Boolean.hxx>
7 #include <Standard_Integer.hxx>
11 #include <TopoDS_Shape.hxx>
12 #include <TopTools_ListOfShape.hxx>
14 #include <BRepBuilderAPI_Transform.hxx>
16 #include <BOPCol_ListOfShape.hxx>
17 #include <BOPCol_MapOfShape.hxx>
19 #include <BOPAlgo_BuilderShape.hxx>
20 #include <BOPAlgo_Builder.hxx>
22 #include <TCollection_AsciiString.hxx>
23 //=======================================================================
24 //class : HYDROData_Transform
26 //=======================================================================
27 class HYDROData_Transform : public BOPAlgo_BuilderShape
31 HYDROData_Transform();
34 virtual ~HYDROData_Transform();
37 void SetArgument(const TopoDS_Shape& theShape);
40 const TopoDS_Shape& Argument()const;
43 void SetToTransform(const Standard_Boolean theFlag);
46 Standard_Boolean ToTransform()const;
49 void SetTreshold(const Standard_Real theTreshold);
52 Standard_Real Treshold()const;
61 virtual void Perform();
65 virtual const TopTools_ListOfShape& Generated
66 (const TopoDS_Shape& theShape);
69 virtual const TopTools_ListOfShape& Modified
70 (const TopoDS_Shape& theShape);
73 virtual Standard_Boolean IsDeleted
74 (const TopoDS_Shape& theShape);
77 virtual Standard_Boolean HasDeleted();
80 virtual Standard_Boolean HasGenerated();
83 virtual Standard_Boolean HasModified();
86 static void SetFileName(const TCollection_AsciiString& theNameAfter);
92 virtual void CheckData();
110 Standard_Boolean myToTransform;
111 Standard_Real myTreshold;
112 TopoDS_Shape myArgument;
116 BRepBuilderAPI_Transform* myTransform1;
117 BRepBuilderAPI_Transform* myTransform2;
118 BOPAlgo_Builder* myBuilder;