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;
52 static SalomeApp_Application* GetSalomeApplication();
53 static LightApp_SelectionMgr* selectionMgr();
54 SALOME_ListIO* getSelectedSalomeObjects();
55 Handle(SALOME_InteractiveObject) getFirstSelectedSalomeObject();
56 std::string getFirstSelectedEntry();
57 std::string getEntryOfObject(
Handle(SALOME_InteractiveObject));
58 std::string getNameFromEntry(
const std::string& );
59 std::string getFirstSelectedComponentDataType();
60 TopAbs_ShapeEnum getFirstSelectedShapeType();
61 TopAbs_ShapeEnum entryToShapeType(
const std::string& );
62 GeomAbs_SurfaceType getFaceInformation(TopoDS_Shape);
#define PLUGINUTILS_EXPORT
Definition: SMESH_PluginUtils.h:36
Definition: GeomSelectionTools.h:70
QString PrintDoubleValue(double, int=16)
Definition: GeomSelectionTools.cxx:283