00001 /*************************************************************************** 00002 experimentalpeakinterpolation.h - description 00003 ------------------- 00004 begin : Sat Nov 16 2002 00005 copyright : (C) 2002 by Peter Eschler 00006 email : eschler@users.sourceforge.net 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU Library General Public License as * 00013 * published by the Free Software Foundation; either version 2 of the * 00014 * License, or (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef QwavEXPERIMENTALPEAKINTERPOLATION_H 00019 #define QwavEXPERIMENTALPEAKINTERPOLATION_H 00020 00021 //--------------------------------------------------------------------------- 00022 // Includes: project 00023 //--------------------------------------------------------------------------- 00024 00025 #include "qwavpeakinterpolator.h" 00026 00027 //--------------------------------------------------------------------------- 00028 // Includes: system 00029 //--------------------------------------------------------------------------- 00030 00031 #include <string> 00032 00033 using namespace std; 00034 00035 Qwav_BEGIN_NAMESPACE 00036 00037 //--------------------------------------------------------------------------- 00038 // Forward delcarations: QwavExperimentalPeakInterpolation 00039 //--------------------------------------------------------------------------- 00040 00041 class QwavPeakInfo; 00042 00043 00044 //--------------------------------------------------------------------------- 00045 // Class: QwavExperimentalPeakInterpolation 00046 //--------------------------------------------------------------------------- 00047 00053 class QWAV_EXPORTIMPORT QwavExperimentalPeakInterpolation 00054 : public QwavPeakInterpolator 00055 { 00056 public: 00057 QwavExperimentalPeakInterpolation(); 00058 virtual ~QwavExperimentalPeakInterpolation(); 00059 00060 virtual QwavPeakInfo getPeak( const QwavPeakVector* pv, 00061 int pixel, 00062 int nPixels, 00063 Float zoomFactor, 00064 uint channel=1 ) const; 00065 00066 virtual const string getName() const { 00067 return "QwavExperimentalPeakInterpolation"; 00068 } 00069 }; 00070 00071 Qwav_END_NAMESPACE 00072 00073 #endif // QwavEXPERIMENTALPEAKINTERPOLATION_H