00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef QCPLOT_H
00028 #define QCPLOT_H
00029
00030 #include <qwt3d_surfaceplot.h>
00031
00032 #include "qccomplexfield.h"
00033
00034 using namespace Qwt3D;
00035
00040 class QCPlot : public SurfacePlot
00041 {
00042 public:
00043
00049 QCPlot();
00053 ~QCPlot();
00055
00056
00062 void realPartOf(QCComplexField<2> field, double minXRange, double maxXRange, double minYRange, double maxYRange);
00066 void imagPartOf(QCComplexField<2> field, double minXRange, double maxXRange, double minYRange, double maxYRange);
00070 void normOf(QCComplexField<2> field, double minXRange, double maxXRange, double minYRange, double maxYRange);
00074 void normOf(QCComplexField<3> field, int slice, double minXRange, double maxXRange, double minYRange, double maxYRange);
00078 void phaseOf(QCComplexField<2> field, double minXRange, double maxXRange, double minYRange, double maxYRange);
00082 void phaseOf(QCComplexField<3> field, int slice, double minXRange, double maxXRange, double minYRange, double maxYRange);
00084
00085
00091 void loadFile(QString filename, int rows, int columns, double minXRange, double maxXRange, double minYRange, double maxYRange);
00095 void outputPDF(QString filename);
00099 void outputPS(QString filename);
00103 void outputEPS(QString filename);
00105
00106 private:
00107 double **ptrField;
00108 };
00109 #endif