Salome HOME
Move MEDCALC tests into SSL mode
[modules/med.git] / src / MEDCalc / cmp / MEDPresentationContour.hxx
index 9369fd199cf9d709761c3f63493197f1dc360f66..9ab2a4d8f3b99deb18e493fc107ec43e7261aa49 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2016-2022  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
@@ -28,6 +28,7 @@ class MEDCALC_EXPORT MEDPresentationContour : public MEDPresentation
 public:
   static const std::string TYPE_NAME;
   static const std::string PROP_NB_CONTOUR;
+  static const std::string PROB_CONTOUR_COMPONENT_ID;
 
   MEDPresentationContour(const MEDCALC::ContourParameters& params, const MEDCALC::ViewModeType viewMode);
   virtual ~MEDPresentationContour() {}
@@ -40,13 +41,19 @@ public:
   void setParameters(const MEDCALC::ContourParameters & params) { _params = params; } ;
 
 protected:
+  void initProgFilter();
   void updateNbContours(const int nbContours);
+  void updateContourComponent(const std::string& newCompo);
   virtual void internalGeneratePipeline();
-
+  int getContourComponentId() const;
+  std::string getContourComponentName() const;
   void setNumberContours();
+  std::string getFieldName() const override;
+  void scalarBarTitle() override;
 
 private:
   MEDCALC::ContourParameters _params;
+  std::string _countourProgrammableVar;
 };
 
 #endif