]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOM_SWIG_WITHIHM/libGEOM_Swig.i
Salome HOME
fast subShapes selector for PyQt Clients
[modules/geom.git] / src / GEOM_SWIG_WITHIHM / libGEOM_Swig.i
index 288b2b8cd3a48408830f9d80d9761067f09ae77c..e5248d1d2f4daf64ab697bc59d118f1e5dcd1641 100644 (file)
 //  Project   : SALOME
 //  Module    : GEOM
 //
+
+
 %module libGEOM_Swig
 
 %{
 #include "libGEOM_Swig.h"
 %}
 
+%include "std_vector.i"
+namespace std {
+  %template(IntVector) vector<int>;
+}
+
+#include <vector>
+
 /*
   managing C++ exception in the Python API
 */
@@ -52,7 +61,7 @@
 class GEOM_Swig
 {
  public:
-  GEOM_Swig();
+  GEOM_Swig( bool updateOB = true );
   ~GEOM_Swig();
 
   void createAndDisplayGO( const char* theEntry, bool theUpdateViewer = true );
@@ -72,6 +81,10 @@ class GEOM_Swig
   void setMaterial( const char* theEntry, const char* theMaterial, bool theUpdateViewer = true );
   void setMaterialProperty( const char* theEntry, const char* theMaterial, bool theUpdateViewer = true );
 
+  void initLocalSelection( const char* theEntry, int theMode);
+  std::vector<int> getLocalSelection();
+  void closeLocalSelection();
+
   int         getIndexTopology( const char* theSubIOR, const char* theMainIOR );
   const char* getShapeTypeString( const char* theIOR );
   const char* getShapeTypeIcon( const char* theIOR );