Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

qwavpeakinterpolator.h

00001 /***************************************************************************
00002                       qwavpeakinterpolator.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 General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
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

Generated on Mon Jan 20 00:24:54 2003 for Qwav by doxygen1.2.16