![]() |
Isis 3 Programmer Reference
|
#include <PhotoModel.h>
Public Member Functions | |
PhotoModel (Pvl &pvl) | |
Create a PhotoModel object. More... | |
QString | AlgorithmName () const |
Return algorithm name found in Pvl file from constructor. More... | |
virtual void | SetStandardConditions (bool standard) |
Sets whether standard conditions will be used. More... | |
bool | StandardConditions () const |
Returns true if standard conditions are used, i.e., if SetStandardConditions(true) has been called. This is initialized to false in the constructor. More... | |
double | PhtTopder (double phase, double incidence, double emission) |
Obtain topographic derivative of an arbitrary photometric function. More... | |
double | CalcSurfAlbedo (double pha, double inc, double ema) |
Calculate the surface brightness using photometric angle information. More... | |
virtual void | SetPhotoL (const double l) |
double | PhotoL () const |
Return photometric L value. More... | |
virtual void | SetPhotoK (const double k) |
double | PhotoK () const |
Return photometric K value. More... | |
virtual void | SetPhotoHg1 (const double hg1) |
double | PhotoHg1 () const |
Return photometric Hg1 value. More... | |
virtual void | SetPhotoHg2 (const double hg2) |
double | PhotoHg2 () const |
Return photometric Hg2 value. More... | |
virtual void | SetPhotoBh (const double bh) |
double | PhotoBh () const |
Return photometric Bh value. More... | |
virtual void | SetPhotoCh (const double ch) |
double | PhotoCh () const |
Return photometric Ch value. More... | |
virtual void | SetPhotoWh (const double wh) |
double | PhotoWh () const |
Return photometric Wh value. More... | |
virtual void | SetPhotoHh (const double hh) |
double | PhotoHh () const |
Return photometric Hh value. More... | |
virtual void | SetPhotoB0 (const double b0) |
double | PhotoB0 () const |
Return photometric B0 value. More... | |
virtual void | SetPhotoTheta (const double theta) |
double | PhotoTheta () const |
Return photometric Theta value. More... | |
virtual void | SetPhoto0B0Standard (const QString &b0standard) |
QString | Photo0B0Standard () const |
Return photometric B0 standardization value. More... | |
double | Hfunc (double u, double gamma) |
Hapke's approximation to Chandra's H function. More... | |
virtual void | SetPhotoPhaseList (const QString) |
virtual void | SetPhotoKList (const QString) |
virtual void | SetPhotoLList (const QString) |
virtual void | SetPhotoPhaseCurveList (const QString) |
std::vector< double > | PhotoPhaseList () const |
Return photometric phase angle list. More... | |
std::vector< double > | PhotoKList () const |
Return photometric k value list. More... | |
std::vector< double > | PhotoLList () const |
Return photometric l value list. More... | |
std::vector< double > | PhotoPhaseCurveList () const |
Return photometric phase curve value list. More... | |
Static Public Member Functions | |
static double | PhtAcos (double cosang) |
Obtain arccosine of input value. More... | |
Protected Member Functions | |
virtual double | PhotoModelAlgorithm (double phase, double incidence, double emission)=0 |
Protected Attributes | |
double | p_photoL |
double | p_photoK |
double | p_photoHg1 |
double | p_photoHg2 |
double | p_photoBh |
double | p_photoCh |
double | p_photoCott |
double | p_photoCot2t |
double | p_photoTant |
double | p_photoSr |
double | p_photoOsr |
QString | p_algName |
QString | p_photo0B0Standard |
double | p_photoWh |
double | p_photoHh |
double | p_photoB0 |
double | p_photoB0save |
double | p_photoTheta |
double | p_photoThetaold |
std::vector< double > | p_photoPhaseList |
std::vector< double > | p_photoKList |
std::vector< double > | p_photoLList |
std::vector< double > | p_photoPhaseCurveList |
int | p_photoPhaseAngleCount |
NumericalApproximation | p_photoKSpline |
NumericalApproximation | p_photoLSpline |
NumericalApproximation | p_photoBSpline |
Private Attributes | |
QString | p_photoAlgorithmName |
Unique name of the photometric model. More... | |
bool | p_standardConditions |
Indicates whether standard conditions are used. More... | |
1998-12-21 Randy Kirk - USGS, Flagstaff - Original code
2007-02-20 Janet Barrett - Imported from Isis2.
2007-07-31 Steven Lambright - Moved children methods out of this class and into the children classes
2008-03-07 Janet Barrett - Moved variables and related methods that pertain to Hapke specific parameters to this class from the HapkeHen class. Also added the code to set standard conditions.
2008-06-18 Steven Koechle - Fixed Documentation Errors
2008-07-09 Steven Lambright - Fixed unit test
2008-10-17 Steven Lambright - Moved Hapke-specific methods out of this class and into children classes.
2008-11-05 Jeannie Walldren - Moved PhtAcos() from NumericalMethods class.
Definition at line 57 of file PhotoModel.h.
Isis::PhotoModel::PhotoModel | ( | Pvl & | pvl | ) |
Create a PhotoModel object.
Because this is a pure virtual class you can not create a PhotoModel class directly. Instead, see the PhotoModelFactory class.
pvl | A pvl object containing a valid PhotoModel specification |
Definition at line 20 of file PhotoModel.cpp.
References _FILEINFO_, Isis::PvlObject::findObject(), and Isis::PvlContainer::hasKeyword().
|
inline |
Return algorithm name found in Pvl file from constructor.
Definition at line 63 of file PhotoModel.h.
References p_photoAlgorithmName.
double Isis::PhotoModel::CalcSurfAlbedo | ( | double | pha, |
double | inc, | ||
double | ema | ||
) |
Calculate the surface brightness using photometric angle information.
pha | Phase angle |
inc | Incidence angle |
ema | Emission angle |
Definition at line 171 of file PhotoModel.cpp.
Referenced by Isis::Albedo::Albedo(), Isis::AlbedoAtm::AlbedoAtm(), Isis::NumericalAtmosApprox::InrFunc2Bint(), Isis::AlbedoAtm::NormModelAlgorithm(), and Isis::Albedo::NormModelAlgorithm().
|
inline |
Hapke's approximation to Chandra's H function.
Definition at line 184 of file PhotoModel.h.
|
inline |
Return photometric B0 standardization value.
Definition at line 179 of file PhotoModel.h.
|
inline |
Return photometric B0 value.
Definition at line 159 of file PhotoModel.h.
|
inline |
Return photometric Bh value.
Definition at line 123 of file PhotoModel.h.
|
inline |
Return photometric Ch value.
Definition at line 132 of file PhotoModel.h.
|
inline |
Return photometric Hg1 value.
Definition at line 105 of file PhotoModel.h.
|
inline |
Return photometric Hg2 value.
Definition at line 114 of file PhotoModel.h.
|
inline |
Return photometric Hh value.
Definition at line 150 of file PhotoModel.h.
|
inline |
Return photometric K value.
Definition at line 96 of file PhotoModel.h.
|
inline |
Return photometric k value list.
Definition at line 199 of file PhotoModel.h.
|
inline |
Return photometric L value.
Definition at line 87 of file PhotoModel.h.
|
inline |
Return photometric l value list.
Definition at line 204 of file PhotoModel.h.
|
inline |
Return photometric phase curve value list.
Definition at line 209 of file PhotoModel.h.
|
inline |
Return photometric phase angle list.
Definition at line 194 of file PhotoModel.h.
|
inline |
Return photometric Theta value.
Definition at line 168 of file PhotoModel.h.
|
inline |
Return photometric Wh value.
Definition at line 141 of file PhotoModel.h.
|
static |
Obtain arccosine of input value.
If the input value is outside of the valid range (-1 to 1), then obtain the arccosine of the closest valid value.
cosang | input value to obtain arccosine of (in radians) |
Definition at line 144 of file PhotoModel.cpp.
double Isis::PhotoModel::PhtTopder | ( | double | phase, |
double | incidence, | ||
double | emission | ||
) |
Obtain topographic derivative of an arbitrary photometric function.
phase | Input phase angle |
incidence | Input incidence angle |
emission | Input emission angle |
Definition at line 58 of file PhotoModel.cpp.
References Isis::PI.
|
virtual |
Sets whether standard conditions will be used.
standard | True if standard conditions are used. |
Reimplemented in Isis::Hapke.
Definition at line 44 of file PhotoModel.cpp.
Referenced by Isis::Albedo::Albedo(), Isis::AlbedoAtm::AlbedoAtm(), and Isis::Hapke::SetStandardConditions().
|
inline |
Returns true if standard conditions are used, i.e., if SetStandardConditions(true) has been called. This is initialized to false in the constructor.
Definition at line 69 of file PhotoModel.h.
References p_standardConditions.
|
private |
Unique name of the photometric model.
Definition at line 248 of file PhotoModel.h.
Referenced by AlgorithmName().
|
private |
Indicates whether standard conditions are used.
Definition at line 250 of file PhotoModel.h.
Referenced by StandardConditions().
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 07/13/2023 00:07:13 |