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 #include "SALOME_InteractiveObject.hxx"
36 #include "VISUConfig.hh"
38 #include "SALOMEconfig.h"
39 #include CORBA_SERVER_HEADER(SALOMEDS)
40 #include CORBA_SERVER_HEADER(VISU_Gen)
41 #include CORBA_SERVER_HEADER(MED_Gen)
49 class VisuGUI: public SalomeApp_Module
57 virtual void initialize( CAM_Application* );
58 virtual void windows( QMap<int, int>& ) const;
59 virtual void viewManagers( QStringList& ) const;
61 virtual QString engineIOR() const;
63 virtual void studyActivated();
65 virtual void contextMenuPopup( const QString& theClient, QPopupMenu* theMenu, QString& theTitle );
68 virtual bool deactivateModule( SUIT_Study* );
69 virtual bool activateModule( SUIT_Study* );
72 void OnImportFromFile();
73 void OnExploreMEDFile();
74 void OnImportTableFromFile();
75 void OnExportTableToFile();
76 void OnImportMedField();
79 void OnCreateScalarMap();
80 void OnCreateDeformedShape();
81 void OnCreateVectors();
82 void OnCreateIsoSurfaces();
83 void OnCreateCutPlanes();
84 void OnCreateCutLines();
85 void OnCreateStreamLines();
86 void OnCreatePlot3D();
87 void OnCreateManyMesh();
88 void OnCreatePlot2dView();
94 void OnDisplayOnlyPrs();
98 void OnMakeSurfaceframe();
99 void OnMakeInsideframe();
100 void OnMakeWireframe();
101 void OnMakeSurface();
105 void OnChangeColor();
106 void OnChangeWireframeColor();
107 void OnChangeOpacity();
108 void OnChangeLines();
111 void OnCreateTable();
112 //void OnDeleteObject();
113 void OnDeleteObjects();
115 void OnCurveProperties();
116 void OnClearContainer();
117 void OnEditContainer();
119 void OnMergeScalarBars();
120 void OnFreeScalarBars();
122 void OnSaveViewParams();
123 void OnRestoreViewParams();
124 //void OnDeleteViewParams();
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();