Isis 3 Programmer Reference
|
This class is used to create ShapeModel objects. More...
#include <ShapeModelFactory.h>
Static Public Member Functions | |
static ShapeModel * | create (Target *target, Pvl &pvl) |
Construct a valid shape model from the given target and contents of kernels group. More... | |
Private Types | |
enum | { Ellipsoid, Isis3EquatorialCylindrical, Isis3Dem, Plane, Stack, NaifDSK, Bullet, Embree } |
Private Member Functions | |
ShapeModelFactory () | |
Constructor is private to avoid instantiating the class. More... | |
~ShapeModelFactory () | |
Destructor. More... | |
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.
Definition at line 37 of file ShapeModelFactory.h.
|
private |
Constructor is private to avoid instantiating the class.
Use the Create method.
Definition at line 42 of file ShapeModelFactory.cpp.
|
private |
Destructor.
Definition at line 47 of file ShapeModelFactory.cpp.
|
static |
Construct a valid shape model from the given target and contents of kernels group.
If the Kernels group does not have a ShapeModel or ElevationModel specified, then the default model is an ellipsoidal shape.
Definition at line 63 of file ShapeModelFactory.cpp.
References Isis::PvlContainer::addKeyword(), Isis::IException::append(), Isis::FileName::extension(), Isis::PvlObject::findGroup(), Isis::PvlFlatMap::get(), Isis::PvlContainer::hasKeyword(), Isis::Projection::IsEquatorialCylindrical(), Isis::Target::isSky(), Isis::PvlFlatMap::merge(), Isis::Cube::open(), Isis::Cube::projection(), Isis::BulletShapeModel::setTolerance(), Isis::EmbreeShapeModel::setTolerance(), Isis::toDouble(), and Isis::toString().