Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | 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         Graph3D *Clone();               // clone this graph
00018         Point3D *Data() { return ptr; }
00019         void setData(Point3D *data) { ptr = data; }
00020         LRange Range(int i) { return range[i]; }
00021         void setRange(LRange r[3]) { range[0]=r[0];range[1]=r[1];range[2]=r[2]; }
00022         int NX() { return nx; }
00023         int NY() { return ny; }
00024         void setNumberX(int n) { nx = n; }
00025         void setNumberY(int n) { ny = n; }
00026         void save(QTextStream *t, QProgressDialog *progress);
00027         void open(QTextStream *t,int version, QProgressDialog *progress);
00028         void saveXML(QDomDocument doc, QDomElement graphtag);
00029         void openXML(QDomNode node);
00030         QStringList Info();
00031         LRange ErrorDYRange();
00032 private:
00033         LRange range[3];
00034         int nx, ny;
00035         Point3D *ptr;
00036 };
00037 
00038 #endif // GRAPH3D_H

Generated on Sun Apr 2 02:05:09 2006 for LabPlot by  doxygen 1.4.4