Isis Developer Reference
Isis::NormModelFactory Class Reference

This class is used to create NormModel objects. More...

#include <NormModelFactory.h>

Collaboration diagram for Isis::NormModelFactory:
Collaboration graph

Static Public Member Functions

static NormModelCreate (Pvl &pvl, PhotoModel &pmodel)
 Create a NormModel object using a PVL specification.
 
static NormModelCreate (Pvl &pvl, PhotoModel &pmodel, AtmosModel &amodel)
 Create a NormModel object using a PVL specification.
 

Detailed Description

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,

Object = NormalizationModel
Group = Algorithm
Name = Shade
...
EndGroup
...
EndObject
End
Definition Shade.h:29

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.

Pvl p("mynormmodel.pvl");
static NormModel * Create(Pvl &pvl, PhotoModel &pmodel)
Create a NormModel object using a PVL specification.
Definition NormModelFactory.cpp:36
Definition NormModel.h:36
Container for cube-like labels.
Definition Pvl.h:119
Author
2006-01-23 Janet Barrett

Member Function Documentation

◆ Create() [1/2]

NormModel * Isis::NormModelFactory::Create ( Pvl & pvl,
PhotoModel & pmodel )
static

Create a NormModel object using a PVL specification.

An example of the PVL required for this is:

Object = NormalizationModel
Group = Algorithm
NormName/Name = ShadeAtm
EndGroup
EndObject
Isotropic atmos scattering model.
Definition AtmosModel.h:60
Definition Isotropic1.h:39
Minnaert photometric model Derive model albedo using Minnaert equation.
Definition Minnaert.h:42
Definition PhotoModel.h:41
Definition ShadeAtm.h:35

There are many other options that can be set via the pvl and are described in other documentation (see below).

Parameters
pvlThe pvl object containing the specification
See also
normalizationModels.doc

References _FILEINFO_, Isis::FileName::fileExists(), Isis::PvlObject::Traverse, and Isis::IException::User.

Referenced by Isis::Photometry::Photometry().

◆ Create() [2/2]

NormModel * Isis::NormModelFactory::Create ( Pvl & pvl,
PhotoModel & pmodel,
AtmosModel & amodel )
static

Create a NormModel object using a PVL specification.

An example of the PVL required for this is:

Object = NormalizationModel
Group = Algorithm
NormName/Name = ShadeAtm
EndGroup
EndObject

There are many other options that can be set via the pvl and are described in other documentation (see below).

Parameters
pvlThe pvl object containing the specification
See also
normalizationModels.doc

References _FILEINFO_, Isis::FileName::fileExists(), Isis::PvlObject::Traverse, and Isis::IException::User.


The documentation for this class was generated from the following files: