Salome HOME
IPAL9285,9292,9314
[modules/visu.git] / src / VISUGUI / VisuGUI.h
index 5458d83aaa581a067ea0cc5bc1b67383113a4cb6..10a62f2f037c73da6dddd98b64e0c1b42a283d6b 100644 (file)
@@ -1,28 +1,28 @@
 //  VISU VISUGUI : GUI of VISU component
 //
 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  This library is free software; you can redistribute it and/or 
-//  modify it under the terms of the GNU Lesser General Public 
-//  License as published by the Free Software Foundation; either 
-//  version 2.1 of the License. 
-// 
-//  This library is distributed in the hope that it will be useful, 
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-//  Lesser General Public License for more details. 
-// 
-//  You should have received a copy of the GNU Lesser General Public 
-//  License along with this library; if not, write to the Free Software 
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
-// 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+//  This library is free software; you can redistribute it and/or
+//  modify it under the terms of the GNU Lesser General Public
+//  License as published by the Free Software Foundation; either
+//  version 2.1 of the License.
+//
+//  This library is distributed in the hope that it will be useful,
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+//  Lesser General Public License for more details.
+//
+//  You should have received a copy of the GNU Lesser General Public
+//  License along with this library; if not, write to the Free Software
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
 //
 //
 //
 //  File   : VisuGUI.h
-//  Author : Laurent CORNABE & Hubert ROLLAND 
+//  Author : Laurent CORNABE & Hubert ROLLAND
 //  Module : VISU
 //  $Header$
 
@@ -42,8 +42,8 @@
 
 class SUIT_Desktop;
 
-namespace VISU{
-  class ScalarMap_i;
+namespace VISU {
+  class Prs3d_i;
 }
 
 class VisuGUI: public SalomeApp_Module
@@ -57,8 +57,13 @@ public:
   virtual void initialize( CAM_Application* );
   virtual void windows( QMap<int, int>& ) const;
   virtual void viewManagers( QStringList& ) const;
+
   virtual QString engineIOR() const;
 
+  virtual void  studyActivated();
+
+  virtual void  contextMenuPopup( const QString& theClient, QPopupMenu* theMenu, QString& theTitle );
+
 public slots:
   virtual bool deactivateModule( SUIT_Study* );
   virtual bool activateModule( SUIT_Study* );
@@ -68,6 +73,7 @@ protected slots:
   void OnExploreMEDFile();
   void OnImportTableFromFile();
   void OnExportTableToFile();
+  void OnImportMedField();
 
   void OnCreateMesh();
   void OnCreateScalarMap();
@@ -77,11 +83,12 @@ protected slots:
   void OnCreateCutPlanes();
   void OnCreateCutLines();
   void OnCreateStreamLines();
+  void OnCreatePlot3D();
   void OnCreateManyMesh();
   void OnCreatePlot2dView();
 
   void OnEditPrs();
-  void OnDeletePrs();
+  //void OnDeletePrs();
 
   void OnDisplayPrs();
   void OnDisplayOnlyPrs();
@@ -102,39 +109,44 @@ protected slots:
 
   void OnShowTable();
   void OnCreateTable();
-  void OnDeleteObject();
+  //void OnDeleteObject();
+  void OnDeleteObjects();
   void OnPlotData();
   void OnCurveProperties();
   void OnClearContainer();
   void OnEditContainer();
 
+  void OnMergeScalarBars();
+  void OnFreeScalarBars();
+
   void OnSaveViewParams();
   void OnRestoreViewParams();
-  void OnDeleteViewParams();
+  //void OnDeleteViewParams();
 
   void OnRename();
+  void OnClippingPlanes();
   void OnSweep();
   void OnTimeAnimation();
+  void OnShowAnimation();
 
   void OnCopyPresentation();
 
   void OnSelectionInfo();
 
-  void OnScaling();
+  void OnTranslatePrs();
+  void OnArrangeActors();
 
+  void OnScaling();
+  void OnCubeAxes();
 
 protected:
   virtual SalomeApp_Selection* createSelection() const;
 
-  void ErasePrs (CORBA::Object_ptr theObject, bool theUpdate = true);
-  void ChangeRepresentation (VISU::PresentationType theType);
-  void CreateMesh (const Handle(SALOME_InteractiveObject)& theIO);
-
 private:
-  void                         createActions();
-  void                         createMenus();
-  void                         createToolBars();
-  void                         createPopupMenus();
+  void createActions();
+  void createMenus();
+  void createToolBars();
+  void createPopupMenus();
 };
 
 #endif