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

GraphVTK.h

Go to the documentation of this file.
00001 //LabPlot : GraphVTK.h
00002 
00003 #ifndef GRAPHVTK_H
00004 #define GRAPHVTK_H
00005 
00006 #include <qstringlist.h>
00007 #include <qtextstream.h>
00008 #include <kdebug.h>
00009 #include "Graph.h"
00010 #include "Point.h"
00011 
00012 #ifdef HAVE_VTK
00013 // vtk header
00014 #endif
00015 
00016 class GraphVTK: public Graph
00017 {
00018 public:
00019         GraphVTK(QString n="", QString l="",LRange r[3]=0, int t=PVTK, Style st=0, 
00020                 Symbol sy=Symbol(), int nr=0);
00021         LRange getRange(int i) { return range[i]; }
00022         void setRange(LRange *r) { range[0]=r[0];range[1]=r[1];range[2]=r[2]; }
00023         QStringList Info();
00024 
00025         int getObject() { return object; }
00026         void setObject(int o) { object = o; }
00027         QColor getColor() { return color; }
00028         void setColor(QColor c) { color=c; }
00029         bool getBoxed() { return boxed; }
00030         void setBoxed(bool b) { boxed = b; }
00031 
00032         void save(QTextStream *t);
00033         void open(QTextStream *t,int version);
00034 private:
00035         LRange *range;
00036         int object;             // type of object : 0-cone,1-cube,2-sphere,3-cylinder,4-point
00037         QColor color;   // object color
00038         bool boxed;             // draw box
00039 };
00040 
00041 #endif // GRAPHVTK_H

Generated on Sun Aug 29 14:56:04 2004 for LabPlot by doxygen 1.3.6