Salome HOME
PAL10190 - clone of plot2d
[modules/gui.git] / src / Plot2d / Plot2d_Prs.h
1 #ifndef PLOT2D_PRS_H
2 #define PLOT2D_PRS_H
3
4 #include "Plot2d.h"
5 #include "Plot2d_Curve.h"
6
7 class PLOT2D_EXPORT Plot2d_Prs
8 {
9 public:
10   Plot2d_Prs( bool theDelete = false );
11   Plot2d_Prs( const Plot2d_Curve* obj, bool theDelete = false );
12   ~Plot2d_Prs();
13
14   curveList getCurves() const;
15   void AddObject( const Plot2d_Curve* obj );
16
17   bool IsNull() const;
18
19   bool isSecondY() const;
20
21   void setAutoDel(bool theDel);
22
23 protected:
24   curveList myCurves;
25   bool      mySecondY;
26 };
27
28 #endif