Isis Developer Reference
EllipsoidShape.h
Go to the documentation of this file.
1#ifndef EllipsoidShape_h
2#define EllipsoidShape_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include "ShapeModel.h"
11
12template<class T> class QVector;
13
14namespace Isis {
15 class Pvl;
16
47 public:
49 EllipsoidShape(Target *target);
51
54
55 // Make parent functions visible
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
Distance measurement, usually in meters.
Definition Distance.h:34
Define shapes and provide utilities for ISIS targets.
Definition EllipsoidShape.h:46
EllipsoidShape()
Initialize the EllipsoidShape.
Definition EllipsoidShape.cpp:44
bool intersectSurface(std::vector< double > observerPos, std::vector< double > lookDirection)
Intersect the shape model.
Definition EllipsoidShape.cpp:52
bool isDEM() const
Indicates that this shape model is not from a DEM.
Definition EllipsoidShape.cpp:85
void calculateLocalNormal(QVector< double * > cornerNeighborPoints)
Calculate the local surface normal of the current intersection point.
Definition EllipsoidShape.cpp:109
~EllipsoidShape()
Destructor.
Definition EllipsoidShape.h:53
void calculateSurfaceNormal()
Calculate the surface normal of the current intersection point.
Definition EllipsoidShape.cpp:70
Distance localRadius(const Latitude &lat, const Longitude &lon)
Get the local radius for a point on the surface.
Definition EllipsoidShape.cpp:145
virtual void calculateDefaultNormal()
Calculate the default normal of the current intersection point.
Definition EllipsoidShape.cpp:62
This class is designed to encapsulate the concept of a Latitude.
Definition Latitude.h:51
This class is designed to encapsulate the concept of a Longitude.
Definition Longitude.h:40
Define shapes and provide utilities for Isis targets.
Definition ShapeModel.h:66
virtual bool intersectSurface(std::vector< double > observerPos, std::vector< double > lookDirection)=0
This class is used to create and store valid Isis targets.
Definition Target.h:63
This is free and unencumbered software released into the public domain.
Definition Calculator.h:18
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16