Isis 3 Programmer Reference
Isis::PolygonSeederFactory Class Reference

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

#include <PolygonSeederFactory.h>

Collaboration diagram for Isis::PolygonSeederFactory:
Collaboration graph

Static Public Member Functions

static PolygonSeederCreate (Pvl &pvl)
 Create a PolygonSeeder object using a PVL specification.
 

Private Member Functions

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

Detailed Description

This class is used to create PolygonSeeder objects.

Applications which use autoseeding of points in polygons can use different techniques such as Grid or ????. If this factory is given a Pvl object which contains a PolygonSeeder definition it will create that specific instance of the class. For example,

Object = PolygonSeeder
Group = Algorithm
Name = Grid
...
EndGroup
...
EndObject
End
This class is used as the base class for all PolygonSeeder objects.

Will create a GridPolygonSeeder object (which is derived from PolygonSeeder). The simplest way to create an PolygonSeeder class is to use the static Create method

Pvl p("myPolygonSeeder.pvl");
static PolygonSeeder * Create(Pvl &pvl)
Create a PolygonSeeder object using a PVL specification.
Container for cube-like labels.
Definition Pvl.h:119
Author
2006-01-20 Stuart Sides
History
2008-12-17 Christopher Austin - Fixed memory leak

Definition at line 48 of file PolygonSeederFactory.h.

Constructor & Destructor Documentation

◆ PolygonSeederFactory()

Isis::PolygonSeederFactory::PolygonSeederFactory ( )
inlineprivate

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

Use the Create Method instead.

Definition at line 57 of file PolygonSeederFactory.h.

◆ ~PolygonSeederFactory()

Isis::PolygonSeederFactory::~PolygonSeederFactory ( )
inlineprivate

Destroys the PolygonSeederFactory.

Definition at line 60 of file PolygonSeederFactory.h.

Member Function Documentation

◆ Create()

PolygonSeeder * Isis::PolygonSeederFactory::Create ( Pvl & pvl)
static

Create a PolygonSeeder object using a PVL specification.

An example of the PVL required for this is:

Object = AutoSeed
Group = PolygonSeederAlgorithm
Name = Grid
Tolerance = 0.7
EndGroup
Group = InterestOperatorAlgorithm
Name = StandardDeviation
Tolerance = 10
EndGroup
EndObject
Parameters
pvlThe pvl object containing the PolygonSeeder specification

Definition at line 36 of file PolygonSeederFactory.cpp.

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


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