X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSHAPERGUI%2FSHAPERGUI_SalomeViewer.h;h=654aff4f3f8233edc817f059b40644f843363baa;hb=ae3e12ab08ba2c98c74c9f4b93812faace2af798;hp=2b6b88792c59540c5b0af47408584186639fd51e;hpb=68a9e952c2238820a515db5f88960cb8639c6f83;p=modules%2Fshaper.git diff --git a/src/SHAPERGUI/SHAPERGUI_SalomeViewer.h b/src/SHAPERGUI/SHAPERGUI_SalomeViewer.h index 2b6b88792..654aff4f3 100644 --- a/src/SHAPERGUI/SHAPERGUI_SalomeViewer.h +++ b/src/SHAPERGUI/SHAPERGUI_SalomeViewer.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2020 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 @@ -200,10 +200,17 @@ Q_OBJECT // \param theH is number of intervals virtual void setColorScaleTextHeigth(int theH); + //! Set color of text of color scale + // \param theH is number of intervals + virtual void setColorScaleTextColor(const QColor& theColor); + //! Set title of color scale // \param theText is a title virtual void setColorScaleTitle(const QString& theText); + virtual void setFitter(OCCViewer_Fitter* theFitter); + virtual OCCViewer_Fitter* fitter() const; + // Fit all along Z (perpendicular to display) //virtual void Zfitall(); @@ -228,6 +235,9 @@ Q_OBJECT /// It is necessary to activate the viewer trihedron in the current selection mode void onViewPortMapped(); + /// Signal called in order to apdate viewer transformed objects + void onAfterViewCreated(); + private: SHAPERGUI_OCCSelector* mySelector; SHAPERGUI_SalomeView* myView;