USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::ShapeModelFactory Class Reference

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

#include <ShapeModelFactory.h>

Collaboration diagram for Isis::ShapeModelFactory:
Collaboration graph

Static Public Member Functions

static ShapeModelcreate (Target *target, Pvl &pvl)
 

Private Types

enum  {
  Ellipsoid, Isis3EquatorialCylindrical, Isis3Dem, Plane,
  Stack, NaifDSK
}
 

Private Member Functions

 ShapeModelFactory ()
 Constructor is private to avoid instantiating the class.
 
 ~ShapeModelFactory ()
 Destructor.
 

Detailed Description

This class is used to create ShapeModel objects.

It determines the type of shape model in the input Pvl object and creates the appropriate type of shape model.

Author
2010-07-29 Debbie A. Cook
History:

2012-10-31 - Ken Edmundson - Implemented plane shape

2014-01-14 - Jeannie Backer - Improved error message. Fixes #1957.

2015-03-08 - Jeannie Backer - Added implementation for NAIF DSK models. References #2035.

Definition at line 44 of file ShapeModelFactory.h.

Constructor & Destructor Documentation

Isis::ShapeModelFactory::ShapeModelFactory ( )
private

Constructor is private to avoid instantiating the class.

Use the Create method.

Author
dcook (7/29/2010)

Definition at line 51 of file ShapeModelFactory.cpp.

Isis::ShapeModelFactory::~ShapeModelFactory ( )
private

Destructor.

Definition at line 56 of file ShapeModelFactory.cpp.


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