+ /* Selection and objects management */
+ static int GetIndex(const TopoDS_Shape& subshape, const TopoDS_Shape& shape, int ShapeType);
+ static TopoDS_Shape GetShapeFromIOR(QString IOR);
+ static bool GetShape(const GEOM::GEOM_Object_ptr&, TopoDS_Shape&,
+ const TopAbs_ShapeEnum = TopAbs_SHAPE);
+ static bool GetTopoFromSelection(const SALOME_ListIO& aList, TopoDS_Shape& tds);
+ static int GetNameOfSelectedIObjects(const SALOME_ListIO& aList, QString& aName,
+ const bool theShapesOnly = false);
+ static bool GetShapeTypeString(const TopoDS_Shape& aShape, Standard_CString& aTypeString);
+
+ /* Convertions */
+ static GEOM::GEOM_Object_ptr ConvertIOinGEOMShape(const Handle(SALOME_InteractiveObject)& IO,
+ Standard_Boolean& testResult);
+ static Handle(GEOM_AISShape) ConvertIOinGEOMAISShape(const Handle(SALOME_InteractiveObject)& IO,
+ Standard_Boolean& testResult,
+ bool onlyInActiveView = false);