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

Graph4D.h

Go to the documentation of this file.
00001 //LabPlot : Graph4D.h
00002 
00003 #ifndef GRAPH4D_H
00004 #define GRAPH4D_H
00005 
00006 #include <qtextstream.h>
00007 #include <qprogressdialog.h>
00008 #include "Graph.h"
00009 #include "LRange.h"
00010 #include "Point4D.h"
00011 
00012 class Graph4D: public Graph
00013 {
00014 public:
00015         Graph4D(QString n=QString(""), QString l=QString(""), LRange r[4]=0, LSource src=SFUNCTION, PType t=P2D, 
00016                 Style *st=0, Symbol *sy=0, Point4D *p=0, int nr=0, bool ty=0, bool s=true);
00017         Point4D *Data() { return ptr; }
00018         LRange Range(int i) { return range[i]; }
00019         void setRange(LRange *r) { range[0]=r[0];range[1]=r[1];range[2]=r[2];range[3]=r[3]; }
00020         bool GType() { return gtype; }
00021         void setGType(bool t) { gtype = t; }
00022         void save(QTextStream *t, QProgressDialog *progress);
00023         void open(QTextStream *t, int version, QProgressDialog *progress);
00024         QStringList Info();
00025         LRange ErrorDXRange();
00026         LRange ErrorDYRange();
00027 private:
00028         bool gtype;                                             // 0 : x-y-dx-dy, 1: x-y-dy1-dy2
00029         Point4D *ptr;
00030         LRange *range;
00031 };
00032 
00033 #endif // GRAPH4D_H

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