Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

Graph2D.h

Go to the documentation of this file.
00001 //LabPlot : Graph2D.h
00002 
00003 #ifndef GRAPH2D_H
00004 #define GRAPH2D_H
00005 
00006 #include <qstringlist.h>
00007 #include <qtextstream.h>
00008 #include <qprogressdialog.h>
00009 #include <kdebug.h>
00010 #include "Graph.h"
00011 #include "Point.h"
00012 
00013 class Graph2D: public Graph
00014 {
00015 public:
00016         Graph2D(QString n="", QString l="",LRange r[2]=0, LSource src=SFUNCTION, PType t=P2D, Style *st=0, 
00017                 Symbol *sy=0, Point *p=0, int nr=0, bool b=true);
00018         LRange Range(int i) { return range[i]; }
00019         void setRange(LRange *r) { range[0]=r[0];range[1]=r[1]; }
00020         Point *Data() { return ptr; }
00021         QStringList Info();     
00022         void save(QTextStream *t, QProgressDialog *progress);
00023         void open(QTextStream *t, int version, QProgressDialog *progress);
00024 private:
00025         Point *ptr;
00026         LRange *range;
00027 };
00028 
00029 #endif // GRAPH2D_H

Generated on Fri Aug 19 21:34:44 2005 for LabPlot by doxygen 1.3.6