Salome HOME
Copyright update 2021
[modules/med.git] / src / MEDCalc / MEDCalcConstants.hxx
index 48cacc2107094d3fa5748b44fa36e40bc3d2b40b..85293e5ce50909675689ef60bfb359c4837f001b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2007-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
@@ -17,6 +17,8 @@
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
+#ifndef SRC_MEDCALC_CMP_MEDCALCCONSTANTS_HXX_
+
 // This constant strings are used to specify an attribute name for
 // AttributeParameter attributes associated to a SObject
 #define IS_IN_WORKSPACE  "isInWorkspace"
 #define IS_PRESENTATION  "isPresentation"
 #define PRESENTATION_TYPE  "presentationType"
 
-static const int NB_TYPE_OF_FIELDS = 4;
-static const char* mapTypeOfFieldLabel[NB_TYPE_OF_FIELDS] =
+const int NB_TYPE_OF_FIELDS = 4;
+const char* const mapTypeOfFieldLabel[NB_TYPE_OF_FIELDS] =
   {"ON_CELLS", "ON_NODES", "ON_GAUSS_PT", "ON_GAUSS_NE" };
 
+// IDs we use for actions we want to export in help info panel
+namespace FIELDSOp {
+  enum {
+    OpAddDataSource             = 2041,   // Menu Add Data Source
+    // Simplified Visu  ----------------------------------------------------------
+    OpScalarMap                 = 2501,   // Menu Scalar Map
+    OpContour                   = 2502,   // Menu Contour
+    OpVectorFields              = 2503,   // Menu Vector fields
+    OpSlices                    = 2504,   // Menu Slices
+    OpDeflectionShape           = 2505,   // Menu Deflection
+    OpPointSprite               = 2506,   // Menu PointSprite
+    // Interpolation
+    OpProcessingInterpolation   = 2601,   // Menu Processing interpolation
+  };
+}
+#endif