Isis Developer Reference
ControlPoint.h
Go to the documentation of this file.
1 #ifndef ControlPoint_h
2 #define ControlPoint_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include <bitset>
13 
14 #include <QObject>
15 #include <QString>
16 
17 #include "ControlMeasure.h"
18 #include "SurfacePoint.h"
19 
20 template< typename A, typename B > class QHash;
21 
22 class QStringList;
23 
24 namespace Isis {
25  class ControlNet;
26  class ControlPointFileEntryV0002;
27  class Latitude;
28  class Longitude;
29  class PBControlNet_PBControlPoint;
30  class PBControlNetLogData_Point;
31  class PvlObject;
32  class Statistics;
33 
354  class ControlPoint : public QObject {
355 
356  Q_OBJECT
357 
358  friend class ControlNet;
359  public:
364  enum PointType {
371  Fixed = 0,
384  Free = 2
385  };
386  static const int PointTypeCount = 3;
387 
393  enum Status {
409  };
410 
419  };
420 
431  enum ModType {
435  };
436 
437  // This stuff input to jigsaw
438  // How did apriori source get computed??
440  enum Source {
447  };
448  };
449 
450  struct RadiusSource {
451  enum Source {
458  };
459  };
460 
461  ControlPoint();
462  ControlPoint(const ControlPoint &);
463  ControlPoint(const QString &id);
464  ~ControlPoint();
465 
466  ControlNet *Parent() { return parentNetwork; }
467 
468  void Load(PvlObject &p);
469 
470  void Add(ControlMeasure *measure);
471  int Delete(ControlMeasure *measure);
472  int Delete(QString serialNumber);
473  int Delete(int index);
475 
476  const ControlMeasure *GetMeasure(QString serialNumber) const;
477  ControlMeasure *GetMeasure(QString serialNumber);
478 
479  const ControlMeasure *GetMeasure(int index) const;
480  ControlMeasure *GetMeasure(int index);
481 
482  bool HasRefMeasure() const;
483  const ControlMeasure *GetRefMeasure() const;
485 
486  Status SetChooserName(QString name);
487  Status SetDateTime(QString newDateTime);
488  Status SetEditLock(bool editLock);
489  Status SetId(QString id);
491  Status SetRefMeasure(int index);
492  Status SetRefMeasure(QString sn);
493  Status SetRejected(bool rejected);
494  Status SetIgnored(bool newIgnoreStatus);
496  Status SetType(PointType newType);
497 
499  Status SetAprioriRadiusSourceFile(QString sourceFile);
502  Status SetAprioriSurfacePointSourceFile(QString sourceFile);
503 
504 // Status UpdateSphericalPointCoordinates(const Latitude &lat, const Longitude &lon,
505 // const Distance &radius);
506 
510 
512 
514  QString GetChooserName() const;
515  QString GetDateTime() const;
516  bool IsEditLocked() const;
517  bool IsRejected() const;
518  QString GetId() const;
519  bool IsIgnored() const;
520  bool IsValid() const;
521  // Can we get rid of this? It doesn't appear to be used anywhere. *** ToDo ***
522  bool IsInvalid() const;
523  bool IsFree() const;
524  bool IsFixed() const;
525  bool HasAprioriCoordinates();
526 
527  bool IsConstrained();
528  bool IsCoord1Constrained();
529  bool IsCoord2Constrained();
530  bool IsCoord3Constrained();
532 
533  static QString PointTypeToString(PointType type);
534  static PointType StringToPointType(QString pointTypeString);
535 
536  QString GetPointTypeString() const;
537  PointType GetType() const;
538 
539  static QString RadiusSourceToString(RadiusSource::Source source);
540  static RadiusSource::Source StringToRadiusSource(QString str);
541  QString GetRadiusSourceString() const;
544  QString GetSurfacePointSourceString() const;
546 
548  bool HasAprioriRadiusSourceFile() const;
549  QString GetAprioriRadiusSourceFile() const;
552  QString GetAprioriSurfacePointSourceFile() const;
553 
554  int GetNumMeasures() const;
555  int GetNumValidMeasures() const;
556  int GetNumLockedMeasures() const;
557  bool HasSerialNumber(QString serialNumber) const;
558  bool HasChooserName() const;
559  bool HasDateTime() const;
560  int IndexOf(ControlMeasure *, bool throws = true) const;
561  int IndexOf(QString sn, bool throws = true) const;
562  int IndexOfRefMeasure() const;
563  bool IsReferenceExplicit() const;
564  QString GetReferenceSN() const;
565  void emitMeasureModified(ControlMeasure *measure, ControlMeasure::ModType modType, QVariant oldValue, QVariant newValue);
566 
567 
568 
569  Statistics GetStatistic(double(ControlMeasure::*statFunc)() const) const;
570  Statistics GetStatistic(long dataType) const;
571 
572  QList< ControlMeasure * > getMeasures(bool excludeIgnored = false) const;
574 
575  const ControlMeasure *operator[](QString serialNumber) const;
576  ControlMeasure *operator[](QString serialNumber);
577 
578  const ControlMeasure *operator[](int index) const;
579  ControlMeasure *operator[](int index);
580 
581  bool operator!=(const ControlPoint &pPoint) const;
582  bool operator==(const ControlPoint &pPoint) const;
583  const ControlPoint &operator=(const ControlPoint &pPoint);
584 
585  // The next 7 methods are specifically to support BundleAdjust
587  void SetNumberOfRejectedMeasures(int numRejected);
588  int GetNumberOfRejectedMeasures() const;
589  double GetSampleResidualRms() const;
590  double GetLineResidualRms() const;
591  double GetResidualRms() const;
592  void ClearJigsawRejected();
593 
594  private:
595  void SetExplicitReference(ControlMeasure *measure);
596  void ValidateMeasure(QString serialNumber) const;
597  void AddMeasure(ControlMeasure *measure);
598  void PointModified();
599 
600 
601  private:
602  ControlNet *parentNetwork;
603 
606 
607  QStringList *cubeSerials;
608 
609  ControlMeasure *referenceMeasure;
610 
616  QString id;
617 
626  QString chooserName;
627 
632  QString dateTime;
633 
638  PointType type;
639 
645  bool invalid;
646 
651  bool editLock;
652 
657  bool jigsawRejected;
658 
663  std::bitset<3> constraintStatus;
664 
671  bool referenceExplicitlySet;
672 
677  bool ignore;
678 
680  SurfacePointSource::Source aprioriSurfacePointSource;
681 
683  QString aprioriSurfacePointSourceFile;
684 
689  RadiusSource::Source aprioriRadiusSource;
690 
694  QString aprioriRadiusSourceFile;
695 
704  SurfacePoint aprioriSurfacePoint;
705 
710  SurfacePoint adjustedSurfacePoint;
711 
717  int numberOfRejectedMeasures;
718  };
719 }
720 
721 #endif
Isis::ControlPoint::HasDateTime
bool HasDateTime() const
Returns true if the datetime is not empty.
Definition: ControlPoint.cpp:1257
Isis::ControlPoint::EditLockModified
@ EditLockModified
Definition: ControlPoint.h:432
Isis::ControlPoint::ClearJigsawRejected
void ClearJigsawRejected()
Set jigsaw rejected flag for all measures to false and set the jigsaw rejected flag for the point its...
Definition: ControlPoint.cpp:2191
Isis::SurfacePoint::SetRectangular
void SetRectangular(const Displacement &x, const Displacement &y, const Displacement &z, const Distance &xSigma=Distance(), const Distance &ySigma=Distance(), const Distance &zSigma=Distance())
Set surface point in rectangular body-fixed coordinates wtih optional sigmas.
Definition: SurfacePoint.cpp:283
Isis::ControlPoint::getMeasures
QList< ControlMeasure * > getMeasures(bool excludeIgnored=false) const
Definition: ControlPoint.cpp:1873
Isis::Statistics
This class is used to accumulate statistics on double arrays.
Definition: Statistics.h:94
Cube.h
Isis::Statistics::AddData
void AddData(const double *data, const unsigned int count)
Add an array of doubles to the accumulators and counters.
Definition: Statistics.cpp:141
Isis::ControlMeasure::Camera
Isis::Camera * Camera() const
Definition: ControlMeasure.cpp:536
Isis::ControlPoint::PointTypeToString
static QString PointTypeToString(PointType type)
Obtain a string representation of a given PointType.
Definition: ControlPoint.cpp:1333
Isis::SurfacePoint::GetX
Displacement GetX() const
Definition: SurfacePoint.cpp:1436
Isis::PvlObject
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:61
Isis::ControlPoint::ZeroNumberOfRejectedMeasures
void ZeroNumberOfRejectedMeasures()
Initialize the number of rejected measures to 0.
Definition: ControlPoint.cpp:2065
Isis::ControlPoint::SurfacePointSource::Basemap
@ Basemap
Definition: ControlPoint.h:445
Isis::ControlPoint::SetAprioriRadiusSourceFile
Status SetAprioriRadiusSourceFile(QString sourceFile)
This updates the filename of the DEM that the apriori radius came from.
Definition: ControlPoint.cpp:755
Isis::ControlPoint::IsCoord3Constrained
bool IsCoord3Constrained()
Return bool indicating if 3rd coordinate is Constrained or not.
Definition: ControlPoint.cpp:1651
Isis::ControlPoint::TypeModified
@ TypeModified
Definition: ControlPoint.h:434
Isis::ControlMeasure::MeasureLocked
@ MeasureLocked
Definition: ControlMeasure.h:219
Isis::CameraGroundMap::GetXY
virtual bool GetXY(const SurfacePoint &spoint, double *cudx, double *cudy, bool test=true)
Compute undistorted focal plane coordinate from ground position using current Spice from SetImage cal...
Definition: CameraGroundMap.cpp:152
Isis::ControlPoint::GetMeasure
const ControlMeasure * GetMeasure(QString serialNumber) const
Get a control measure based on its cube's serial number.
Definition: ControlPoint.cpp:416
Isis::ControlMeasure::GetFocalPlaneMeasuredX
double GetFocalPlaneMeasuredX() const
Definition: ControlMeasure.cpp:620
Isis::ControlMeasureLogData::GetNumericalValue
double GetNumericalValue() const
Get the value associated with this log data.
Definition: ControlMeasureLogData.cpp:123
QList< QString >
Isis::ControlPoint::SetIgnored
Status SetIgnored(bool newIgnoreStatus)
Set whether to ignore or use control point.
Definition: ControlPoint.cpp:653
Isis::ControlPoint::SurfacePointSource::BundleSolution
@ BundleSolution
Definition: ControlPoint.h:446
Isis::ControlPoint::GetSampleResidualRms
double GetSampleResidualRms() const
Get rms of sample residuals.
Definition: ControlPoint.cpp:2099
Isis::ControlPoint::SetChooserName
Status SetChooserName(QString name)
Set the point's chooser name.
Definition: ControlPoint.cpp:487
Isis::ControlPoint::GetChooserName
QString GetChooserName() const
Definition: ControlPoint.cpp:1242
Isis::ControlMeasure::GetFocalPlaneMeasuredY
double GetFocalPlaneMeasuredY() const
Definition: ControlMeasure.cpp:625
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::FileName::name
QString name() const
Returns the name of the file excluding the path and the attributes in the file name.
Definition: FileName.cpp:162
Isis::ControlPoint::SurfacePointSource::Reference
@ Reference
Definition: ControlPoint.h:444
Isis::Camera::Radar
@ Radar
Radar Camera.
Definition: Camera.h:361
Isis::ControlPoint::PointLocked
@ PointLocked
This is returned when the operation requires Edit Lock to be false but it is currently true.
Definition: ControlPoint.h:408
SpecialPixel.h
Isis::ControlPoint::SetEditLock
Status SetEditLock(bool editLock)
Set the EditLock state.
Definition: ControlPoint.cpp:522
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
Isis::ControlNet::GetCoordType
SurfacePoint::CoordinateType GetCoordType()
Get the control point coordinate type (see the available types in SurfacePoint.h).
Definition: ControlNet.cpp:1862
Isis::ControlPoint::GetResidualRms
double GetResidualRms() const
Get rms of residuals.
Definition: ControlPoint.cpp:2161
Isis::CameraDistortionMap::UndistortedFocalPlaneX
double UndistortedFocalPlaneX() const
Gets the x-value in the undistorted focal plane coordinate system.
Definition: CameraDistortionMap.cpp:237
Isis::ControlMeasure::GetFocalPlaneComputedX
double GetFocalPlaneComputedX() const
Definition: ControlMeasure.cpp:610
Isis::Camera::Sample
virtual double Sample() const
Returns the current sample number.
Definition: Camera.cpp:2690
Isis::Camera::GetCameraType
virtual CameraType GetCameraType() const =0
Returns the type of camera that was created.
Isis::ControlPoint::RadiusSource::BundleSolution
@ BundleSolution
Definition: ControlPoint.h:457
Isis::ControlPoint::GetReferenceSN
QString GetReferenceSN() const
Definition: ControlPoint.cpp:1763
Isis::ControlPoint::HasAprioriRadiusSourceFile
bool HasAprioriRadiusSourceFile() const
Checks to see if the radius source file has been set.
Definition: ControlPoint.cpp:1671
Isis::ControlPoint::GetAdjustedSurfacePoint
SurfacePoint GetAdjustedSurfacePoint() const
Definition: ControlPoint.cpp:1282
Isis::ControlPoint::SetAdjustedSurfacePoint
Status SetAdjustedSurfacePoint(SurfacePoint newSurfacePoint)
Set or update the surface point relating to this control point.
Definition: ControlPoint.cpp:692
Isis::ControlPoint::ConstraintStatus
ConstraintStatus
This is a convenience member for checking number of constrained coordinates in the SurfacePoint.
Definition: ControlPoint.h:415
Isis::ControlPoint::GetNumMeasures
int GetNumMeasures() const
Definition: ControlPoint.cpp:1702
Isis::CameraDistortionMap::SetUndistortedFocalPlane
virtual bool SetUndistortedFocalPlane(double ux, double uy)
Compute distorted focal plane x/y.
Definition: CameraDistortionMap.cpp:130
Isis::ControlPoint::SetNumberOfRejectedMeasures
void SetNumberOfRejectedMeasures(int numRejected)
Set (update) the number of rejected measures for the control point.
Definition: ControlPoint.cpp:2078
Isis::ControlPoint::RadiusSource::Source
Source
Definition: ControlPoint.h:451
Isis::ControlMeasure::SetResidual
Status SetResidual(double sampResidual, double lineResidual)
Set the BundleAdjust Residual of the coordinate.
Definition: ControlMeasure.cpp:399
Isis::ControlPoint::GetStatistic
Statistics GetStatistic(double(ControlMeasure::*statFunc)() const) const
This function will call a given method on every control measure that this point has.
Definition: ControlPoint.cpp:1842
Isis::ControlMeasure::SetFocalPlaneMeasured
Status SetFocalPlaneMeasured(double x, double y)
Set the focal plane x/y for the measured line/sample.
Definition: ControlMeasure.cpp:299
Isis::ControlPoint::Success
@ Success
This is returned when the operation successfully took effect.
Definition: ControlPoint.h:403
Isis::CameraDistortionMap::FocalPlaneX
double FocalPlaneX() const
Gets the x-value in the focal plane coordinate system.
Definition: CameraDistortionMap.cpp:215
Isis::CameraFocalPlaneMap::DetectorLine
double DetectorLine() const
Definition: CameraFocalPlaneMap.cpp:263
Isis::ControlPoint::SurfacePointSource::AverageOfMeasures
@ AverageOfMeasures
Definition: ControlPoint.h:443
Longitude.h
Isis::ControlPoint::ComputeApriori
Status ComputeApriori()
Computes a priori lat/lon/radius point coordinates by determining the average lat/lon/radius of all m...
Definition: ControlPoint.cpp:899
Isis::ControlPoint::ControlPoint
ControlPoint()
Construct a control point.
Definition: ControlPoint.cpp:48
Isis::CameraDistortionMap::FocalPlaneY
double FocalPlaneY() const
Gets the y-value in the focal plane coordinate system.
Definition: CameraDistortionMap.cpp:226
Isis::ControlPoint::GetAprioriSurfacePointSource
SurfacePointSource::Source GetAprioriSurfacePointSource() const
Definition: ControlPoint.cpp:1682
Isis::ControlPoint::ComputeResiduals_Millimeters
Status ComputeResiduals_Millimeters()
This method computes the residuals for a point.
Definition: ControlPoint.cpp:1192
Isis::ControlPoint::PointType
PointType
These are the valid 'types' of point.
Definition: ControlPoint.h:364
Isis::ControlPoint::GetAprioriSurfacePoint
SurfacePoint GetAprioriSurfacePoint() const
Definition: ControlPoint.cpp:1566
Isis::SurfacePoint::GetXSigma
Distance GetXSigma() const
Definition: SurfacePoint.cpp:1457
Isis::SurfacePoint::GetZ
Displacement GetZ() const
Definition: SurfacePoint.cpp:1450
CameraDetectorMap.h
Isis::Camera::DistortionMap
CameraDistortionMap * DistortionMap()
Returns a pointer to the CameraDistortionMap object.
Definition: Camera.cpp:2826
Isis::ControlPoint::HasAprioriSurfacePointSourceFile
bool HasAprioriSurfacePointSourceFile() const
Checks to see if the surface point source file has been set.
Definition: ControlPoint.cpp:1692
Isis::ControlPoint::GetNumberOfRejectedMeasures
int GetNumberOfRejectedMeasures() const
Get the number of rejected measures on the control point.
Definition: ControlPoint.cpp:2089
Isis::ControlPoint::IsEditLocked
bool IsEditLocked() const
Definition: ControlPoint.cpp:1272
Isis::SurfacePoint::GetZSigma
Distance GetZSigma() const
Definition: SurfacePoint.cpp:1471
Isis::ControlPoint::GetId
QString GetId() const
Return the Id of the control point.
Definition: ControlPoint.cpp:1306
Isis::ControlPoint::GetBestSurfacePoint
SurfacePoint GetBestSurfacePoint() const
Returns the adjusted surface point if it exists, otherwise returns the a priori surface point.
Definition: ControlPoint.cpp:1291
Isis::ControlPoint::GetDateTime
QString GetDateTime() const
Definition: ControlPoint.cpp:1262
Isis::ControlPoint::Coord3Constrained
@ Coord3Constrained
Definition: ControlPoint.h:418
Isis::ControlMeasure::GetLogData
ControlMeasureLogData GetLogData(long dataType) const
Definition: ControlMeasure.cpp:773
Isis::Camera::SetGround
virtual bool SetGround(Latitude latitude, Longitude longitude)
Sets the lat/lon values to get the sample/line values.
Definition: Camera.cpp:401
Isis::Sensor::GetSurfacePoint
SurfacePoint GetSurfacePoint() const
Returns the surface point (most efficient accessor).
Definition: Sensor.cpp:255
Isis::Camera
Definition: Camera.h:236
Isis::ControlPoint::RadiusSource
Definition: ControlPoint.h:450
QStringList
Isis::ControlPoint::SetAprioriSurfacePointSourceFile
Status SetAprioriSurfacePointSourceFile(QString sourceFile)
This updates the filename of where the apriori surface point came from.
Definition: ControlPoint.cpp:839
Isis::CameraFocalPlaneMap::DetectorSample
double DetectorSample() const
Definition: CameraFocalPlaneMap.cpp:255
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
Isis::ControlPoint::GetNumValidMeasures
int GetNumValidMeasures() const
Definition: ControlPoint.cpp:1711
Isis::ControlPoint::getCubeSerialNumbers
QList< QString > getCubeSerialNumbers() const
Definition: ControlPoint.cpp:1889
Isis::ControlPoint::RadiusSource::AverageOfMeasures
@ AverageOfMeasures
Definition: ControlPoint.h:454
Isis::ControlMeasure::SetRejected
Status SetRejected(bool rejected)
Set "jigsaw" rejected flag for a measure.
Definition: ControlMeasure.cpp:343
IString.h
Isis::ControlPoint::GetAprioriRadiusSourceFile
QString GetAprioriRadiusSourceFile() const
Definition: ControlPoint.cpp:1676
Isis::ControlMeasure::IsIgnored
bool IsIgnored() const
Definition: ControlMeasure.cpp:630
Isis::ControlMeasure::IsRejected
bool IsRejected() const
Definition: ControlMeasure.cpp:635
Isis::ControlPoint::GetRadiusSourceString
QString GetRadiusSourceString() const
Obtain a string representation of the RadiusSource.
Definition: ControlPoint.cpp:1480
Isis::ControlPoint::HasAprioriCoordinates
bool HasAprioriCoordinates()
Definition: ControlPoint.cpp:1577
Isis::Displacement
Displacement is a signed length, usually in meters.
Definition: Displacement.h:31
Isis::ControlPoint::RadiusSource::Ellipsoid
@ Ellipsoid
Definition: ControlPoint.h:455
Isis::ControlMeasure::GetCubeSerialNumber
QString GetCubeSerialNumber() const
Return the serial number of the cube containing the coordinate.
Definition: ControlMeasure.cpp:557
Isis::ControlPoint::RadiusSourceToString
static QString RadiusSourceToString(RadiusSource::Source source)
Obtain a string representation of a given RadiusSource.
Definition: ControlPoint.cpp:1413
Isis::ControlPoint
A single control point.
Definition: ControlPoint.h:354
Isis::ControlPoint::Fixed
@ Fixed
A Fixed point is a Control Point whose lat/lon is well established and should not be changed.
Definition: ControlPoint.h:371
Isis::ControlPoint::IsInvalid
bool IsInvalid() const
Definition: ControlPoint.cpp:1321
Isis::ControlPoint::operator=
const ControlPoint & operator=(const ControlPoint &pPoint)
Definition: ControlPoint.cpp:2005
Isis::ControlPoint::IsCoord2Constrained
bool IsCoord2Constrained()
Return bool indicating if 2nd coordinate is Constrained or not.
Definition: ControlPoint.cpp:1641
ControlNet.h
Latitude.h
QHash
This is free and unencumbered software released into the public domain.
Definition: ControlNet.h:32
Isis::SurfacePoint::Rectangular
@ Rectangular
Body-fixed rectangular x/y/z coordinates.
Definition: SurfacePoint.h:141
Isis::ControlPoint::operator!=
bool operator!=(const ControlPoint &pPoint) const
Compare two Control Points for inequality.
Definition: ControlPoint.cpp:1951
Isis::ControlMeasure::ModType
ModType
Control Measure Modification Types.
Definition: ControlMeasure.h:232
Isis::ControlPoint::GetLineResidualRms
double GetLineResidualRms() const
Get rms of line residuals.
Definition: ControlPoint.cpp:2130
Isis::ControlPoint::SetRefMeasure
Status SetRefMeasure(ControlMeasure *cm)
Set the point's reference measure.
Definition: ControlPoint.cpp:570
Isis::Statistics::Rms
double Rms() const
Computes and returns the rms.
Definition: Statistics.cpp:365
Isis::ControlPoint::HasChooserName
bool HasChooserName() const
Returns true if the choosername is not empty.
Definition: ControlPoint.cpp:1252
Isis::ControlPoint::emitMeasureModified
void emitMeasureModified(ControlMeasure *measure, ControlMeasure::ModType modType, QVariant oldValue, QVariant newValue)
This method is a wrapper to emit the measureModified() signal in the parent network is called wheneve...
Definition: ControlPoint.cpp:341
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::SurfacePoint::CoordinateType
CoordinateType
Defines the coordinate typ, units, and coordinate index for some of the output methods.
Definition: SurfacePoint.h:139
Isis::ControlPoint::SurfacePointSource::User
@ User
Definition: ControlPoint.h:442
Isis::ControlPoint::SetAprioriSurfacePoint
Status SetAprioriSurfacePoint(SurfacePoint aprioriSP)
This updates the apriori surface point.
Definition: ControlPoint.cpp:779
Isis::ControlPoint::SetType
Status SetType(PointType newType)
Updates the control point's type.
Definition: ControlPoint.cpp:709
Isis::ControlPoint::RadiusSource::DEM
@ DEM
Definition: ControlPoint.h:456
Isis::ControlPoint::PointTypeCount
static const int PointTypeCount
Definition: ControlPoint.h:386
CameraGroundMap.h
Isis::CameraFocalPlaneMap::SetFocalPlane
virtual bool SetFocalPlane(const double dx, const double dy)
Compute detector position (sample,line) from focal plane coordinates.
Definition: CameraFocalPlaneMap.cpp:143
Isis::SurfacePoint::Valid
bool Valid() const
Definition: SurfacePoint.cpp:947
Isis::ControlPoint::GetSurfacePointSourceString
QString GetSurfacePointSourceString() const
Obtain a string representation of the SurfacePointSource.
Definition: ControlPoint.cpp:1561
Isis::ControlPoint::RadiusSource::None
@ None
Definition: ControlPoint.h:452
Isis::ControlPoint::GetNumLockedMeasures
int GetNumLockedMeasures() const
Returns the number of locked control measures.
Definition: ControlPoint.cpp:1728
Isis::ControlPoint::operator[]
const ControlMeasure * operator[](QString serialNumber) const
Same as GetMeasure (provided for convenience)
Definition: ControlPoint.cpp:1901
Isis::ControlPoint::SurfacePointSourceToString
static QString SurfacePointSourceToString(SurfacePointSource::Source source)
Obtain a string representation of a given SurfacePointSource.
Definition: ControlPoint.cpp:1492
Isis::ControlPoint::SetId
Status SetId(QString id)
Sets the Id of the control point.
Definition: ControlPoint.cpp:552
Isis::ControlPoint::Constrained
@ Constrained
A Constrained point is a Control Point whose lat/lon/radius is somewhat established and should not be...
Definition: ControlPoint.h:376
Isis::ControlPoint::StringToSurfacePointSource
static SurfacePointSource::Source StringToSurfacePointSource(QString str)
Obtain a SurfacePoint::Source from a string.
Definition: ControlPoint.cpp:1530
Isis::ControlPoint::StringToRadiusSource
static RadiusSource::Source StringToRadiusSource(QString str)
Obtain a RadiusSource::Source from a string.
Definition: ControlPoint.cpp:1448
SurfacePoint.h
SerialNumberList.h
Isis::ControlPoint::Load
void Load(PvlObject &p)
Loads the PvlObject into a ControlPoint.
Definition: ControlPoint.cpp:212
Application.h
Isis::ControlPoint::SurfacePointSource::None
@ None
Definition: ControlPoint.h:441
CameraDistortionMap.h
Isis::Application::Name
static QString Name()
Returns the name of the application.
Definition: Application.cpp:729
Isis::ControlPoint::SetDateTime
Status SetDateTime(QString newDateTime)
Set the point's last modified time.
Definition: ControlPoint.cpp:504
Isis::ControlPoint::IsFree
bool IsFree() const
Return bool indicating if point is Free or not.
Definition: ControlPoint.cpp:1594
Isis::ControlPoint::HasRefMeasure
bool HasRefMeasure() const
Checks to see if a reference measure is set.
Definition: ControlPoint.cpp:447
Isis::ControlMeasure::IsEditLocked
bool IsEditLocked() const
Return value for p_editLock or implicit lock on reference measure.
Definition: ControlMeasure.cpp:601
Isis::Distance::isValid
bool isValid() const
Test if this distance has been initialized or not.
Definition: Distance.cpp:192
Isis::ControlPoint::IndexOfRefMeasure
int IndexOfRefMeasure() const
Definition: ControlPoint.cpp:1817
Isis::ControlMeasure::GetSample
double GetSample() const
Definition: ControlMeasure.cpp:723
ControlPoint.h
CameraFocalPlaneMap.h
Isis::ControlMeasure::GetSampleResidual
double GetSampleResidual() const
Definition: ControlMeasure.cpp:728
Isis::ControlNet
a control network
Definition: ControlNet.h:257
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::ControlPoint::GetAprioriSurfacePointSourceFile
QString GetAprioriSurfacePointSourceFile() const
Definition: ControlPoint.cpp:1697
ASSERT
#define ASSERT(x)
Definition: IsisDebug.h:134
Isis::SurfacePoint::GetYSigma
Distance GetYSigma() const
Definition: SurfacePoint.cpp:1464
Isis::ControlPoint::GetAprioriRadiusSource
RadiusSource::Source GetAprioriRadiusSource() const
Definition: ControlPoint.cpp:1571
Isis::ControlPoint::SurfacePointSource::Source
Source
Definition: ControlPoint.h:440
Isis::ControlPoint::Coord2Constrained
@ Coord2Constrained
Definition: ControlPoint.h:417
Isis::ControlPoint::Parent
ControlNet * Parent()
Definition: ControlPoint.h:466
Isis::ControlPoint::IsRejected
bool IsRejected() const
Definition: ControlPoint.cpp:1277
Isis::Camera::Csm
@ Csm
Community Sensor Model Camera.
Definition: Camera.h:364
Isis::ControlPoint::SurfacePointSource
Definition: ControlPoint.h:439
Isis::ControlPoint::IndexOf
int IndexOf(ControlMeasure *, bool throws=true) const
Definition: ControlPoint.cpp:1782
Isis::ControlPoint::NumberOfConstrainedCoordinates
int NumberOfConstrainedCoordinates()
Return bool indicating if point is Constrained or not.
Definition: ControlPoint.cpp:1661
Statistics.h
Isis::ControlMeasure::Success
@ Success
Definition: ControlMeasure.h:218
Isis::ControlPoint::RadiusSource::User
@ User
Definition: ControlPoint.h:453
Isis::Camera::FocalPlaneMap
CameraFocalPlaneMap * FocalPlaneMap()
Returns a pointer to the CameraFocalPlaneMap object.
Definition: Camera.cpp:2836
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Isis::ControlPoint::IsCoord1Constrained
bool IsCoord1Constrained()
Return bool indicating if 1st coordinate is Constrained or not.
Definition: ControlPoint.cpp:1630
std
Namespace for the standard library.
Isis::ControlPoint::GetRefMeasure
const ControlMeasure * GetRefMeasure() const
Get the reference control measure.
Definition: ControlPoint.cpp:457
Isis::Angle::isValid
bool isValid() const
This indicates whether we have a legitimate angle stored or are in an unset, or invalid,...
Definition: Angle.cpp:95
Isis::ControlPoint::ModType
ModType
Control Point Modification Types.
Definition: ControlPoint.h:431
Isis::CameraFocalPlaneMap
Convert between distorted focal plane and detector coordinates.
Definition: CameraFocalPlaneMap.h:85
Isis::Camera::GroundMap
CameraGroundMap * GroundMap()
Returns a pointer to the CameraGroundMap object.
Definition: Camera.cpp:2856
Isis::ControlPoint::IgnoredModified
@ IgnoredModified
Definition: ControlPoint.h:433
Isis::ControlPoint::operator==
bool operator==(const ControlPoint &pPoint) const
Compare two Control Points for equality.
Definition: ControlPoint.cpp:1964
Isis::ControlPoint::ResetApriori
Status ResetApriori()
Reset all the Apriori info to defaults.
Definition: ControlPoint.cpp:381
Isis::ControlPoint::Coord1Constrained
@ Coord1Constrained
Definition: ControlPoint.h:416
Isis::ControlPoint::Free
@ Free
A Free point is a Control Point that identifies common measurements between two or more cubes.
Definition: ControlPoint.h:384
Isis::Displacement::isValid
bool isValid() const
Test if this displacement has been initialized or not.
Definition: Displacement.cpp:141
Isis::ControlPoint::Delete
int Delete(ControlMeasure *measure)
Remove a measurement from the control point, deleting reference measure is allowed.
Definition: ControlPoint.cpp:354
Isis::ControlMeasure::GetLine
double GetLine() const
Definition: ControlMeasure.cpp:690
Isis::SurfacePoint::GetLatSigma
Angle GetLatSigma() const
Definition: SurfacePoint.cpp:1645
Isis::ControlMeasure::GetLineResidual
double GetLineResidual() const
Definition: ControlMeasure.cpp:695
PvlObject.h
Isis::ControlPoint::IsIgnored
bool IsIgnored() const
Definition: ControlPoint.cpp:1311
Isis::ControlPoint::GetType
PointType GetType() const
Definition: ControlPoint.cpp:1401
Isis::ControlPoint::SetRejected
Status SetRejected(bool rejected)
Set the jigsawRejected state.
Definition: ControlPoint.cpp:539
Isis::ControlPoint::~ControlPoint
~ControlPoint()
This destroys the current instance and cleans up any and all allocated memory.
Definition: ControlPoint.cpp:147
Isis::SurfacePoint::GetLonSigma
Angle GetLonSigma() const
Definition: SurfacePoint.cpp:1653
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
Isis::SurfacePoint::Latitudinal
@ Latitudinal
Planetocentric latitudinal (lat/lon/rad) coordinates.
Definition: SurfacePoint.h:140
Isis::ControlPoint::SetAprioriSurfacePointSource
Status SetAprioriSurfacePointSource(SurfacePointSource::Source source)
This updates the source of the surface point.
Definition: ControlPoint.cpp:821
Isis::ControlPoint::Status
Status
This is a return status for many of the mutating (setter) method calls.
Definition: ControlPoint.h:393
Isis::Camera::Line
virtual double Line() const
Returns the current line number.
Definition: Camera.cpp:2710
Isis::ControlPoint::Failure
@ Failure
This is returned when an operation cannot be performed due to a problem such as the point is ignored ...
Definition: ControlPoint.h:399
Isis::ControlPoint::HasSerialNumber
bool HasSerialNumber(QString serialNumber) const
Return true if given serial number exists in point.
Definition: ControlPoint.cpp:1746
QObject
Isis::ControlPoint::IsValid
bool IsValid() const
Definition: ControlPoint.cpp:1316
Isis::Application::DateTime
static QString DateTime(time_t *curtime=0)
Returns the date and time as a QString.
Definition: Application.cpp:802
Isis::ControlPoint::IsConstrained
bool IsConstrained()
Return bool indicating if point is Constrained or not.
Definition: ControlPoint.cpp:1614
Isis::ControlMeasure::SetFocalPlaneComputed
Status SetFocalPlaneComputed(double x, double y)
Set the computed focal plane x/y for the apriori lat/lon.
Definition: ControlMeasure.cpp:319
Isis::ControlMeasure::GetFocalPlaneComputedY
double GetFocalPlaneComputedY() const
Definition: ControlMeasure.cpp:615
ControlMeasureLogData.h
IsisDebug.h
Isis::ControlPoint::IsReferenceExplicit
bool IsReferenceExplicit() const
Definition: ControlPoint.cpp:1755
Isis::CameraDistortionMap::UndistortedFocalPlaneY
double UndistortedFocalPlaneY() const
Gets the y-value in the undistorted focal plane coordinate system.
Definition: CameraDistortionMap.cpp:248
Isis::ControlPoint::StringToPointType
static PointType StringToPointType(QString pointTypeString)
Obtain a PointType given a string representation of it.
Definition: ControlPoint.cpp:1359
Isis::ControlPoint::Add
void Add(ControlMeasure *measure)
Add a measurement to the control point, taking ownership of the measure in the process.
Definition: ControlPoint.cpp:223
Isis::Displacement::Kilometers
@ Kilometers
The distance is being specified in kilometers.
Definition: Displacement.h:42
Isis::SurfacePoint
This class defines a body-fixed surface point.
Definition: SurfacePoint.h:132
Isis::SurfacePoint::GetY
Displacement GetY() const
Definition: SurfacePoint.cpp:1443
Isis::SurfacePoint::GetLocalRadiusSigma
Distance GetLocalRadiusSigma() const
Definition: SurfacePoint.cpp:1776
ControlMeasure.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::ControlPoint::IsFixed
bool IsFixed() const
Return bool indicating if point is Fixed or not.
Definition: ControlPoint.cpp:1604
Isis::ControlPoint::GetPointTypeString
QString GetPointTypeString() const
Obtain a string representation of the PointType.
Definition: ControlPoint.cpp:1392
Isis::ControlPoint::SetAprioriRadiusSource
Status SetAprioriRadiusSource(RadiusSource::Source source)
This updates the source of the radius of the apriori surface point.
Definition: ControlPoint.cpp:736
Isis::IException::User
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126
Isis::ControlPoint::ComputeResiduals
Status ComputeResiduals()
This method computes the BundleAdjust residuals for a point.
Definition: ControlPoint.cpp:1028
Isis::ControlMeasure
a control measurement
Definition: ControlMeasure.h:175