casa
$Rev:20696$
|
#include <ConverterVelocity.h>
Public Member Functions | |
ConverterVelocity (const QString &oldUnits, const QString &newUnits) | |
virtual double | toPixel (double value) |
Abstract methods to be implemented by subclasses. | |
virtual Vector< double > | convert (const Vector< double > &oldValues) |
virtual | ~ConverterVelocity () |
Static Public Member Functions | |
static void | convertVelocity (Vector< double > &resultValues, QString &sourceUnits, QString &destUnits) |
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 | ) | [virtual] |
Implements casa::Converter.
Reimplemented in casa::ConverterVelocityWavelength, and casa::ConverterVelocityFrequency.
static void casa::ConverterVelocity::convertVelocity | ( | Vector< double > & | resultValues, |
QString & | sourceUnits, | ||
QString & | destUnits | ||
) | [static] |
virtual double casa::ConverterVelocity::toPixel | ( | double | value | ) | [virtual] |
Abstract methods to be implemented by subclasses.
virtual float convert( float oldValue ) const = 0;
Implements casa::Converter.