casa
5.7.0-16
|
#include <ConverterWavelength.h>
Public Member Functions | |
ConverterWavelength (const QString &oldUnits, const QString &newUnits) | |
virtual double | toPixel (double value, casacore::SpectralCoordinate spectralCoordinate) |
Abstract methods to be implemented by subclasses. More... | |
virtual casacore::Vector< double > | convert (const casacore::Vector< double > &oldValues, casacore::SpectralCoordinate spectralCoordinate) |
virtual | ~ConverterWavelength () |
Public Member Functions inherited from casa::Converter | |
Converter (const QString &oldUnits, const QString &newUnits) | |
QString | getNewUnits () const |
virtual double | convert (double oldValue, casacore::SpectralCoordinate coordinate) |
virtual | ~Converter () |
Static Public Member Functions | |
static void | convertWavelength (casacore::Vector< double > &resultValues, QString &sourceUnits, QString &destUnits, casacore::SpectralCoordinate &coord) |
Static Public Member Functions inherited from casa::Converter | |
static Converter * | getConverter (const QString &oldUnits, const QString &newUnits) |
Factory for producing the appropriate converter. More... | |
static void | convert (casacore::Vector< double > &resultValues, int sourceIndex, int destIndex, casacore::SpectralCoordinate coordinate) |
static UnitType | getUnitType (const QString &unit) |
Additional Inherited Members | |
Public Types inherited from casa::Converter | |
enum | UnitType { FREQUENCY_UNIT, VELOCITY_UNIT, WAVELENGTH_UNIT, CHANNEL_UNIT, UNRECOGNIZED } |
Protected Attributes inherited from casa::Converter | |
QString | oldUnits |
QString | newUnits |
Static Protected Attributes inherited from casa::Converter | |
static const QList< QString > | FREQUENCY_UNITS |
static const QList< QString > | WAVELENGTH_UNITS |
static const QList< QString > | VELOCITY_UNITS |
Definition at line 33 of file ConverterWavelength.h.
casa::ConverterWavelength::ConverterWavelength | ( | const QString & | oldUnits, |
const QString & | newUnits | ||
) |
|
virtual |
|
virtual |
Implements casa::Converter.
Reimplemented in casa::ConverterWavelengthFrequency, and casa::ConverterWavelengthVelocity.
|
static |
|
virtual |
Abstract methods to be implemented by subclasses.
Implements casa::Converter.