Isis Developer Reference
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)
 Construct a valid shape model from the given target and contents of kernels group.
 

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

Member Function Documentation

◆ create()

ShapeModel * Isis::ShapeModelFactory::create ( Target * target,
Pvl & pvl )
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.

Parameters
targetPointer to target body model.
pvlPvl containing a Kernels group.
Returns
ShapeModel* Pointer to the created ShapeModel object.
Author
2017-03-17 Kris Becker

References _FILEINFO_, Isis::PvlFlatMap::get(), Isis::EmbreeTargetManager::getInstance(), Isis::IException::Io, Isis::Projection::IsEquatorialCylindrical(), Isis::Target::isSky(), Isis::BulletTargetShape::load(), Isis::PvlFlatMap::merge(), Isis::Cube::open(), Isis::Preference::Preferences(), Isis::IException::Programmer, Isis::PvlContainer::Replace, Isis::toDouble(), Isis::toString(), Isis::PvlObject::Traverse, and Isis::IException::Unknown.

Referenced by Isis::Target::Target(), and Isis::Target::Target().


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