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

Graph3D.h

Go to the documentation of this file.
00001 //LabPlot : Graph3D.h
00002 
00003 #ifndef GRAPH3D_H
00004 #define GRAPH3D_H
00005 
00006 #include <qtextstream.h>
00007 #include <qprogressdialog.h>
00008 #include "Graph.h"
00009 #include "LRange.h"
00010 #include "Point3D.h"
00011 
00012 class Graph3D: public Graph
00013 {
00014 public:
00015         Graph3D(QString n=QString(""), QString l=QString(""), LRange r[3]=0, LSource src=SFUNCTION, PType t=P3D, 
00016                 Style *st=0, Symbol *sy=0, Point3D *p=0, int nrx=0, int nry=0, bool s=true);
00017         Point3D *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]; }
00020         int NX() { return numberx; }
00021         int NY() { return numbery; }
00022         void setNumber(int n) { number = n; }
00023         void setNumberX(int n) { numberx = n; }
00024         void setNumberY(int n) { numbery = n; }
00025         void save(QTextStream *t, QProgressDialog *progress);
00026         void open(QTextStream *t,int version, QProgressDialog *progress);
00027         QStringList Info();
00028         LRange ErrorDYRange();
00029 private:
00030         int numberx, numbery;
00031         Point3D *ptr;
00032         LRange *range;
00033 };
00034 
00035 #endif // GRAPH3D_H

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