-// 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
//! 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();
private:
void displayHighlight(FeaturePtr theFeature, const TopoDS_Shape& theIgnoreShape);
bool eraseHighlight();
+ void createPresentations(const ResultPtr& theRes, const TopoDS_Shape& theIgnoreShape);
XGUI_Workshop* myWorkshop;