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

Plot3D.h

Go to the documentation of this file.
00001 //LabPlot : Plot3D.h
00002 
00003 #ifndef PLOT3D_H
00004 #define PLOT3D_H
00005 
00006 #include "Plot.h"
00007 
00008 class Plot3D:public Plot {
00009 public:
00010         Plot3D(Worksheet *p);
00011         QStringList Info();
00012         ~Plot3D() {}
00013         Axis *getAxis(int i) { return &axis[i]; }
00014         void saveAxes(QTextStream *t);
00015         void openAxes(QTextStream *t,int version);
00016         void saveXML(QDomDocument doc, QDomElement plottag);
00017         void openXML(QDomElement e);
00018         void draw(QPainter* p,int w, int h);
00019         void drawBorder(QPainter* p,int w, int h,bool hide);
00020         void drawCurves(QPainter* p,int w, int h);
00021         void drawAxes(QPainter* p,int w, int h, bool hide);
00022         void setBorder(int item, bool on);
00023         void setRange(LRange* r,int i) {range[i]=*r;}
00024         void setActRange(LRange* r,int i) {actrange[i]=*r;}
00025         void setRanges(LRange* r) {range[0]=r[0];range[1]=r[1];range[2]=r[2];}
00026         void setActRanges(LRange* r) {actrange[0]=r[0];actrange[1]=r[1];actrange[2]=r[2];}
00027 private:
00028         Axis axis[12];          // x, y, z, x2, y2, z2, x3, y3, z3, x4, y4, z4
00029 };
00030 
00031 #endif // PLOT3D_H

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