Salome HOME
Updated copyright comment
[modules/med.git] / src / MEDCalc / gui / PresentationController.hxx
index b040335a123c22da375982b565d2b0a9bbb0db6a..3c9a19707750856d07ffb06e1e5a63c32a4a5156 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2016-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -56,9 +56,14 @@ public:
   void showDockWidgets(bool isVisible);
 
   std::string getPresTypeFromWidgetHelper(int presId) const;
+  static std::string presentationName2Type(const std::string& name);
 
   void setConsoleDriver(XmedConsoleDriver* driver) { _consoleDriver = driver; };
 
+  void emitPresentationSignal(const PresentationEvent* event);
+
+  void resetPVSession();
+
 signals:
   void presentationSignal(const PresentationEvent*);
 
@@ -70,6 +75,9 @@ protected slots:
   void onVisualizeSlices();
   void onVisualizeDeflectionShape();
   void onVisualizePointSprite();
+  void onVisualizePlot3D();
+  void onVisualizeStreamLines();
+  void onVisualizeCutSegment();
 
   void onDeletePresentation();
   void onParavisDump();
@@ -83,6 +91,7 @@ private:
   void visualize(PresentationEvent::EventType);
   void updateTreeViewWithNewPresentation(long dataId, long presentationId);
   void updateTreeViewForPresentationRemoval(long presId);
+  void updateVisibilityState(long presId);
   std::string _getIconName(const std::string&);
   MEDWidgetHelper * findOrCreateWidgetHelper(MEDCALC::MEDPresentationManager_ptr presManager,
                                              int presId, const std::string& type, const std::string& name);
@@ -92,6 +101,8 @@ private:
   QString getScalarBarRangePython() const;
   QString getMeshModePython(const int mode) const;
   QString getSliceOrientationPython(const int orient) const;
+  QString getIntegrDirTypePython(const int intDir) const;
+  QString getContourComponentTypePython(const int comp) const;
 
   void _dealWithReplaceMode();