casa
$Rev:20696$
|
FIXME fix documentation. More...
#include <SpectralElementFactory.h>
Static Public Member Functions | |
static std::auto_ptr < SpectralElement > | fromRecord (const RecordInterface &container) |
Construct from record. |
FIXME fix documentation.
Class for creating spectral elements
Public interface
From spectral and element and factory. As in to manufacture a SpectralElement
SpectralElementFactory contains methods for creating SpectralElements.
To have a factory class for producing types of SpectralElements.
Definition at line 71 of file SpectralElementFactory.h.
static std::auto_ptr<SpectralElement> casa::SpectralElementFactory::fromRecord | ( | const RecordInterface & | container | ) | [static] |
Construct from record.
Must hold fields "type" (String) and "parameters" (Vector<Double>). For type=GAUSSIAN, parameters holds amplitude, center and sigma. For type=POLYNOMIAL, parameters(0) holds the degree.