Isis 3.0 Object Programmers' Reference
Static Public Member Functions
|static PhotoModel *||Create (Pvl &pvl)|
|Create a PhotoModel object using a PVL specification. |
Private Member Functions
|Constructor (its private so you can't use it). |
|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,
Object = PhotometricModel Group = Algorithm Name = Minnaert ... EndGroup ... EndObject End
Pvl p("myphotmodel.pvl"); PhotoModel *ar = PhotoModelFactory::Create(p);
For internal use only.
Create a PhotoModel object using a PVL specification.
An example of the PVL required for this is:
Object = PhotometricModel Group = Algorithm PhtName/Name = Minnaert K = 0.7 EndGroup EndObject
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|
Referenced by Isis::Photometry::Photometry().