Isis 3 Programmer Reference
|
This class is used to create AtmosModel objects.
More...
#include <AtmosModelFactory.h>
Static Public Member Functions | |
static AtmosModel * | Create (Pvl &pvl, PhotoModel &pmodel) |
Create an AtmosModel object using a PVL specification. More... | |
Private Member Functions | |
AtmosModelFactory () | |
Constructor (its private so you can't use it). More... | |
~AtmosModelFactory () | |
Destroys the AtmosModelFactory. More... | |
This class is used to create AtmosModel objects.
Typically, applications which perform atmospheric corrections need to use different types of atmospheric function such as Isotropic1, Anisotropic1, HapkeAtm1, etc. If this factory is given a Pvl object which contains an AtmosModel definition, it will create that specific instance of the class. For example,
Will create an Isotropic 1st order object (which is derived from AtmosModel). The simplest way to create an AtmosModel class is to use the static Create method
2008-06-18 Christopher Austin - Fixed documentation errors
2011-08-25 Sharmila Prasad - Use 'AstName' for Model name to be able to be used in combo Gui which requires unique parameter name. Maintaining 'Name' to support existing apps using this keyword.
Definition at line 65 of file AtmosModelFactory.h.
|
inlineprivate |
Constructor (its private so you can't use it).
Use the Create Method instead.
Definition at line 74 of file AtmosModelFactory.h.
|
inlineprivate |
Destroys the AtmosModelFactory.
Definition at line 77 of file AtmosModelFactory.h.
|
static |
Create an AtmosModel object using a PVL specification.
An example of the PVL required for this is:
There are many other options that can be set via the pvl and are described in other documentation (see below).
pvl | The pvl object containing the specification |
pmodel | The PhotoModel objects contining the data |
Definition at line 60 of file AtmosModelFactory.cpp.
References _FILEINFO_, Isis::FileName::fileExists(), Isis::PvlObject::findObject(), Isis::Plugin::GetPlugin(), Isis::PvlContainer::hasKeyword(), Isis::Pvl::read(), Isis::PvlObject::Traverse, and Isis::IException::User.
Referenced by Isis::Photometry::Photometry().