HorizontalScaleProvider Class Referenceabstract

Interface to be implemented by objects, such as layers or objects they delegate to, in which the X axis corresponds to frequency. More...

#include <HorizontalScaleProvider.h>

Inheritance diagram for HorizontalScaleProvider:
Inheritance graph

Public Member Functions

virtual double getFrequencyForX (const LayerGeometryProvider *, double x) const =0
 
virtual double getXForFrequency (const LayerGeometryProvider *, double freq) const =0
 

Detailed Description

Interface to be implemented by objects, such as layers or objects they delegate to, in which the X axis corresponds to frequency.

For example, SpectrumLayer.

Definition at line 26 of file HorizontalScaleProvider.h.

Member Function Documentation

virtual double HorizontalScaleProvider::getFrequencyForX ( const LayerGeometryProvider ,
double  x 
) const
pure virtual

Implemented in SpectrumLayer.

Referenced by HorizontalFrequencyScale::paintScale().

virtual double HorizontalScaleProvider::getXForFrequency ( const LayerGeometryProvider ,
double  freq 
) const
pure virtual

The documentation for this class was generated from the following file: