Salome HOME
Fix tests to use the right field index
[modules/med.git] / idl / MEDPresentationManager.idl
index b86b63e450947f3935dfe4f6fd259ece3681c04e..9c0e2ccb9f58f09a664ec24aa250a41dfdfbc7e1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2005-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2005-2020  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -84,14 +84,18 @@ module MEDCALC
 //  const long SCALAR_BAR_RANGE_VAL_MAX_DEFAULT = -1;
   const string DISPLAY_DEFAULT = DISPLAY_EUCLIDEAN_NORM;
   const SliceOrientationType SLICE_ORIENTATION_DEFAULT = SLICE_NORMAL_TO_X;
+
   const long NB_CONTOURS_DEFAULT = 10;
   const long NB_SLICES_DEFAULT = 1;
 
+  const long NB_CONTOURS_MAX = 50;
+  const long NB_SLICES_MAX = 20;
+
   /* Structs */
 
   // Just showing the mesh 
   struct MeshViewParameters {
-    long fieldHandlerId;   // TODO should be a meshHandlerId really ...
+    long meshHandlerId;
     MeshModeType mode;
   };
 
@@ -185,6 +189,8 @@ module MEDCALC
 //    ViewModeType getPresentationViewMode(in long presId);
     
     PresentationsList getAllPresentations();
+
+    void cleanUp()   raises (SALOME::SALOME_Exception);
   };
 };