]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_WidgetShapeSelector.h
Salome HOME
It provides a point attribute restore selection by activation of a shape selection...
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetShapeSelector.h
index e21d756fd7751ffb54c52b3130e7b7590f66f7e4..2dcd3662d1fa3457edf6be3d096680d4a8f34ea6 100644 (file)
@@ -122,10 +122,6 @@ Q_OBJECT
   /// \param theShape a shape
   virtual bool acceptSubShape(std::shared_ptr<GeomAPI_Shape> theShape) const;
 
-  // Get the shape from the attribute it the attribute contain a shape, e.g. selection attribute
-  /// \return a shape
-  GeomShapePtr getShape() const;
-
   /// Clear attribute
   void clearAttribute();
 
@@ -136,6 +132,10 @@ Q_OBJECT
   /// \return true if it is succeed
   virtual bool setObject(ObjectPtr theSelectedObject, GeomShapePtr theShape);
 
+  /// Get the shape from the attribute if the attribute contains a shape, e.g. selection attribute
+  /// \return a shape
+  virtual GeomShapePtr getShape() const;
+
   /// Return the attribute values wrapped in a list of viewer presentations
   /// \return a list of viewer presentations, which contains an attribute result and
   /// a shape. If the attribute do not uses the shape, it is empty