An official website of the United States government
Here’s how you know
Official websites use .gov
A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS
A
lock
( ) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
Isis 3 Programmer Reference
|
This class is used to create PhotoModel objects. More...
#include <PhotoModelFactory.h>
Static Public Member Functions | |
static PhotoModel * | Create (Pvl &pvl) |
Create a PhotoModel object using a PVL specification. | |
Private Member Functions | |
PhotoModelFactory () | |
Constructor (its private so you can't use it). | |
~PhotoModelFactory () | |
Destroys the PhotoModelFactory. | |
This class is used to create PhotoModel objects.
Typically, applications which perform photometric corrections need to use different types of photometric function such as Lambert, Minnaert, HapkeLegendre, etc. If this factory is given a Pvl object which contains a PhotoModel definition, it will create that specific instance of the class. For example,
Will create a Minnaert object (which is derived from PhotoModel). The simplest way to create a PhotoModel 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 50 of file PhotoModelFactory.h.
|
inlineprivate |
Constructor (its private so you can't use it).
Use the Create Method instead.
Definition at line 59 of file PhotoModelFactory.h.
|
inlineprivate |
Destroys the PhotoModelFactory.
Definition at line 62 of file PhotoModelFactory.h.
|
static |
Create a PhotoModel 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 35 of file PhotoModelFactory.cpp.
References 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().