Isis 3 Programmer Reference
EllipsoidShape.h
1 #ifndef EllipsoidShape_h
2 #define EllipsoidShape_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include "ShapeModel.h"
11 
12 template<class T> class QVector;
13 
14 namespace Isis {
15  class Pvl;
16 
47  public:
49  EllipsoidShape(Target *target);
51 
54 
55  // Make parent functions visible
56  using Isis::ShapeModel::intersectSurface;
57 
59  bool intersectSurface(std::vector<double> observerPos,
60  std::vector<double> lookDirection);
61 
63  virtual void calculateDefaultNormal();
64 
65  // implement pure virtual method from ShapeModel class
66  bool isDEM() const;
67 
69  void calculateLocalNormal(QVector<double *> cornerNeighborPoints);
70 
73 
75  Distance localRadius(const Latitude &lat, const Longitude &lon);
76 
77  private:
78  };
79 };
80 
81 #endif
Isis::EllipsoidShape::localRadius
Distance localRadius(const Latitude &lat, const Longitude &lon)
Get the local radius for a point on the surface.
Definition: EllipsoidShape.cpp:144
Isis::Latitude
This class is designed to encapsulate the concept of a Latitude.
Definition: Latitude.h:51
Isis::EllipsoidShape::calculateDefaultNormal
virtual void calculateDefaultNormal()
Calculate the default normal of the current intersection point.
Definition: EllipsoidShape.cpp:62
Isis::EllipsoidShape::intersectSurface
bool intersectSurface(std::vector< double > observerPos, std::vector< double > lookDirection)
Intersect the shape model.
Definition: EllipsoidShape.cpp:52
Isis::EllipsoidShape::calculateSurfaceNormal
void calculateSurfaceNormal()
Calculate the surface normal of the current intersection point.
Definition: EllipsoidShape.cpp:71
Isis::EllipsoidShape
Define shapes and provide utilities for ISIS targets.
Definition: EllipsoidShape.h:46
Isis::Distance
Distance measurement, usually in meters.
Definition: Distance.h:34
Isis::Longitude
This class is designed to encapsulate the concept of a Longitude.
Definition: Longitude.h:40
Isis::EllipsoidShape::~EllipsoidShape
~EllipsoidShape()
Destructor.
Definition: EllipsoidShape.h:53
Isis::EllipsoidShape::EllipsoidShape
EllipsoidShape()
Initialize the EllipsoidShape.
Definition: EllipsoidShape.cpp:44
Isis::EllipsoidShape::calculateLocalNormal
void calculateLocalNormal(QVector< double * > cornerNeighborPoints)
Calculate the local surface normal of the current intersection point.
Definition: EllipsoidShape.cpp:108
Isis::ShapeModel
Define shapes and provide utilities for Isis targets.
Definition: ShapeModel.h:62
QVector
This is free and unencumbered software released into the public domain.
Definition: Calculator.h:18
Isis::Target
This class is used to create and store valid Isis targets.
Definition: Target.h:63
Isis::EllipsoidShape::isDEM
bool isDEM() const
Indicates that this shape model is not from a DEM.
Definition: EllipsoidShape.cpp:84
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16