#include <ConverterVelocity.h>
Public Member Functions | |
ConverterVelocity (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 | ~ConverterVelocity () |
Static Public Member Functions | |
static void | convertVelocity (Vector< double > &resultValues, QString &sourceUnits, QString &destUnits, SpectralCoordinate &coord) |
Definition at line 33 of file ConverterVelocity.h.
casa::ConverterVelocity::ConverterVelocity | ( | const QString & | oldUnits, | |
const QString & | newUnits | |||
) |
virtual casa::ConverterVelocity::~ConverterVelocity | ( | ) | [virtual] |
virtual Vector<double> casa::ConverterVelocity::convert | ( | const Vector< double > & | oldValues, | |
SpectralCoordinate | spectralCoordinate | |||
) | [virtual] |
Implements casa::Converter.
Reimplemented in casa::ConverterVelocityFrequency, and casa::ConverterVelocityWavelength.
static void casa::ConverterVelocity::convertVelocity | ( | Vector< double > & | resultValues, | |
QString & | sourceUnits, | |||
QString & | destUnits, | |||
SpectralCoordinate & | coord | |||
) | [static] |
virtual double casa::ConverterVelocity::toPixel | ( | double | value, | |
SpectralCoordinate | coordinate | |||
) | [virtual] |
Abstract methods to be implemented by subclasses.
Implements casa::Converter.