X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_VTKPrsDisplayer.h;h=54ea195202c364380d0dfcb9c2babf0175147845;hb=cd6ea20d9a76665a24a533d0340385a335961f05;hp=5db3e743ff670ac3d81d23ad9405e913e82993dd;hpb=d69bb623f217e43059bd4b170deb5ab28349b580;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_VTKPrsDisplayer.h b/src/HYDROGUI/HYDROGUI_VTKPrsDisplayer.h index 5db3e743..54ea1952 100644 --- a/src/HYDROGUI/HYDROGUI_VTKPrsDisplayer.h +++ b/src/HYDROGUI/HYDROGUI_VTKPrsDisplayer.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -6,7 +6,7 @@ // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -75,9 +75,14 @@ public: * \brief Delete scalar bar for the given viewer id. * \param theViewerId viewer identifier */ - void DeleteScalarBar( const int theViewerId ); + void EraseScalarBar( const int theViewerId, const bool theIsDelete = false ); protected: + + virtual void DisplayAll( const int theViewerId, + const bool theIsForced, + const bool theDoFitAll ); + /** * \brief Erase all viewer objects. * \param theViewerId viewer identifier @@ -126,6 +131,7 @@ private: HYDROGUI_VTKPrsDriver* getDriver( const int theViewId, const Handle(HYDROData_Entity)& theObj ); HYDROGUI_VTKPrsDriver* myDriver; + HYDROGUI_VTKPrsDriver* myShapeDriver; QMap > myScalarBars; //!< Colors legend presentations };