// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
// File : RepairGUI.h
// Author : Damien COQUERET
// Module : GEOM
-// $Header:
#ifndef REPAIRGUI_H
#define REPAIRGUI_H
+#include "GEOMGUI.h"
#include "GEOMBase.h"
//=================================================================================
// class : RepairGUI
// purpose :
//=================================================================================
-class RepairGUI : public QObject
+class RepairGUI : public GEOMGUI
{
- Q_OBJECT /* for QT compatibility */
-
-public :
- RepairGUI();
+public:
+ RepairGUI( GeometryGUI* parent );
~RepairGUI();
- static bool OnGUIEvent(int theCommandID, QAD_Desktop* parent);
-
- void MakeSewingAndDisplay(GEOM::GEOM_Gen::ListOfIOR& listShapesIOR,
- const Standard_Real precision);
- void MakeOrientationChangeAndDisplay(GEOM::GEOM_Shape_ptr Shape);
- bool OnSuppressHole(const char* ShapeTopoIOR,
- const GEOM::GEOM_Shape::ListOfSubShapeID& ListOfIdFace,
- const GEOM::GEOM_Shape::ListOfSubShapeID& ListOfIdWire,
- const GEOM::GEOM_Shape::ListOfSubShapeID& ListOfIdEndFace);
- bool OnSuppressHolesInFaceOrShell(const char* ShapeTopoIOR,
- const GEOM::GEOM_Shape::ListOfSubShapeID& ListOfIdWires);
- bool OnSuppressFaces(const TopoDS_Shape& ShapeTopo,
- const char* ShapeTopoIOR,
- const Standard_Integer& aLocalContextId,
- bool& myUseLocalContext);
-
- GEOMBase* myGeomBase;
- GEOMContext* myGeomGUI;
- GEOM::GEOM_Gen_var myGeom; /* Current Geom Component */
-
+ bool OnGUIEvent(int theCommandID, SUIT_Desktop* parent);
};
#endif