25 #ifndef _GEOMSELECTIONTOOLS_H_
26 #define _GEOMSELECTIONTOOLS_H_
30 #include <SALOMEDSClient.hxx>
31 #include <SALOME_InteractiveObject.hxx>
32 #include <SALOME_ListIO.hxx>
33 #include <SalomeApp_Application.h>
35 #include <TopoDS_Shape.hxx>
36 #include <GeomAbs_SurfaceType.hxx>
38 class LightApp_SelectionMgr;
59 static SalomeApp_Application* GetSalomeApplication();
60 static LightApp_SelectionMgr* selectionMgr();
61 SALOME_ListIO* getSelectedSalomeObjects();
62 Handle(SALOME_InteractiveObject) getFirstSelectedSalomeObject();
63 std::string getFirstSelectedEntry();
64 std::string getEntryOfObject(
Handle(SALOME_InteractiveObject));
65 std::string getNameFromEntry(std::string);
66 std::string getFirstSelectedComponentDataType();
67 TopAbs_ShapeEnum getFirstSelectedShapeType();
68 TopAbs_ShapeEnum entryToShapeType(std::string );
69 GeomAbs_SurfaceType getFaceInformation(TopoDS_Shape);
70 _PTR(Study) getMyStudy();
82 #endif // _GEOMSELECTIONTOOLS_H_