X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCalc%2Fgui%2FPresentationController.hxx;h=3c9a19707750856d07ffb06e1e5a63c32a4a5156;hb=HEAD;hp=b040335a123c22da375982b565d2b0a9bbb0db6a;hpb=ac322e3094a38d268a2cc56e58ab05206a67436b;p=modules%2Fmed.git diff --git a/src/MEDCalc/gui/PresentationController.hxx b/src/MEDCalc/gui/PresentationController.hxx index b040335a1..3c9a19707 100644 --- a/src/MEDCalc/gui/PresentationController.hxx +++ b/src/MEDCalc/gui/PresentationController.hxx @@ -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();