X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCalc%2Fgui%2FPresentationController.hxx;h=3c9a19707750856d07ffb06e1e5a63c32a4a5156;hb=HEAD;hp=7faa1a4dc2a922910bb9325691a37d0bc94aa04e;hpb=3dd1c7e83cb79b658d6ffaab8d818b2d6263927f;p=modules%2Fmed.git diff --git a/src/MEDCalc/gui/PresentationController.hxx b/src/MEDCalc/gui/PresentationController.hxx index 7faa1a4dc..3c9a19707 100644 --- a/src/MEDCalc/gui/PresentationController.hxx +++ b/src/MEDCalc/gui/PresentationController.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2016 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 @@ -20,10 +20,11 @@ #ifndef PRESENTATION_CONTROLLER_HXX #define PRESENTATION_CONTROLLER_HXX +#include "MEDEventListener_i.hxx" + #include #include "MEDCALCGUI.hxx" -#include "MEDEventListener_i.hxx" #include #include CORBA_SERVER_HEADER(MEDPresentationManager) #include CORBA_CLIENT_HEADER(MEDDataManager) @@ -55,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*); @@ -69,6 +75,9 @@ protected slots: void onVisualizeSlices(); void onVisualizeDeflectionShape(); void onVisualizePointSprite(); + void onVisualizePlot3D(); + void onVisualizeStreamLines(); + void onVisualizeCutSegment(); void onDeletePresentation(); void onParavisDump(); @@ -82,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); @@ -91,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();