Isis Developer Reference
ShapeModelFactory.h
Go to the documentation of this file.
1 #ifndef ShapeModelFactory_h
2 #define ShapeModelFactory_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include "ShapeModel.h"
11 
12 namespace Isis {
13  class Pvl;
14 
38  public:
39  static ShapeModel *create(Target *target, Pvl &pvl);
40 
41  private:
44 
45  // Supported shape models
46  enum {
47  Ellipsoid,
48  Isis3EquatorialCylindrical,
49  Isis3Dem,
50  Plane,
51  Stack,
52  NaifDSK,
53  Bullet,
54  Embree};
55  };
56 }
57 
58 #endif
Isis::ShapeModelFactory::create
static ShapeModel * create(Target *target, Pvl &pvl)
Construct a valid shape model from the given target and contents of kernels group.
Definition: ShapeModelFactory.cpp:63
FileName.h
Isis::PvlObject::findGroup
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
Cube.h
EllipsoidShape.h
Isis::NaifDskShape
Provides support for NAIF's Digital Shape Kernel (DSK)
Definition: NaifDskShape.h:42
Isis::PvlKeyword
A single keyword-value pair.
Definition: PvlKeyword.h:82
Isis::Target::isSky
bool isSky() const
Return if our target is the sky.
Definition: Target.cpp:190
Isis::PvlFlatMap
Provides a flat map of PvlKeywords.
Definition: PvlFlatMap.h:218
Isis::PvlContainer::addKeyword
void addKeyword(const PvlKeyword &keyword, const InsertMode mode=Append)
Add a keyword to the container.
Definition: PvlContainer.cpp:202
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
ShapeModel.h
Isis::EmbreeShapeModel
General purpose Embree ray tracing model.
Definition: EmbreeShapeModel.h:37
PvlGroup.h
Target.h
PlaneShape.h
PvlFlatMap.h
NaifStatus.h
Isis::PvlContainer::hasKeyword
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Preference.h
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
IString.h
Isis::EllipsoidShape
Define shapes and provide utilities for ISIS targets.
Definition: EllipsoidShape.h:46
Isis::IException::append
void append(const IException &exceptionSource)
Appends the given exception (and its list of previous exceptions) to this exception's causational exc...
Definition: IException.cpp:409
DemShape.h
Isis::BulletShapeModel::setTolerance
void setTolerance(const double &tolerance)
Sets the occlusion tolerance.
Definition: BulletShapeModel.cpp:177
Isis::PvlFlatMap::merge
int merge(const PvlFlatMap &other)
Adds the keywords from another PvlFlatMap.
Definition: PvlFlatMap.cpp:680
Isis::Projection::IsEquatorialCylindrical
virtual bool IsEquatorialCylindrical()
This method returns true if the projection is equatorial cylindrical.
Definition: Projection.cpp:222
Isis::EmbreeTargetManager
Class for managing the construction and destruction of EmbreeTargetShapes.
Definition: EmbreeTargetManager.h:37
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Pvl.h
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
EmbreeShapeModel.h
ShapeModelFactory.h
Isis::EquatorialCylindricalShape
Define shapes and provide utilities for shapes stored as ISIS EquatorialCylindrical map.
Definition: EquatorialCylindricalShape.h:39
Isis::PvlFlatMap::get
QString get(const QString &key, const int &index=0) const
Gets the value of a keyword in the PvlFlatMap.
Definition: PvlFlatMap.cpp:576
BulletTargetShape.h
BulletShapeModel.h
EmbreeTargetManager.h
NaifDskShape.h
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::DemShape
Define shapes and provide utilities for targets stored as ISIS maps.
Definition: DemShape.h:52
Isis::FileName::extension
QString extension() const
Returns the last extension of the file name.
Definition: FileName.cpp:178
IException.h
Isis::toDouble
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
std
Namespace for the standard library.
Isis::ShapeModel
Define shapes and provide utilities for Isis targets.
Definition: ShapeModel.h:62
Isis::BulletTargetShape
Bullet Target Shape for planetary bodies.
Definition: BulletTargetShape.h:33
Isis::EmbreeShapeModel::setTolerance
void setTolerance(const double &tolerance)
Set the tolerance used when checking if the stored surface point is visible.
Definition: EmbreeShapeModel.cpp:745
PvlKeyword.h
Projection.h
Isis::BulletShapeModel
Shape model that uses the Bullet library to perform ray tracing.
Definition: BulletShapeModel.h:35
Isis::ShapeModelFactory
This class is used to create ShapeModel objects.
Definition: ShapeModelFactory.h:37
Isis::Projection
Base class for Map Projections.
Definition: Projection.h:155
Isis::Cube::open
void open(const QString &cfile, QString access="r")
This method will open an isis cube for reading or reading/writing.
Definition: Cube.cpp:627
Isis::Target
This class is used to create and store valid Isis targets.
Definition: Target.h:63
Isis::Cube::projection
Projection * projection()
Definition: Cube.cpp:1794
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
EquatorialCylindricalShape.h
Isis::PlaneShape
Define plane shape model.
Definition: PlaneShape.h:44