Isis 3 Programmer Reference
Isis::AutoRegFactory Class Reference

This class is used to create AutoReg objects. More...

#include <AutoRegFactory.h>

Collaboration diagram for Isis::AutoRegFactory:
Collaboration graph

Static Public Member Functions

static AutoRegCreate (Pvl &pvl)
 Create an AutoReg object using a PVL specification.
 

Private Member Functions

 AutoRegFactory ()
 Constructor (its private so you can't use it).
 
 ~AutoRegFactory ()
 Destroys the AutoRegFactory.
 

Detailed Description

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,

Object = AutoReg
Group = Algorithm
...
EndGroup
...
EndObject
End
Auto Registration class.
Definition AutoReg.h:167
Minimum difference pattern matching.

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

Pvl p("myautoreg.pvl");
static AutoReg * Create(Pvl &pvl)
Create an AutoReg object using a PVL specification.
Container for cube-like labels.
Definition Pvl.h:119
Author
2005-05-04 Jeff Anderson
History

2006-03-27 Jacob Danton Added unitTest

2008-06-18 Christopher Austin Fixed documentation errors

2008-06-19 Steven Lambright Fixed memory leak

Definition at line 51 of file AutoRegFactory.h.

Constructor & Destructor Documentation

◆ AutoRegFactory()

Isis::AutoRegFactory::AutoRegFactory ( )
inlineprivate

Constructor (its private so you can't use it).

Use the Create Method instead.

Definition at line 60 of file AutoRegFactory.h.

◆ ~AutoRegFactory()

Isis::AutoRegFactory::~AutoRegFactory ( )
inlineprivate

Destroys the AutoRegFactory.

Definition at line 63 of file AutoRegFactory.h.

Member Function Documentation

◆ Create()

AutoReg * Isis::AutoRegFactory::Create ( Pvl & pvl)
static

Create an AutoReg object using a PVL specification.

An example of the PVL required for this is:

Object = AutoRegistration
Group = Algorithm
Tolerance = 0.7
EndGroup
Group = PatternChip
Samples = 21
Lines = 21
EndGroup
Group = SearchChip
Samples = 51
Lines = 51
EndGroup
EndObject
Maximum correlation pattern matching.

There are many other options that can be set via the pvl and are described in other documentation (see below).

Parameters
pvlThe pvl object containing the specification
See also
automaticRegistration.doc

Definition at line 45 of file AutoRegFactory.cpp.

References Isis::FileName::fileExists(), and Isis::PvlObject::Traverse.

Referenced by Isis::ControlMeasureEditWidget::registerPoint(), Isis::ControlPointEdit::registerPoint(), Isis::ControlMeasureEditWidget::setTemplateFile(), and Isis::ControlPointEdit::setTemplateFile().


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