Isis 3 Programmer Reference
|
This class is used to create NormModel objects. More...
#include <NormModelFactory.h>
Static Public Member Functions | |
static NormModel * | Create (Pvl &pvl, PhotoModel &pmodel) |
Create a NormModel object using a PVL specification. More... | |
static NormModel * | Create (Pvl &pvl, PhotoModel &pmodel, AtmosModel &amodel) |
Create a NormModel object using a PVL specification. More... | |
Private Member Functions | |
NormModelFactory () | |
Constructor (its private so you can't use it). More... | |
~NormModelFactory () | |
Destroys the NormModelFactory. More... | |
This class is used to create NormModel objects.
Typically, applications which perform normalization corrections need to use different methods such as Shade, ShadeAtm, Albedo, etc. If this factory is given a Pvl object which contains a NormModel definition, it will create that specific instance of the class. For example,
Will create a Shade normalization object (which is derived from NormModel). The simplest way to create a NormModel class is to use the static Create method.
2006-01-23 Janet Barrett - Original version
2008-06-18 Steven Koechle - Fixed Documentation Errors
Definition at line 68 of file NormModelFactory.h.
|
inlineprivate |
Constructor (its private so you can't use it).
Use the Create Method instead.
Definition at line 78 of file NormModelFactory.h.
|
inlineprivate |
Destroys the NormModelFactory.
Definition at line 81 of file NormModelFactory.h.
|
static |
Create a NormModel 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 |
Definition at line 52 of file NormModelFactory.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().
|
static |
Create a NormModel 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 |
Definition at line 107 of file NormModelFactory.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.