Isis 3 Programmer Reference
|
This class is used to create AutoReg objects. More...
#include <AutoRegFactory.h>
Static Public Member Functions | |
static AutoReg * | Create (Pvl &pvl) |
Create an AutoReg object using a PVL specification. More... | |
Private Member Functions | |
AutoRegFactory () | |
Constructor (its private so you can't use it). More... | |
~AutoRegFactory () | |
Destroys the AutoRegFactory. More... | |
This class is used to create AutoReg objects.
Typically applications which need use autoregistration would like to use different techniques such as MaximumCorrelation or MinimumDifference. If this factory is given a Pvl object which contains a AutoReg definition it will create that specific instance of the class. For example,
Will create a MinimumDifference object (which is derived from AutoReg). The simplest way to create an AutoReg class is to use the static Create method
Definition at line 51 of file AutoRegFactory.h.
|
inlineprivate |
Constructor (its private so you can't use it).
Use the Create Method instead.
Definition at line 60 of file AutoRegFactory.h.
|
inlineprivate |
Destroys the AutoRegFactory.
Definition at line 63 of file AutoRegFactory.h.
Create an AutoReg object using a PVL specification.
An example of the PVL required for this is:
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 |
Definition at line 45 of file AutoRegFactory.cpp.
References Isis::FileName::fileExists(), Isis::PvlObject::findGroup(), Isis::Plugin::GetPlugin(), Isis::Pvl::read(), and Isis::PvlObject::Traverse.
Referenced by Isis::ControlMeasureEditWidget::registerPoint(), Isis::ControlPointEdit::registerPoint(), Isis::ControlMeasureEditWidget::setTemplateFile(), and Isis::ControlPointEdit::setTemplateFile().