|
Isis Developer Reference
|
Go to the documentation of this file.
57 std::vector<double> lookDirection);
82 QScopedPointer<Intercept> m_intercept;
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
QVector< double > ellipsoidNormal()
Compute the true surface normal vector of an ellipsoid.
Definition: NaifDskShape.cpp:271
Provides support for NAIF's Digital Shape Kernel (DSK)
Definition: NaifDskShape.h:42
TNT::Array1D< SpiceDouble > NaifVertex
1-D Buffer[3]
Definition: NaifDskApi.h:47
This class is designed to encapsulate the concept of a Latitude.
Definition: Latitude.h:51
SurfacePoint * surfaceIntersection() const
Returns the surface intersection for this ShapeModel.
Definition: ShapeModel.cpp:358
virtual void setSurfacePoint(const SurfacePoint &surfacePoint)
Set surface intersection point.
Definition: ShapeModel.cpp:565
std::vector< Distance > targetRadii() const
Returns the radii of the body in km.
Definition: ShapeModel.cpp:465
void calculateDefaultNormal()
Return the surface normal of the ellipsoid as the default.
Definition: NaifDskShape.cpp:245
const NaifDskPlateModel & model() const
Returns a direct reference to the DSK plate model file interface.
Definition: NaifDskShape.cpp:304
bool isDEM() const
Indicates that this shape model is not from a DEM.
Definition: NaifDskShape.cpp:201
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
Container for cube-like labels.
Definition: Pvl.h:119
NaifDskShape()
Generic constructor sets type to a TIN.
Definition: NaifDskShape.cpp:35
static void CheckErrors(bool resetNaif=true)
This method looks for any naif errors that might have occurred.
Definition: NaifStatus.cpp:28
void setNormal(const std::vector< double >)
Sets the normal for the currect intersection point.
Definition: ShapeModel.cpp:487
bool intersectSurface(std::vector< double > observerPos, std::vector< double > lookDirection)
Compute a DEM intersection from and observer and look direction.
Definition: NaifDskShape.cpp:133
void calculateSurfaceNormal()
Return the surface normal of the ellipsi=oud.
Definition: NaifDskShape.cpp:251
virtual bool intersectSurface(std::vector< double > observerPos, std::vector< double > lookDirection)=0
const Intercept * intercept() const
Returns a pointer to the current intercept.
Definition: NaifDskShape.cpp:320
void setLocalNormalFromIntercept()
Set the normal vector to the intercept point normal.
Definition: NaifDskShape.cpp:179
Distance measurement, usually in meters.
Definition: Distance.h:34
This class is designed to encapsulate the concept of a Longitude.
Definition: Longitude.h:40
@ Traverse
Search child objects.
Definition: PvlObject.h:158
Distance localRadius(const Latitude &lat, const Longitude &lon)
Determine DEM radius at a given lat/lon grid point.
Definition: NaifDskShape.cpp:163
void setName(QString name)
Sets the shape name.
Definition: ShapeModel.cpp:532
Intercept * intercept(const NaifVertex &vertex, const NaifVector &raydir) const
Determine a target body intercept point from an observer and look direction.
Definition: NaifDskPlateModel.cpp:179
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis exception class.
Definition: IException.h:91
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Namespace for the standard library.
bool hasValidTarget() const
Returns the status of the target.
Definition: ShapeModel.cpp:449
Define shapes and provide utilities for Isis targets.
Definition: ShapeModel.h:62
Container for a intercept condition.
Definition: Intercept.h:36
void ToNaifArray(double naifOutput[3]) const
A naif array is a c-style array of size 3.
Definition: SurfacePoint.cpp:870
bool hasIntersection()
Returns intersection status.
Definition: ShapeModel.cpp:368
This is free and unencumbered software released into the public domain.
Definition: Calculator.h:18
Implementation interface API for NAIF's DSK plate model.
Definition: NaifDskPlateModel.h:49
TNT::Array1D< SpiceDouble > NaifVector
Namespace to contain type definitions of NAIF DSK fundamentals.
Definition: NaifDskApi.h:46
This class is used to create and store valid Isis targets.
Definition: Target.h:63
SurfacePoint * point(const Latitude &lat, const Longitude &lon) const
Get surface intersection for a lat/lon grid point.
Definition: NaifDskPlateModel.cpp:121
This class defines a body-fixed surface point.
Definition: SurfacePoint.h:132
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
~NaifDskShape()
Destructor - cleanup is handled automagically.
Definition: NaifDskShape.cpp:112
void calculateLocalNormal(QVector< double * > cornerNeighborPoints)
Compute the normal for a local region of surface points.
Definition: NaifDskShape.cpp:231