Salome HOME
Editing lines by points dragging
[modules/shaper.git] / src / PartSet / PartSet_Module.h
index 7c90584b8548ce9914254f306e0c1f18acba31a8..eb8fb58217b6c900be22d30e7a413247540a44ba 100644 (file)
@@ -8,6 +8,7 @@
 #include <ModuleBase_ViewerFilters.h>
 #include <XGUI_Command.h>
 #include <ModelAPI_Feature.h>
+#include <ModelAPI_Attribute.h>
 #include <ModelAPI_CompositeFeature.h>
 
 #include <StdSelect_FaceFilter.hxx>
@@ -82,6 +83,8 @@ protected slots:
  private slots:
    void onVertexSelected(ObjectPtr theObject, const TopoDS_Shape& theShape);
 
+   void onPlaneSelected(const std::shared_ptr<GeomAPI_Pln>& thePln);
+
  private:
    /// Converts mouse position to 2d coordinates. 
    /// Member myCurrentSketch has to be correctly defined
@@ -104,6 +107,9 @@ protected slots:
    double myCurX, myCurY;
    CompositeFeaturePtr myCurrentSketch;
    QList<FeaturePtr> myEditingFeatures;
+   QList<AttributePtr> myEditingAttr;
+
+   Handle(ModuleBase_ShapeInPlaneFilter) myPlaneFilter;
 };
 
 #endif