]> SALOME platform Git repositories - modules/visu.git/blob - src/VISU_I/VISU_Tools.h
Salome HOME
bae032d8aa04ed22c244fe241c593bab90684e0b
[modules/visu.git] / src / VISU_I / VISU_Tools.h
1 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 //  This library is free software; you can redistribute it and/or
7 //  modify it under the terms of the GNU Lesser General Public
8 //  License as published by the Free Software Foundation; either
9 //  version 2.1 of the License.
10 //
11 //  This library is distributed in the hope that it will be useful,
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 //  Lesser General Public License for more details.
15 //
16 //  You should have received a copy of the GNU Lesser General Public
17 //  License along with this library; if not, write to the Free Software
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 //  File   : VISU_Tools.h
23 //  Author : Oleg UVAROV
24 //  Module : VISU
25 //
26 #ifndef VISU_TOOLS_H
27 #define VISU_TOOLS_H
28
29 #include "VISUConfig.hh"
30 #include "VISU_I.hxx"
31
32 #include <SALOMEDSClient_Study.hxx>
33
34 class SPlot2d_Curve;
35 class Plot2d_ViewFrame;
36 class SalomeApp_Study;
37 class SalomeApp_Application;
38
39 namespace VISU 
40 {
41   class Gen_i;
42   class Table_i;
43   class Curve_i;
44   class Container_i;
45
46   /*! Display/Erase/Update a curve presentation.
47    *  Parameter \a frame may be NULL, in this case there is only update without display/erase
48    */
49   VISU_I_EXPORT void                                 UpdateCurve( VISU::Curve_i*,
50                                                                   Plot2d_ViewFrame*,
51                                                                   SPlot2d_Curve*,
52                                                                   int theDisplaying );
53
54   VISU_I_EXPORT void                                 PlotTable( SalomeApp_Study*,
55                                                                 Plot2d_ViewFrame*,
56                                                                 VISU::Table_i*,
57                                                                 int theDisplaying );
58
59   VISU_I_EXPORT void                                 PlotCurve( Plot2d_ViewFrame*,
60                                                                 VISU::Curve_i*,
61                                                                 int theDisplaying );
62
63   VISU_I_EXPORT void                                 PlotRemoveCurve(SalomeApp_Application*,
64                                                                      VISU::Curve_i* );
65
66   VISU_I_EXPORT void                                 PlotContainer( Plot2d_ViewFrame*,
67                                                                     VISU::Container_i*,
68                                                                     int theDisplaying );
69
70   VISU_I_EXPORT void                                 CreatePlot( VISU_Gen_i*,
71                                                                  Plot2d_ViewFrame*,
72                                                                  _PTR(SObject) theTableSO );
73 }
74
75 #endif