Loading [MathJax]/jax/output/NativeMML/config.js
 |
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef EllipsoidShape_h
2 #define EllipsoidShape_h
12 template<
class T>
class QVector;
60 std::vector<double> lookDirection);
Distance localRadius(const Latitude &lat, const Longitude &lon)
Get the local radius for a point on the surface.
Definition: EllipsoidShape.cpp:144
Displacement GetX() const
Definition: SurfacePoint.cpp:1436
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
std::vector< Distance > targetRadii() const
Returns the radii of the body in km.
Definition: ShapeModel.cpp:465
virtual void calculateDefaultNormal()
Calculate the default normal of the current intersection point.
Definition: EllipsoidShape.cpp:62
bool intersectSurface(std::vector< double > observerPos, std::vector< double > lookDirection)
Intersect the shape model.
Definition: EllipsoidShape.cpp:52
Displacement GetZ() const
Definition: SurfacePoint.cpp:1450
void calculateSurfaceNormal()
Calculate the surface normal of the current intersection point.
Definition: EllipsoidShape.cpp:71
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
virtual bool intersectSurface(std::vector< double > observerPos, std::vector< double > lookDirection)=0
Define shapes and provide utilities for ISIS targets.
Definition: EllipsoidShape.h:46
Distance measurement, usually in meters.
Definition: Distance.h:34
This class is designed to encapsulate the concept of a Longitude.
Definition: Longitude.h:40
~EllipsoidShape()
Destructor.
Definition: EllipsoidShape.h:53
@ Kilometers
The distance is being specified in kilometers.
Definition: Distance.h:45
void setName(QString name)
Sets the shape name.
Definition: ShapeModel.cpp:532
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
EllipsoidShape()
Initialize the EllipsoidShape.
Definition: EllipsoidShape.cpp:44
bool intersectEllipsoid(const std::vector< double > observerPosRelativeToTarget, const std::vector< double > &observerLookVectorToTarget)
Finds the intersection point on the ellipsoid model using the given position of the observer (spacecr...
Definition: ShapeModel.cpp:267
void calculateLocalNormal(QVector< double * > cornerNeighborPoints)
Calculate the local surface normal of the current intersection point.
Definition: EllipsoidShape.cpp:108
Isis exception class.
Definition: IException.h:91
void setHasNormal(bool status)
Sets the flag to indicate whether this ShapeModel has a surface normal.
Definition: ShapeModel.cpp:581
double kilometers() const
Get the displacement in kilometers.
Definition: Displacement.cpp:94
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Namespace for the standard library.
Define shapes and provide utilities for Isis targets.
Definition: ShapeModel.h:62
bool hasIntersection()
Returns intersection status.
Definition: ShapeModel.cpp:368
Adds specific functionality to C++ strings.
Definition: IString.h:165
This is free and unencumbered software released into the public domain.
Definition: Calculator.h:18
This class is used to create and store valid Isis targets.
Definition: Target.h:63
bool isDEM() const
Indicates that this shape model is not from a DEM.
Definition: EllipsoidShape.cpp:84
Displacement GetY() const
Definition: SurfacePoint.cpp:1443
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
std::vector< double > normal()
Returns the local surface normal at the current intersection point.
Definition: ShapeModel.cpp:401
double radians() const
Convert an angle to a double.
Definition: Angle.h:226