X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_VTKPrsDisplayer.h;h=403bae9c2211411d7681a454c6edab7157d489ef;hb=a53349567d67f4df0ef737798a25c24d9dc8f08e;hp=5db3e743ff670ac3d81d23ad9405e913e82993dd;hpb=d69bb623f217e43059bd4b170deb5ab28349b580;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_VTKPrsDisplayer.h b/src/HYDROGUI/HYDROGUI_VTKPrsDisplayer.h index 5db3e743..403bae9c 100644 --- a/src/HYDROGUI/HYDROGUI_VTKPrsDisplayer.h +++ b/src/HYDROGUI/HYDROGUI_VTKPrsDisplayer.h @@ -1,12 +1,8 @@ -// Copyright (C) 2007-2013 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 -// +// Copyright (C) 2014-2015 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 // 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 +71,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 +127,7 @@ private: HYDROGUI_VTKPrsDriver* getDriver( const int theViewId, const Handle(HYDROData_Entity)& theObj ); HYDROGUI_VTKPrsDriver* myDriver; + HYDROGUI_VTKPrsDriver* myShapeDriver; QMap > myScalarBars; //!< Colors legend presentations };