Salome HOME
updated copyright message
[modules/shaper.git] / src / XGUI / XGUI_ViewerProxy.h
index f31a03376368c1acca262768dc5c05e4fdfefbb3..475ad611a2d6cda1395b10b43d302f1d26e4913a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  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
@@ -166,6 +166,12 @@ Q_OBJECT
   //! Set color scale parameters according to user preferences and window size
   void setupColorScale();
 
+  //! Sets the text displayed in right-top corner of the 3D view
+  //! \param theText the text to display, or empty string to erase presentation;
+  //!        the first item is the font name and text color
+  //! \param theSize size of the text font
+  virtual void setText(const ModuleBase_IViewer::TextColor& theText, const int theSize);
+
   // Fit all along Z (perpendicular to display)
   //virtual void Zfitall();
 
@@ -217,6 +223,7 @@ private slots:
  private:
    void displayHighlight(FeaturePtr theFeature, const TopoDS_Shape& theIgnoreShape);
    bool eraseHighlight();
+   void createPresentations(const ResultPtr& theRes, const TopoDS_Shape& theIgnoreShape);
 
 
   XGUI_Workshop* myWorkshop;