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 SUIT_ViewManager;
36 class VisuGUI: public SalomeApp_Module
45 virtual void initialize( CAM_Application* );
46 virtual void windows( QMap<int, int>& ) const;
47 virtual void viewManagers( QStringList& ) const;
49 virtual QString engineIOR() const;
51 virtual void studyActivated();
53 virtual void contextMenuPopup( const QString& theClient, QPopupMenu* theMenu, QString& theTitle );
55 virtual void createPreferences();
56 virtual void preferencesChanged( const QString&, const QString& );
60 getViewManager(const QString& theType,
61 const bool theIsCreate);
64 virtual bool deactivateModule( SUIT_Study* );
65 virtual bool activateModule( SUIT_Study* );
68 void OnImportFromFile();
69 void OnExploreMEDFile();
70 void OnImportTableFromFile();
71 void OnExportTableToFile();
72 void OnImportMedField();
75 void OnCreateScalarMap();
76 void OnCreateDeformedShape();
77 void OnCreateVectors();
78 void OnCreateIsoSurfaces();
79 void OnCreateCutPlanes();
80 void OnCreateCutLines();
81 void OnCreateStreamLines();
82 void OnCreatePlot3D();
83 void OnCreateManyMesh();
84 void OnCreatePlot2dView();
86 void OnEditScalarMap();
87 void OnEditDeformedShape();
88 void OnEditCutPlanes();
89 void OnEditCutLines();
90 void OnEditIsoSurfaces();
92 void OnEditStreamLines();
95 virtual void OnDisplayPrs();
96 virtual void OnDisplayOnlyPrs();
97 virtual void OnErasePrs();
98 virtual void OnEraseAll();
100 void OnMakeSurfaceframe();
101 void OnMakeInsideframe();
102 void OnMakeWireframe();
103 void OnMakeSurface();
107 void OnChangeColor();
108 void OnChangeWireframeColor();
109 void OnChangeOpacity();
110 void OnChangeLines();
113 void OnCreateTable();
114 void OnDeleteObjects();
116 void OnCurveProperties();
117 void OnClearContainer();
118 void OnEditContainer();
120 void OnMergeScalarBars();
121 void OnFreeScalarBars();
123 void OnSaveViewParams();
124 void OnRestoreViewParams();
127 void OnClippingPlanes();
129 void OnTimeAnimation();
130 void OnShowAnimation();
132 void OnCopyPresentation();
134 void OnSelectionInfo();
136 void OnTranslatePrs();
137 void OnArrangeActors();
143 virtual SalomeApp_Selection* createSelection() const;
146 void createActions();
148 void createToolBars();
149 void createPopupMenus();