1 // Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 // File : VISU_Tools.h
21 // Author : Oleg UVAROV
27 #include "VISUConfig.hh"
32 #include <SALOMEDSClient_Study.hxx>
35 class Plot2d_ViewFrame;
36 class SalomeApp_Study;
37 class SalomeApp_Application;
47 /*! Display/Erase/Update a curve presentation.
48 * Parameter \a frame may be NULL, in this case there is only update without display/erase
50 VISU_I_EXPORT void UpdateCurve( VISU::Curve_i*,
55 VISU_I_EXPORT void PlotTable( SalomeApp_Study*,
60 VISU_I_EXPORT void PlotCurve( Plot2d_ViewFrame*,
64 VISU_I_EXPORT void PlotRemoveCurve(SalomeApp_Application*,
67 VISU_I_EXPORT void PlotContainer( Plot2d_ViewFrame*,
71 VISU_I_EXPORT void CreatePlot( VISU_Gen_i*,
73 _PTR(SObject) theTableSO );
75 VISU_I_EXPORT void SetVisibilityState(std::string entry, Qtx::VisibilityState state);
76 VISU_I_EXPORT void SetVisibilityState(VISU_ActorBase *theActor, Qtx::VisibilityState state);
78 VISU_I_EXPORT void CurveVisibilityChanged(VISU::Curve_i* theCurve,
82 bool updateContainers);
84 VISU_I_EXPORT Qtx::VisibilityState GetStateByDisplaying(int theDisplaying);
85 VISU_I_EXPORT void updateContainerVisibility(VISU::Container_i* theContainer);