include/qcplot.h

00001 /***************************************************************************
00002  *   Quantum Construct (qC++)                                              *
00003  *   The Quantum Physics Computational Library                             *
00004  *   Copyright (C) 2005 by Shekhar S. Chandra                              *
00005  *   Shekhar.Chandra@sci.monash,edu.au                                     *
00006  *                                                                         *
00007  *   This program is free software; you can redistribute it and/or modify  *
00008  *   it under the terms of the GNU General Public License as published by  *
00009  *   the Free Software Foundation; either version 2 of the License, or     *
00010  *   (at your option) any later version.                                   *
00011  *                                                                         *
00012  *   This program is distributed in the hope that it will be useful,       *
00013  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00014  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00015  *   GNU General Public License for more details.                          *
00016  *                                                                         *
00017  *   You should have received a copy of the GNU General Public License     *
00018  *   along with this program; if not, write to the                         *
00019  *   Free Software Foundation, Inc.,                                       *
00020  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00021  ***************************************************************************/
00022 /*
00023         Ver Info - QCPlot.h
00024         1.0.0 - Original Implementation
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

Generated on Sat May 13 13:22:48 2006 for Quantum Construct (qC++) by  doxygen 1.4.6-NO