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

QwavDefaultPeakInterpolator Class Reference
[Peak interpolators]

#include <qwavdefaultpeakinterpolator.h>

Inheritance diagram for QwavDefaultPeakInterpolator:

Inheritance graph
[legend]
Collaboration diagram for QwavDefaultPeakInterpolator:

Collaboration graph
[legend]
List of all members.

Public Methods

 QwavDefaultPeakInterpolator ()
 ~QwavDefaultPeakInterpolator ()
virtual QwavPeakInfo getPeak (const QwavPeakVector *pv, int pixel, int firstSample, Float zoomFactor, uint channel=1) const
virtual const string getName () const

Detailed Description

Author:
Peter Eschler


Member Function Documentation

virtual const string QwavDefaultPeakInterpolator::getName   const [inline, virtual]
 

Returns the name of this interpolation strategy. Have to be implemented in subclasses to return a unique name (e.g. the class name).

Returns:
the name of this interpolation strategy

Implements QwavPeakInterpolator.

QwavPeakInfo QwavDefaultPeakInterpolator::getPeak const QwavPeakVector   pv,
int    pixel,
int    firstSample,
Float    zoomFactor,
uint    channel = 1
const [virtual]
 

Returns the peak of sample pixel from the given peak vector pv. The firstSample is the the first visible sample in the view to get the pixel for and zoomFac the zoom factor of this view.

Parameters:
pv  the peak vector to get the data from
pixel  the pixel to get the peak for
firstSample  the first visible sample in the target view
zoomFac  the zoom factor of the target view
See also:
WaveView QwavPeakVector

Implements QwavPeakInterpolator.


The documentation for this class was generated from the following files:
Generated on Mon Jan 20 00:24:55 2003 for Qwav by doxygen1.2.16