Isis 3 Developer Reference
Isis::PhotoModel Class Referenceabstract

#include <PhotoModel.h>

Inheritance diagram for Isis::PhotoModel:
Inheritance graph
Collaboration diagram for Isis::PhotoModel:
Collaboration graph

Public Member Functions

 PhotoModel (Pvl &pvl)
 Create a PhotoModel object. More...
 
virtual ~PhotoModel ()
 
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
 

Detailed Description

Author
1998-12-21 Randy Kirk

Constructor & Destructor Documentation

◆ PhotoModel()

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.

Parameters
pvlA pvl object containing a valid PhotoModel specification
See also
photometricModels.doc

References _FILEINFO_, Isis::PvlObject::findObject(), and Isis::PvlContainer::hasKeyword().

◆ ~PhotoModel()

virtual Isis::PhotoModel::~PhotoModel ( )
inlinevirtual

Member Function Documentation

◆ AlgorithmName()

QString Isis::PhotoModel::AlgorithmName ( ) const
inline

Return algorithm name found in Pvl file from constructor.

Referenced by Isis::Hapke::Hapke().

◆ CalcSurfAlbedo()

double Isis::PhotoModel::CalcSurfAlbedo ( double  pha,
double  inc,
double  ema 
)

◆ Hfunc()

double Isis::PhotoModel::Hfunc ( double  u,
double  gamma 
)
inline

Hapke's approximation to Chandra's H function.

Referenced by Isis::Hapke::PhotoModelAlgorithm().

◆ Photo0B0Standard()

QString Isis::PhotoModel::Photo0B0Standard ( ) const
inline

Return photometric B0 standardization value.

References p_photo0B0Standard.

◆ PhotoB0()

double Isis::PhotoModel::PhotoB0 ( ) const
inline

Return photometric B0 value.

References p_photoB0.

◆ PhotoBh()

double Isis::PhotoModel::PhotoBh ( ) const
inline

Return photometric Bh value.

References p_photoBh.

◆ PhotoCh()

double Isis::PhotoModel::PhotoCh ( ) const
inline

Return photometric Ch value.

References p_photoCh.

◆ PhotoHg1()

double Isis::PhotoModel::PhotoHg1 ( ) const
inline

Return photometric Hg1 value.

References p_photoHg1.

◆ PhotoHg2()

double Isis::PhotoModel::PhotoHg2 ( ) const
inline

Return photometric Hg2 value.

References p_photoHg2.

◆ PhotoHh()

double Isis::PhotoModel::PhotoHh ( ) const
inline

Return photometric Hh value.

References p_photoHh.

◆ PhotoK()

double Isis::PhotoModel::PhotoK ( ) const
inline

Return photometric K value.

References p_photoK.

◆ PhotoKList()

std::vector<double> Isis::PhotoModel::PhotoKList ( ) const
inline

Return photometric k value list.

References p_photoKList.

◆ PhotoL()

double Isis::PhotoModel::PhotoL ( ) const
inline

Return photometric L value.

References p_photoL.

◆ PhotoLList()

std::vector<double> Isis::PhotoModel::PhotoLList ( ) const
inline

Return photometric l value list.

References p_photoLList.

◆ PhotoModelAlgorithm()

virtual double Isis::PhotoModel::PhotoModelAlgorithm ( double  phase,
double  incidence,
double  emission 
)
protectedpure virtual

◆ PhotoPhaseCurveList()

std::vector<double> Isis::PhotoModel::PhotoPhaseCurveList ( ) const
inline

Return photometric phase curve value list.

References p_photoPhaseCurveList.

◆ PhotoPhaseList()

std::vector<double> Isis::PhotoModel::PhotoPhaseList ( ) const
inline

Return photometric phase angle list.

References p_photoPhaseList.

◆ PhotoTheta()

double Isis::PhotoModel::PhotoTheta ( ) const
inline

Return photometric Theta value.

References p_photoTheta.

◆ PhotoWh()

double Isis::PhotoModel::PhotoWh ( ) const
inline

Return photometric Wh value.

References p_photoWh.

◆ PhtAcos()

double Isis::PhotoModel::PhtAcos ( double  cosang)
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.

Parameters
cosanginput value to obtain arccosine of (in radians)
Returns
double Arccosine of cosang, if valid.
History:
2008-11-05 Jeannie Walldren - This method was moved from NumericalMethods class.

◆ PhtTopder()

double Isis::PhotoModel::PhtTopder ( double  phase,
double  incidence,
double  emission 
)

Obtain topographic derivative of an arbitrary photometric function.

Parameters
phaseInput phase angle
incidenceInput incidence angle
emissionInput emission angle
Returns
double Gradient

References Isis::PI.

Referenced by Isis::Mixed::Mixed(), Isis::Topo::NormModelAlgorithm(), Isis::Mixed::NormModelAlgorithm(), Isis::TopoAtm::NormModelAlgorithm(), and Isis::TopoAtm::TopoAtm().

◆ SetPhoto0B0Standard()

virtual void Isis::PhotoModel::SetPhoto0B0Standard ( const QString &  b0standard)
inlinevirtual

Reimplemented in Isis::Hapke.

References p_photo0B0Standard.

◆ SetPhotoB0()

virtual void Isis::PhotoModel::SetPhotoB0 ( const double  b0)
inlinevirtual

Reimplemented in Isis::Hapke.

References p_photoB0.

◆ SetPhotoBh()

virtual void Isis::PhotoModel::SetPhotoBh ( const double  bh)
inlinevirtual

Reimplemented in Isis::Hapke.

References p_photoBh.

◆ SetPhotoCh()

virtual void Isis::PhotoModel::SetPhotoCh ( const double  ch)
inlinevirtual

Reimplemented in Isis::Hapke.

References p_photoCh.

◆ SetPhotoHg1()

virtual void Isis::PhotoModel::SetPhotoHg1 ( const double  hg1)
inlinevirtual

Reimplemented in Isis::Hapke.

References p_photoHg1.

◆ SetPhotoHg2()

virtual void Isis::PhotoModel::SetPhotoHg2 ( const double  hg2)
inlinevirtual

Reimplemented in Isis::Hapke.

References p_photoHg2.

◆ SetPhotoHh()

virtual void Isis::PhotoModel::SetPhotoHh ( const double  hh)
inlinevirtual

Reimplemented in Isis::Hapke.

References p_photoHh.

◆ SetPhotoK()

virtual void Isis::PhotoModel::SetPhotoK ( const double  k)
inlinevirtual

Reimplemented in Isis::Minnaert.

References p_photoK.

◆ SetPhotoKList()

virtual void Isis::PhotoModel::SetPhotoKList ( const QString  )
inlinevirtual

Reimplemented in Isis::MinnaertEmpirical.

◆ SetPhotoL()

virtual void Isis::PhotoModel::SetPhotoL ( const double  l)
inlinevirtual

Reimplemented in Isis::LunarLambert.

References p_photoL.

◆ SetPhotoLList()

virtual void Isis::PhotoModel::SetPhotoLList ( const QString  )
inlinevirtual

Reimplemented in Isis::LunarLambertEmpirical.

◆ SetPhotoPhaseCurveList()

virtual void Isis::PhotoModel::SetPhotoPhaseCurveList ( const QString  )
inlinevirtual

◆ SetPhotoPhaseList()

virtual void Isis::PhotoModel::SetPhotoPhaseList ( const QString  )
inlinevirtual

◆ SetPhotoTheta()

virtual void Isis::PhotoModel::SetPhotoTheta ( const double  theta)
inlinevirtual

Reimplemented in Isis::Hapke.

References p_photoTheta.

◆ SetPhotoWh()

virtual void Isis::PhotoModel::SetPhotoWh ( const double  wh)
inlinevirtual

Reimplemented in Isis::Hapke.

References p_photoWh.

◆ SetStandardConditions()

void Isis::PhotoModel::SetStandardConditions ( bool  standard)
virtual

◆ StandardConditions()

bool Isis::PhotoModel::StandardConditions ( ) const
inline

Returns true if standard conditions are used, i.e., if SetStandardConditions(true) has been called. This is initialized to false in the constructor.

Member Data Documentation

◆ p_algName

QString Isis::PhotoModel::p_algName
protected

◆ p_photo0B0Standard

QString Isis::PhotoModel::p_photo0B0Standard
protected

◆ p_photoB0

◆ p_photoB0save

double Isis::PhotoModel::p_photoB0save
protected

◆ p_photoBh

double Isis::PhotoModel::p_photoBh
protected

◆ p_photoBSpline

◆ p_photoCh

double Isis::PhotoModel::p_photoCh
protected

◆ p_photoCot2t

double Isis::PhotoModel::p_photoCot2t
protected

◆ p_photoCott

double Isis::PhotoModel::p_photoCott
protected

◆ p_photoHg1

double Isis::PhotoModel::p_photoHg1
protected

◆ p_photoHg2

double Isis::PhotoModel::p_photoHg2
protected

◆ p_photoHh

double Isis::PhotoModel::p_photoHh
protected

◆ p_photoK

double Isis::PhotoModel::p_photoK
protected

◆ p_photoKList

◆ p_photoKSpline

◆ p_photoL

double Isis::PhotoModel::p_photoL
protected

◆ p_photoLList

◆ p_photoLSpline

◆ p_photoOsr

double Isis::PhotoModel::p_photoOsr
protected

◆ p_photoPhaseAngleCount

int Isis::PhotoModel::p_photoPhaseAngleCount
protected

◆ p_photoPhaseCurveList

◆ p_photoPhaseList

◆ p_photoSr

double Isis::PhotoModel::p_photoSr
protected

◆ p_photoTant

double Isis::PhotoModel::p_photoTant
protected

◆ p_photoTheta

double Isis::PhotoModel::p_photoTheta
protected

◆ p_photoThetaold

double Isis::PhotoModel::p_photoThetaold
protected

◆ p_photoWh

double Isis::PhotoModel::p_photoWh
protected

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