Salome HOME
0022377: EDF 2752 GEOM: Add a preference in order to automatically unpublished parent...
[modules/geom.git] / src / TransformationGUI / TransformationGUI_TranslationDlg.cxx
index 7b6f42a39399f3bfe166522bdaf73705b4edb6be..71b5cb06259c822c2bebd5df3d7d7bc192fbd382 100644 (file)
@@ -687,3 +687,14 @@ void TransformationGUI_TranslationDlg::createPathPreview ( GEOM::GEOM_Object_ptr
     GEOMBase_Helper::displayPreview( aPrs, false, true );
   }
 }
+
+//=================================================================================
+// function : getSourceObjects
+// purpose  : virtual method to get source objects
+//=================================================================================
+QList<GEOM::GeomObjPtr> TransformationGUI_TranslationDlg::getSourceObjects()
+{
+  QList<GEOM::GeomObjPtr> res(myObjects);
+  res << myVector << myPoint1 << myPoint2;
+  return res;
+}