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 SalomeApp_Displayer* displayer();
46 virtual void initialize( CAM_Application* );
47 virtual void windows( QMap<int, int>& ) const;
48 virtual void viewManagers( QStringList& ) const;
50 virtual QString engineIOR() const;
52 virtual void studyActivated();
54 virtual void contextMenuPopup( const QString& theClient, QPopupMenu* theMenu, QString& theTitle );
56 virtual void createPreferences();
57 virtual void preferencesChanged( const QString&, const QString& );
61 getViewManager(const QString& theType,
62 const bool theIsCreate);
65 virtual bool deactivateModule( SUIT_Study* );
66 virtual bool activateModule( SUIT_Study* );
69 void OnImportFromFile();
70 void OnExploreMEDFile();
71 void OnImportTableFromFile();
72 void OnExportTableToFile();
73 void OnImportMedField();
76 void OnCreateScalarMap();
77 void OnCreateDeformedShape();
78 void OnCreateVectors();
79 void OnCreateIsoSurfaces();
80 void OnCreateCutPlanes();
81 void OnCreateCutLines();
82 void OnCreateStreamLines();
83 void OnCreatePlot3D();
84 void OnCreateManyMesh();
85 void OnCreatePlot2dView();
87 void OnEditScalarMap();
88 void OnEditDeformedShape();
89 void OnEditCutPlanes();
90 void OnEditCutLines();
91 void OnEditIsoSurfaces();
93 void OnEditStreamLines();
96 virtual void OnDisplayPrs();
97 virtual void OnDisplayOnlyPrs();
98 virtual void OnErasePrs();
99 virtual void OnEraseAll();
101 void OnMakeSurfaceframe();
102 void OnMakeInsideframe();
103 void OnMakeWireframe();
104 void OnMakeSurface();
108 void OnChangeColor();
109 void OnChangeWireframeColor();
110 void OnChangeOpacity();
111 void OnChangeLines();
114 void OnCreateTable();
115 void OnDeleteObjects();
117 void OnCurveProperties();
118 void OnClearContainer();
119 void OnEditContainer();
121 void OnMergeScalarBars();
122 void OnFreeScalarBars();
124 void OnSaveViewParams();
125 void OnRestoreViewParams();
128 void OnClippingPlanes();
130 void OnTimeAnimation();
131 void OnShowAnimation();
133 void OnCopyPresentation();
135 void OnSelectionInfo();
137 void OnTranslatePrs();
138 void OnArrangeActors();
144 virtual SalomeApp_Selection* createSelection() const;
147 void createActions();
149 void createToolBars();
150 void createPopupMenus();
153 SalomeApp_Displayer* myDisplayer;