Isis Developer Reference
VimsGroundMap.h
Go to the documentation of this file.
1 #ifndef VimsGroundMap_h
2 #define VimsGroundMap_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include "CameraGroundMap.h"
13 
14 #include <QVector3D>
15 
16 namespace Isis {
17  class Distance;
18  class Latitude;
19  class Longitude;
20 
77  class VimsGroundMap : public CameraGroundMap {
78  public:
79  VimsGroundMap(Camera *parent, Pvl &lab);
80 
81  virtual ~VimsGroundMap();
82 
83  virtual bool SetFocalPlane(const double ux, const double uy,
84  const double uz);
85 
86  virtual bool SetGround(const Latitude &lat, const Longitude &lon);
87 // bool SetGroundwithLatitudeLongitude(const Latitude &lat, const Longitude &lon);
88 // bool SetGroundwithRadiusLongitude(const double &radius, const Longitude &lon);
89  virtual bool SetGround(const SurfacePoint &surfacePoint);
90 
91  void Init(Pvl &lab);
92 
93  private:
94  void LookDirection(double v[3]);
95 
96  SpiceDouble p_etStart;
97 
98  double p_interlineDelay;
101  double p_ux;
102  double p_uy;
103  double p_uz;
104 
105  double p_xPixSize;
106  double p_yPixSize;
107  double p_xBore;
108  double p_yBore;
109 
110  QString p_channel;
112  double p_visExp;
113  double p_irExp;
114  int p_swathWidth;
116  int p_swathLength;
118  int p_camSampOffset;
119  int p_camLineOffset;
120 
121  double p_minX,p_maxX;
122  double p_minY,p_maxY;
123  double p_minZ,p_maxZ;
124 
125  QVector3D p_xyzMap[64][64];
126 
127  };
128 };
129 #endif
Isis::Distance::kilometers
double kilometers() const
Get the distance in kilometers.
Definition: Distance.cpp:106
Isis::Spice::radii
void radii(Distance r[3]) const
Returns the radii of the body in km.
Definition: Spice.cpp:930
Isis::Camera::IgnoreProjection
void IgnoreProjection(bool ignore)
Set whether or not the camera should ignore the Projection.
Definition: Camera.cpp:2925
Isis::HALFPI
const double HALFPI
The mathematical constant PI/2.
Definition: Constants.h:41
FileName.h
Isis::Target::shape
ShapeModel * shape() const
Return the shape.
Definition: Target.cpp:655
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
Isis::LeastSquares::Solve
int Solve(Isis::LeastSquares::SolveMethod method=SVD)
After all the data has been registered through AddKnown, invoke this method to solve the system of eq...
Definition: LeastSquares.cpp:205
Isis::CameraGroundMap::p_focalPlaneY
double p_focalPlaneY
Camera's y focal plane coordinate.
Definition: CameraGroundMap.h:136
Isis::VimsGroundMap::VimsGroundMap
VimsGroundMap(Camera *parent, Pvl &lab)
Constructs the VimsGroundMap object.
Definition: VimsGroundMap.cpp:42
Isis::Camera::ParentLines
int ParentLines() const
Returns the number of lines in the parent alphacube.
Definition: Camera.cpp:2806
Isis::VimsGroundMap::SetGround
virtual bool SetGround(const Latitude &lat, const Longitude &lon)
Compute undistorted focal plane coordinate from ground position.
Definition: VimsGroundMap.cpp:359
Isis::Latitude
This class is designed to encapsulate the concept of a Latitude.
Definition: Latitude.h:51
Isis::Sensor::HasSurfaceIntersection
bool HasSurfaceIntersection() const
Returns if the last call to either SetLookDirection or SetUniversalGround had a valid intersection wi...
Definition: Sensor.cpp:186
Isis::Camera::SetImage
virtual bool SetImage(const double sample, const double line)
Sets the sample/line values of the image to get the lat/lon values.
Definition: Camera.cpp:154
Isis::LeastSquares::Knowns
int Knowns() const
The number of knowns (or times AddKnown was invoked) linear combination of the variables.
Definition: LeastSquares.h:129
SpecialPixel.h
Isis::VimsGroundMap::SetFocalPlane
virtual bool SetFocalPlane(const double ux, const double uy, const double uz)
Compute ground position from focal plane coordinate.
Definition: VimsGroundMap.cpp:287
Isis::BasisFunction
Generic linear equation class.
Definition: BasisFunction.h:48
Target.h
Isis::Spice::getClockTime
virtual iTime getClockTime(QString clockValue, int sclkCode=-1, bool clockTicks=false)
This converts the spacecraft clock ticks value (clockValue) to an iTime.
Definition: Spice.cpp:1053
Longitude.h
Isis::ShapeModel::name
QString name() const
Gets the shape name.
Definition: ShapeModel.cpp:543
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::SurfacePoint::GetLatitude
Latitude GetLatitude() const
Return the body-fixed latitude for the surface point.
Definition: SurfacePoint.cpp:1665
Isis::LeastSquares::Evaluate
double Evaluate(const std::vector< double > &input)
Invokes the BasisFunction Evaluate method.
Definition: LeastSquares.cpp:553
Isis::Camera
Definition: Camera.h:236
Preference.h
Isis::VimsGroundMap::Init
void Init(Pvl &lab)
Initialize vims camera model.
Definition: VimsGroundMap.cpp:116
Isis::CameraGroundMap::p_focalPlaneX
double p_focalPlaneX
Camera's x focal plane coordinate.
Definition: CameraGroundMap.h:135
Isis::VimsGroundMap::~VimsGroundMap
virtual ~VimsGroundMap()
Destroys the VimsGroundMap object.
Definition: VimsGroundMap.cpp:64
IString.h
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::CameraGroundMap
Convert between undistorted focal plane and ground coordinates.
Definition: CameraGroundMap.h:73
Isis::Spice::target
virtual Target * target() const
Returns a pointer to the target object.
Definition: Spice.cpp:1368
Isis::PvlObject::Traverse
@ Traverse
Search child objects.
Definition: PvlObject.h:158
Isis::Camera::ParentSamples
int ParentSamples() const
Returns the number of samples in the parent alphacube.
Definition: Camera.cpp:2816
Isis::Sensor::setTime
void setTime(const iTime &time)
By setting the time you essential set the position of the spacecraft and body as indicated in the cla...
Definition: Sensor.cpp:97
Isis::iTime::Et
double Et() const
Returns the ephemeris time (TDB) representation of the time as a double.
Definition: iTime.h:126
Latitude.h
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Isis::LeastSquares
Generic least square fitting class.
Definition: LeastSquares.h:99
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
CameraGroundMap.h
VimsGroundMap.h
LeastSquares.h
Isis::CameraGroundMap::p_camera
Camera * p_camera
Camera.
Definition: CameraGroundMap.h:131
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::SurfacePoint::GetLongitude
Longitude GetLongitude() const
Return the body-fixed longitude for the surface point.
Definition: SurfacePoint.cpp:1685
Camera.h
Isis::Null
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:95
BasisFunction.h
IException.h
Isis::toDouble
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
std
Namespace for the standard library.
Isis::Sensor::SetLookDirection
bool SetLookDirection(const double v[3])
Sets the look direction of the spacecraft.
Definition: Sensor.cpp:141
Isis::Angle::degrees
double degrees() const
Get the angle in units of Degrees.
Definition: Angle.h:232
Isis::Sensor::Coordinate
void Coordinate(double p[3]) const
Returns the x,y,z of the surface intersection in BodyFixed km.
Definition: Sensor.cpp:196
iTime.h
Isis::IString
Adds specific functionality to C++ strings.
Definition: IString.h:165
Constants.h
Isis::LeastSquares::AddKnown
void AddKnown(const std::vector< double > &input, double expected, double weight=1.0)
Invoke this method for each set of knowns.
Definition: LeastSquares.cpp:96
Distance.h
Isis::VimsGroundMap
Convert between undistorted focal plane and ground coordinates.
Definition: VimsGroundMap.h:77
PolynomialBivariate.h
Isis::SurfacePoint
This class defines a body-fixed surface point.
Definition: SurfacePoint.h:132
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::Sensor::LocalRadius
Distance LocalRadius() const
Returns the local radius at the intersection point.
Definition: Sensor.cpp:267
Isis::Angle::radians
double radians() const
Convert an angle to a double.
Definition: Angle.h:226