56 QString algorithm =
"";
58 algorithm = QString(algo[
"NormName"]);
61 algorithm = QString(algo[
"Name"]);
64 QString msg =
"Keyword [Name] or keyword [NormName] must ";
65 msg +=
"exist in [Group = Algorithm]";
73 p->
read(
"NormModel.plugin");
76 p->
read(
"$ISISROOT/lib/NormModel.plugin");
83 return (*plugin)(pvl, pmodel);
112 QString algorithm =
"";
114 algorithm = QString(algo[
"NormName"]);
117 algorithm = QString(algo[
"Name"]);
120 IString msg =
"Keyword [Name] or keyword [NormName] must ";
121 msg +=
"exist in [Group = Algorithm]";
129 p->
read(
"NormModel.plugin");
132 p->
read(
"$ISISROOT/lib/NormModel.plugin");
141 return (*plugin)(pvl, pmodel, amodel);
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
File name manipulation and expansion.
PvlObjectIterator findObject(const QString &name, PvlObjectIterator beg, PvlObjectIterator end)
Find the index of object with a specified name, between two indexes.
Loads plugins from a shared library.
Isotropic atmos scattering model.
Contains multiple PvlContainers.
#define _FILEINFO_
Macro for the filename and line number.
A type of error that could only have occurred due to a mistake on the user's part (e...
Container for cube-like labels.
static NormModel * Create(Pvl &pvl, PhotoModel &pmodel)
Create a NormModel object using a PVL specification.
Adds specific functionality to C++ strings.
Namespace for ISIS/Bullet specific routines.
QFunctionPointer GetPlugin(const QString &group)
This method returns a void pointer to a C function (i.e., the plugin) It does this by looking in itse...
void read(const QString &file)
Loads PVL information from a stream.
bool fileExists() const
Returns true if the file exists; false otherwise.