00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef QwavPEAKINTERPOLATOR_H
00019 #define QwavPEAKINTERPOLATOR_H
00020
00021 #include <string>
00022 #include <math.h>
00023
00024 #include "qwavdefines.h"
00025
00026 using namespace std;
00027
00028 Qwav_BEGIN_NAMESPACE
00029
00030 class QwavPeakVector;
00031 class QwavPeakInfo;
00032 class QwavWaveView;
00033
00054 class QWAV_EXPORTIMPORT QwavPeakInterpolator
00055 {
00056 public:
00057
00061 QwavPeakInterpolator();
00062 virtual ~QwavPeakInterpolator();
00063
00077 virtual QwavPeakInfo getPeak( const QwavPeakVector* pv,
00078 int pixel,
00079 int firstSample,
00080 Float zoomFactor,
00081 uint channel=1 ) const = 0;
00082
00083
00089 virtual const string getName() const = 0;
00090
00091 };
00092
00093
00094 Qwav_END_NAMESPACE
00095
00096 #endif // QwavPEAKINTERPOLATOR_H