#include <ConverterFrequency.h>
Public Member Functions | |
ConverterFrequency (const QString &oldUnits, const QString &newUnits) | |
virtual double | toPixel (double value, SpectralCoordinate spectralCoordinate) |
Abstract methods to be implemented by subclasses. | |
virtual Vector< double > | convert (const Vector< double > &oldValues, SpectralCoordinate spectralCoordinate) |
virtual | ~ConverterFrequency () |
Static Public Member Functions | |
static void | convertFrequency (Vector< double > &resultValues, QString &frequencySourceUnits, QString &frequencyDestUnits, SpectralCoordinate &spectralCoordinate) |
Definition at line 33 of file ConverterFrequency.h.
casa::ConverterFrequency::ConverterFrequency | ( | const QString & | oldUnits, | |
const QString & | newUnits | |||
) |
virtual casa::ConverterFrequency::~ConverterFrequency | ( | ) | [virtual] |
virtual Vector<double> casa::ConverterFrequency::convert | ( | const Vector< double > & | oldValues, | |
SpectralCoordinate | spectralCoordinate | |||
) | [virtual] |
Implements casa::Converter.
Reimplemented in casa::ConverterFrequencyVelocity, and casa::ConverterFrequencyWavelength.
static void casa::ConverterFrequency::convertFrequency | ( | Vector< double > & | resultValues, | |
QString & | frequencySourceUnits, | |||
QString & | frequencyDestUnits, | |||
SpectralCoordinate & | spectralCoordinate | |||
) | [static] |
virtual double casa::ConverterFrequency::toPixel | ( | double | value, | |
SpectralCoordinate | coordinate | |||
) | [virtual] |
Abstract methods to be implemented by subclasses.
Implements casa::Converter.