Salome HOME
It provides a point attribute restore selection by activation of a shape selection...
[modules/shaper.git] / src / PartSet / PartSet_WidgetShapeSelector.h
index f300db7e8d011fe85db6c010bc98c848f1bdadd3..050b64e271b479860c10a54c7952c24125d1482d 100644 (file)
@@ -49,6 +49,13 @@ protected:
   /// \param theShape a selected shape, which is used in the selection attribute
   virtual bool setObject(ObjectPtr theSelectedObject, GeomShapePtr theShape);
 
+  /// Get the shape from the attribute if the attribute contain a shape
+  /// It processes the ref attr type of attributes. It obtains the referenced attribute,
+  /// results of the attribute feature. And it founds a vertes in the owners of the results
+  /// If the vertex is found, it creates a geom shape on it.
+  /// \return a shape
+  virtual GeomShapePtr getShape() const;
+
   /// Creates a backup of the current values of the attribute
   /// It should be realized in the specific widget because of different
   /// parameters of the current attribute