Salome HOME
Copyright update 2021
[modules/med.git] / src / MEDCalc / gui / PresentationEvent.hxx
index 536631af94e3a56f0201484a20856cd690bdb3ff..b82252bd6f1a93012f1afcc5a038ad6abfc7ee4c 100644 (file)
@@ -1,3 +1,22 @@
+// Copyright (C) 2016-2021  CEA/DEN, EDF R&D
+//
+// 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, or (at your option) any later version.
+//
+// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
 #ifndef SRC_MEDCALC_GUI_PRESENTATIONEVENT_HXX_
 #define SRC_MEDCALC_GUI_PRESENTATIONEVENT_HXX_
 
 
 typedef struct {
   enum EventType {
+    EVENT_VIEW_OBJECT_MESH_VIEW,
     EVENT_VIEW_OBJECT_CONTOUR,
     EVENT_VIEW_OBJECT_DEFLECTION_SHAPE,
     EVENT_VIEW_OBJECT_POINT_SPRITE,
     EVENT_VIEW_OBJECT_SCALAR_MAP,
     EVENT_VIEW_OBJECT_SLICES,
     EVENT_VIEW_OBJECT_VECTOR_FIELD,
+
     EVENT_DELETE_PRESENTATION,
 
     EVENT_CHANGE_COMPONENT,
     EVENT_CHANGE_COLORMAP,
-    EVENT_CHANGE_TIME_RANGE
+    EVENT_CHANGE_TIME_RANGE,
+
+    EVENT_CHANGE_MESH_MODE,
+
+    EVENT_CHANGE_NB_CONTOUR,
+
+    EVENT_CHANGE_SLICE_ORIENTATION,
+    EVENT_CHANGE_NB_SLICES
   };
 
   EventType eventtype;
   MEDCALC::FieldHandler * fieldHandler;
+  MEDCALC::MeshHandler * meshHandler;
   int presentationId;
   int anInteger;                // multi-purpose variable
   //int anInteger2;             // multi-purpose variable