1 // VISU VISUGUI : GUI of VISU component
3 // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
25 // Author : Laurent CORNABE & Hubert ROLLAND
29 #ifndef VisuGUI_HeaderFile
30 #define VisuGUI_HeaderFile
32 #include "SalomeApp_Module.h"
34 class VisuGUI: public SalomeApp_Module
43 virtual void initialize( CAM_Application* );
44 virtual void windows( QMap<int, int>& ) const;
45 virtual void viewManagers( QStringList& ) const;
47 virtual QString engineIOR() const;
49 virtual void studyActivated();
51 virtual void contextMenuPopup( const QString& theClient, QPopupMenu* theMenu, QString& theTitle );
53 virtual void createPreferences();
54 virtual void preferencesChanged( const QString&, const QString& );
57 virtual bool deactivateModule( SUIT_Study* );
58 virtual bool activateModule( SUIT_Study* );
61 void OnImportFromFile();
62 void OnExploreMEDFile();
63 void OnImportTableFromFile();
64 void OnExportTableToFile();
65 void OnImportMedField();
68 void OnCreateScalarMap();
69 void OnCreateDeformedShape();
70 void OnCreateVectors();
71 void OnCreateIsoSurfaces();
72 void OnCreateCutPlanes();
73 void OnCreateCutLines();
74 void OnCreateStreamLines();
75 void OnCreatePlot3D();
76 void OnCreateManyMesh();
77 void OnCreatePlot2dView();
82 void OnDisplayOnlyPrs();
86 void OnMakeSurfaceframe();
87 void OnMakeInsideframe();
88 void OnMakeWireframe();
94 void OnChangeWireframeColor();
95 void OnChangeOpacity();
100 void OnDeleteObjects();
102 void OnCurveProperties();
103 void OnClearContainer();
104 void OnEditContainer();
106 void OnMergeScalarBars();
107 void OnFreeScalarBars();
109 void OnSaveViewParams();
110 void OnRestoreViewParams();
113 void OnClippingPlanes();
115 void OnTimeAnimation();
116 void OnShowAnimation();
118 void OnCopyPresentation();
120 void OnSelectionInfo();
122 void OnTranslatePrs();
123 void OnArrangeActors();
129 virtual SalomeApp_Selection* createSelection() const;
132 void createActions();
134 void createToolBars();
135 void createPopupMenus();