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 <kdebug.h>
00009 #include "Graph.h"
00010 #include "Point.h"
00011 
00012 class Graph2D: public Graph
00013 {
00014 public:
00015         Graph2D(QString n="", QString l="",LRange r[2]=0, LSource src=SFUNCTION, PType t=P2D, Style st=0, 
00016                 Symbol sy=Symbol(), Point *p=0, int nr=0, bool b=TRUE);
00017         LRange Range(int i) { return range[i]; }
00018         void setRange(LRange *r) { range[0]=r[0];range[1]=r[1]; }
00019         Point *Data() { return ptr; }
00020         QStringList Info();     
00021         void save(QTextStream *t);
00022         void open(QTextStream *t,int version);
00023 private:
00024         Point *ptr;
00025         LRange *range;
00026 };
00027 
00028 #endif // GRAPH2D_H

Generated on Sun Nov 28 22:31:16 2004 for LabPlot by doxygen 1.3.6