Salome HOME
Copyrights update
[modules/gui.git] / src / SPlot2d / SPlot2d_Curve.h
1 // Copyright (C) 2005  OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D
2 // 
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.
7 // 
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.
12 //
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
16 //
17 // See http://www.salome-platform.org/
18 //
19 //  File   : SPlot2d_Curve.h
20 //  Author : Sergey RUIN
21 //  Module : SUIT
22
23 #ifndef SPlot2d_Curve_h
24 #define SPlot2d_Curve_h
25
26 #include "SPlot2d.h"  
27
28 #include "Plot2d_Curve.h"
29
30 #include <qstring.h>
31 #include <qcolor.h>
32 #include <qmemarray.h>
33 #ifndef _Handle_SALOME_InteractiveObject_HeaderFile
34 #include <Handle_SALOME_InteractiveObject.hxx>
35 #endif
36 #include "SALOME_InteractiveObject.hxx"
37
38 class SPLOT2D_EXPORT SPlot2d_Curve : public Plot2d_Curve
39 {
40 public:
41
42   SPlot2d_Curve();
43   virtual ~SPlot2d_Curve();
44   SPlot2d_Curve( const SPlot2d_Curve& curve );
45   SPlot2d_Curve& operator= ( const SPlot2d_Curve& curve );
46
47   virtual QString                          getTableTitle() const;
48
49   virtual bool                             hasIO() const;
50   virtual Handle(SALOME_InteractiveObject) getIO() const;
51   virtual void                             setIO( const Handle(SALOME_InteractiveObject)& );
52
53   virtual bool                             hasTableIO() const;
54   virtual Handle(SALOME_InteractiveObject) getTableIO() const;
55   virtual void                             setTableIO( const Handle(SALOME_InteractiveObject)& );
56   
57 private:
58   Handle(SALOME_InteractiveObject) myIO;
59   Handle(SALOME_InteractiveObject) myTableIO;
60 };
61
62 #endif // SPlot2d_Curve_h
63
64