]> SALOME platform Git repositories - modules/gui.git/blobdiff - src/SALOME_SWIG/SALOMEGUI_Swig.i
Salome HOME
Updated copyright comment
[modules/gui.git] / src / SALOME_SWIG / SALOMEGUI_Swig.i
index 198bf8a3778b74f85f31e7250b1163fc51bdc582..472412ef4f8d1b5d01188a24dfcf3de43233a441 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024  CEA, EDF, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 %}
 
 %include "cpointer.i"
+%include "std_string.i"
+%include "std_list.i"
+
+#if SWIG_VERSION >= 0x010329
+%template() std::list<std::string>;
+#endif
 
 /* Exception handler for all functions */
 %exception {
@@ -57,10 +63,9 @@ public:
   bool hasDesktop();
 
   /* update object browser*/
-  void updateObjBrowser(bool);
+  void updateObjBrowser();
 
   /* get active study */
-  int getActiveStudyId();
   const char *getActiveStudyName();
 
   /* get component name/username */
@@ -85,6 +90,8 @@ public:
 
   /* view operations */
   void FitAll();
+  void FitSelection();
+  void FitIObjects(const std::list<std::string>&);
   void ResetView();
   void ViewTop();
   void ViewBottom();
@@ -92,4 +99,11 @@ public:
   void ViewRight();
   void ViewFront();
   void ViewBack();
+
+  /* view parameters */
+  const char* getViewParameters();
+  void setCameraPosition( double x, double y, double z );
+  void setCameraFocalPoint( double x, double y, double z );
+  void setCameraViewUp( double x, double y, double z );
+  void setViewScale( double parallelScale,double x, double y, double z );
 };