Isis Developer Reference
ControlNet.h
Go to the documentation of this file.
1 #ifndef ControlNet_h
2 #define ControlNet_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 // This is needed for the QVariant macro
13 #include <QMetaType>
14 #include <QObject> // parent class
15 #include <QSharedPointer>
16 #include "SurfacePoint.h"
17 #include <QString>
18 #include <QMap>
19 #include <QVariant>
20 #include <QVector>
21 #include <QVariant>
22 
23 
24 // Boost includes
25 #include <boost/graph/graph_traits.hpp>
26 #include <boost/graph/adjacency_list.hpp>
27 #include <boost/graph/connected_components.hpp>
28 
29 #include "ControlMeasure.h"
30 #include "ControlPoint.h"
31 
32 template< typename A, typename B > class QHash;
33 template< typename T > class QList;
34 template< typename A, typename B > struct QPair;
35 template< typename T > class QSet;
36 
37 class QMutex;
38 class QString;
39 
40 namespace Isis {
41  class Camera;
42  class ControlMeasure;
43  class ControlPoint;
44  class Distance;
45  class Progress;
46  class Pvl;
47  class SerialNumberList;
48 
257  class ControlNet : public QObject {
258  Q_OBJECT
259 
260  friend class ControlMeasure;
261  friend class ControlPoint;
262 
263  public:
264 
274  enum ModType {
277  };
278 
280  ControlNet(const ControlNet &other);
281  ControlNet(const QString &filename, Progress *progress = 0,
283 
284  ~ControlNet();
285 
286  void clear();
288 
289  void ReadControl(const QString &filename, Progress *progress = 0);
290  void Write(const QString &filename, bool pvl = false);
291 
292  void AddPoint(ControlPoint *point);
293  int DeletePoint(ControlPoint *point);
294  int DeletePoint(QString pointId);
295  int DeletePoint(int index);
296  bool ContainsPoint(QString pointId) const;
297 
299  QString GraphToString() const;
301  int getEdgeCount() const;
302  QList< QString > getAdjacentImages(QString serialNumber) const;
303  QList< ControlMeasure * > GetMeasuresInCube(QString serialNumber);
306  double min,double max);
307 
308  void ComputeResiduals();
309  void ComputeApriori();
310 
311  const ControlPoint *GetPoint(QString pointId) const;
312  ControlPoint *GetPoint(QString pointId);
313  const ControlPoint *GetPoint(int index) const;
314  ControlPoint *GetPoint(int index);
315 
316  double AverageResidual();
317  Isis::Camera *Camera(int index);
318  QString CreatedDate() const;
319  QString Description() const;
320  ControlPoint *FindClosest(QString serialNumber,
321  double sample, double line);
322  //bool IsValid() const;
323  double GetMaximumResidual();
324  QString GetNetworkId() const;
326  int GetNumEditLockPoints();
327  int GetNumIgnoredMeasures();
328  int GetNumberOfValidMeasuresInImage(const QString &serialNumber);
329  int GetNumberOfJigsawRejectedMeasuresInImage(const QString &serialNumber);
330  void ClearJigsawRejected();
331  void IncrementNumberOfRejectedMeasuresInImage(const QString &serialNumber);
332  void DecrementNumberOfRejectedMeasuresInImage(const QString &serialNumber);
333  int GetNumMeasures() const;
334  int GetNumPoints() const;
335  int GetNumValidMeasures();
336  int GetNumValidPoints();
337  QString GetTarget() const;
338  QString GetUserName() const;
339  QString GetLastModified() const;
343 
344  void SetCreatedDate(const QString &date);
345  void SetDescription(const QString &newDescription);
346  void SetImages(const QString &imageListFile);
347  void SetImages(SerialNumberList &list, Progress *progress = 0);
348 
349  void SetModifiedDate(const QString &date);
350  void SetMutex(QMutex *mutex);
351  void SetNetworkId(const QString &id);
352  void SetTarget(const QString &target);
353  void SetTarget(Pvl label);
354  void SetTarget(const ControlNet &other);
355  void SetUserName(const QString &name);
357 
358  void swap(ControlNet &other);
359  ControlNet &operator=(const ControlNet &other);
360 
361  const ControlPoint *operator[](QString id) const;
362  ControlPoint *operator[](QString id);
363  const ControlPoint *operator[](int id) const;
364  ControlPoint *operator[](int id);
365 
366 
367  signals:
370  void pointModified(ControlPoint *point, ControlPoint::ModType type, QVariant oldValue, QVariant newValue);
371  void measureModified(ControlMeasure *measure, ControlMeasure::ModType type, QVariant oldValue, QVariant newValue);
376 
377 
378 
379  private:
380  void nullify();
381  bool ValidateSerialNumber(QString serialNumber) const;
382  void measureAdded(ControlMeasure *measure);
383  void measureDeleted(ControlMeasure *measure);
384  void measureIgnored(ControlMeasure *measure);
385  void measureUnIgnored(ControlMeasure *measure);
386  void pointIgnored(ControlPoint *point);
387  void pointUnIgnored(ControlPoint *point);
388  void UpdatePointReference(ControlPoint *point, QString oldId);
389  void emitNetworkStructureModified();
390  void emitMeasureModified(ControlMeasure *measure, ControlMeasure::ModType type, QVariant oldValue, QVariant newValue);
391  void emitPointModified(ControlPoint *point, ControlPoint::ModType type, QVariant oldValue, QVariant newValue);
392  void pointAdded(ControlPoint *point);
393  bool addEdge(QString sourceSerial, QString targetSerial);
394  bool removeEdge(QString sourceSerial, QString targetSerial);
395 
396  private: // graphing functions
402  class ControlMeasureLessThanFunctor :
403  public std::binary_function<ControlMeasure* const &,
404  ControlMeasure * const &, bool > {
405  public:
406  ControlMeasureLessThanFunctor(double(ControlMeasure::*accessorMethod)() const) {
407  m_accessor = accessorMethod;
408  }
409  ControlMeasureLessThanFunctor(ControlMeasureLessThanFunctor const &other) {
410  this->m_accessor = other.m_accessor;
411  }
412  ~ControlMeasureLessThanFunctor() {}
413 
414  bool operator()(ControlMeasure* const &, ControlMeasure* const &);
415  ControlMeasureLessThanFunctor & operator=(ControlMeasureLessThanFunctor const &other);
416 
417  private:
418  double(ControlMeasure::*m_accessor)() const;
419  };
420 
421  private: // data
424 
426  struct Image {
427  QString serial;
430  };
431 
433  struct Connection {
434  Connection() : strength(0) {}
435  int strength;
436  };
437 
441  typedef boost::adjacency_list<boost::setS,
442  boost::listS,
443  boost::undirectedS,
444  Image,
445  Connection> Network;
446 
447  typedef Network::vertex_descriptor ImageVertex;
448  typedef Network::edge_descriptor ImageConnection;
449 
451  typedef std::map<ImageVertex, size_t> VertexIndexMap;
452 
454  typedef boost::associative_property_map<VertexIndexMap> VertexIndexMapAdaptor;
455 
457  typedef boost::graph_traits<Network>::adjacency_iterator AdjacencyIterator;
458  typedef boost::graph_traits<Network>::vertex_iterator VertexIterator;
459 
460  QHash<QString, ImageVertex> m_vertexMap;
461  Network m_controlGraph;
462  QStringList *pointIds;
463  QMutex *m_mutex;
464 
465  QString p_targetName;
466  QString p_networkId;
467  QString p_created;
468  QString p_modified;
469  QString p_description;
470  QString p_userName;
471  QMap<QString, Isis::Camera *> p_cameraMap;
472  QMap<QString, int> p_cameraValidMeasuresMap;
473  QMap<QString, int> p_cameraRejectedMeasuresMap;
474  QVector<Isis::Camera *> p_cameraList;
476 
477  bool m_ownPoints;
478  SurfacePoint::CoordinateType m_coordType;
479  };
480 
483 }
484 
487 
488 #endif
Isis::ControlNet::measureRemoved
void measureRemoved(ControlMeasure *)
Isis::ControlNet::operator=
ControlNet & operator=(const ControlNet &other)
Assign other to this.
Definition: ControlNet.cpp:1803
Isis::ControlNet::newPoint
void newPoint(ControlPoint *)
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::ControlNet::GetMaximumResidual
double GetMaximumResidual()
Determine the maximum error of all points in the network.
Definition: ControlNet.cpp:1323
FileName.h
Isis::ControlNet::GetNetworkId
QString GetNetworkId() const
Definition: ControlNet.cpp:1338
Isis::ControlNet::measureModified
void measureModified(ControlMeasure *measure, ControlMeasure::ModType type, QVariant oldValue, QVariant newValue)
Isis::ControlNet::ControlNet
ControlNet(SurfacePoint::CoordinateType=SurfacePoint::Latitudinal)
Creates an empty ControlNet object.
Definition: ControlNet.cpp:60
Isis::ControlMeasure::Parent
ControlPoint * Parent()
Definition: ControlMeasure.h:260
Isis::ControlNet::GetPointIds
QList< QString > GetPointIds() const
Return QList of ControlPoint Ids used in hash, in order of addition.
Definition: ControlNet.cpp:1536
Isis::ControlPoint::getMeasures
QList< ControlMeasure * > getMeasures(bool excludeIgnored=false) const
Definition: ControlPoint.cpp:1873
Isis::ControlNetVersioner::creationDate
QString creationDate() const
Returns the date and time that the network was created.
Definition: ControlNetVersioner.cpp:134
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
CameraFactory.h
ControlNetVersioner.h
Isis::ControlNet::FindClosest
ControlPoint * FindClosest(QString serialNumber, double sample, double line)
Finds and returns a pointer to the closest ControlPoint to the ControlMeasure with the given serial n...
Definition: ControlNet.cpp:1271
Isis::Progress::CheckStatus
void CheckStatus()
Checks and updates the status.
Definition: Progress.cpp:105
Isis::ControlNet::SetMutex
void SetMutex(QMutex *mutex)
Set mutex to lock for making Naif calls.
Definition: ControlNet.cpp:1666
Isis::ControlPoint::GetMeasure
const ControlMeasure * GetMeasure(QString serialNumber) const
Get a control measure based on its cube's serial number.
Definition: ControlPoint.cpp:416
QList
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Isis::ControlNet::GetUserName
QString GetUserName() const
Return the user name.
Definition: ControlNet.cpp:1513
Isis::SerialNumberList::size
int size() const
How many serial number / filename combos are in the list.
Definition: SerialNumberList.cpp:384
Isis::ControlNet::GetValidMeasuresInCube
QList< ControlMeasure * > GetValidMeasuresInCube(QString serialNumber)
Get all the valid measures pertaining to a given cube serial number.
Definition: ControlNet.cpp:1081
SpecialPixel.h
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
QSet
This is free and unencumbered software released into the public domain.
Definition: Process.h:16
Isis::Progress::SetMaximumSteps
void SetMaximumSteps(const int steps)
This sets the maximum number of steps in the process.
Definition: Progress.cpp:85
Isis::ControlNet::ModType
ModType
Control Point Modification Types.
Definition: ControlNet.h:274
Isis::ControlNet::newMeasure
void newMeasure(ControlMeasure *)
Isis::ControlNet::ComputeResiduals
void ComputeResiduals()
Compute error for each point in the network.
Definition: ControlNet.cpp:1169
Isis::ControlNet::GetNumberOfJigsawRejectedMeasuresInImage
int GetNumberOfJigsawRejectedMeasuresInImage(const QString &serialNumber)
Return the number of jigsaw rejected measures in image specified by serialNumber.
Definition: ControlNet.cpp:1413
Isis::ControlNet::Description
QString Description() const
Return the description of the network.
Definition: ControlNet.cpp:1254
Isis::ControlNet::AverageResidual
double AverageResidual()
Compute the average error of all points in the network.
Definition: ControlNet.cpp:1203
Target.h
Isis::ControlNet::SetTarget
void SetTarget(const QString &target)
Sets the target name and target radii, if available.
Definition: ControlNet.cpp:1692
Isis::ControlNetVersioner::takeFirstPoint
ControlPoint * takeFirstPoint()
Returns the first point stored in the versioner's internal list.
Definition: ControlNetVersioner.cpp:187
Isis::ControlPoint::GetNumMeasures
int GetNumMeasures() const
Definition: ControlPoint.cpp:1702
Isis::ControlNet::ComputeApriori
void ComputeApriori()
Compute aprior values for each point in the network.
Definition: ControlNet.cpp:1185
Isis::ControlNet::Write
void Write(const QString &filename, bool pvl=false)
Writes out the control network.
Definition: ControlNet.cpp:311
Isis::ControlNet::networkModified
void networkModified(ControlNet::ModType type)
Isis::ControlNet::AddPoint
void AddPoint(ControlPoint *point)
Adds a ControlPoint to the ControlNet.
Definition: ControlNet.cpp:352
Isis::ControlNet::SetDescription
void SetDescription(const QString &newDescription)
Set the description of the network.
Definition: ControlNet.cpp:1556
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::ControlNet::GetNumberOfValidMeasuresInImage
int GetNumberOfValidMeasuresInImage(const QString &serialNumber)
Return the number of measures in image specified by serialNumber.
Definition: ControlNet.cpp:1399
Isis::Statistics::Maximum
double Maximum() const
Returns the absolute maximum double found in all data passed through the AddData method.
Definition: Statistics.cpp:403
Isis::PvlObject::hasGroup
bool hasGroup(const QString &name) const
Returns a boolean value based on whether the object has the specified group or not.
Definition: PvlObject.h:210
Isis::ControlNet::SetNetworkId
void SetNetworkId(const QString &id)
Set the network id.
Definition: ControlNet.cpp:1676
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::PvlContainer::hasKeyword
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
Isis::ControlNet::GetNumEditLockMeasures
int GetNumEditLockMeasures()
Return the total number of edit locked measures for all control points in the network.
Definition: ControlNet.cpp:1349
Isis::ControlNet::ClearJigsawRejected
void ClearJigsawRejected()
Sets jigsaw rejected flag to false for all points and measures.
Definition: ControlNet.cpp:1423
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::ControlNet::clear
void clear()
Clear the contents of this object.
Definition: ControlNet.cpp:180
Isis::Pvl::write
void write(const QString &file)
Opens and writes PVL information to a file and handles the end of line sequence.
Definition: Pvl.cpp:130
Isis::ControlPoint::IsEditLocked
bool IsEditLocked() const
Definition: ControlPoint.cpp:1272
Isis::ControlNet::GetMeasuresInCube
QList< ControlMeasure * > GetMeasuresInCube(QString serialNumber)
Get all the measures pertaining to a given cube serial number.
Definition: ControlNet.cpp:1065
Isis::ControlPoint::GetId
QString GetId() const
Return the Id of the control point.
Definition: ControlPoint.cpp:1306
Isis::ControlNet::GetTarget
QString GetTarget() const
Return the target name.
Definition: ControlNet.cpp:1507
QSharedPointer< ControlNet >
Isis::Camera
Definition: Camera.h:236
Isis::ControlNet::GetNumEditLockPoints
int GetNumEditLockPoints()
Returns the number of edit locked control points.
Definition: ControlNet.cpp:1364
Isis::ControlNet::ReadControl
void ReadControl(const QString &filename, Progress *progress=0)
Reads in the control points from the given file.
Definition: ControlNet.cpp:271
QStringList
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
Isis::SerialNumberList
Serial Number list generator.
Definition: SerialNumberList.h:64
Isis::ControlPoint::GetNumValidMeasures
int GetNumValidMeasures() const
Definition: ControlPoint.cpp:1711
Isis::ControlNet::GetNumMeasures
int GetNumMeasures() const
Returns the total number of measures for all control points in the network.
Definition: ControlNet.cpp:1454
Isis::ControlPoint::getCubeSerialNumbers
QList< QString > getCubeSerialNumbers() const
Definition: ControlPoint.cpp:1889
Isis::ControlNet::GetCubeSerials
QList< QString > GetCubeSerials() const
Use this method to get a complete list of all the cube serial numbers in the network.
Definition: ControlNet.cpp:1016
Isis::ControlMeasure::IsIgnored
bool IsIgnored() const
Definition: ControlMeasure.cpp:630
Isis::SerialNumberList::serialNumber
QString serialNumber(const QString &filename)
Return a serial number given a filename.
Definition: SerialNumberList.cpp:426
Isis::ControlNet::SetModifiedDate
void SetModifiedDate(const QString &date)
Set the last modified date.
Definition: ControlNet.cpp:1654
Isis::ControlNet::CreatedDate
QString CreatedDate() const
Return the Created Date.
Definition: ControlNet.cpp:1244
Isis::ControlNet::Camera
Isis::Camera * Camera(int index)
Returns the camera list from the given image number.
Definition: ControlNet.cpp:1232
Isis::ControlMeasure::GetCubeSerialNumber
QString GetCubeSerialNumber() const
Return the serial number of the cube containing the coordinate.
Definition: ControlMeasure.cpp:557
Isis::ControlPoint
A single control point.
Definition: ControlPoint.h:354
Isis::ControlNet::SetUserName
void SetUserName(const QString &name)
Set the user name of the control network.
Definition: ControlNet.cpp:1730
Isis::ControlNet::pointDeleted
void pointDeleted(ControlPoint *point)
ControlNet.h
QHash
This is free and unencumbered software released into the public domain.
Definition: ControlNet.h:32
Isis::ControlNet::GetNumPoints
int GetNumPoints() const
Return the number of control points in the network.
Definition: ControlNet.cpp:1465
Isis::ControlMeasure::ModType
ModType
Control Measure Modification Types.
Definition: ControlMeasure.h:232
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
_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::ControlNetVersioner::description
QString description() const
Returns the network's description.
Definition: ControlNetVersioner.cpp:154
Isis::ControlNet::GetPoints
QList< ControlPoint * > GetPoints()
Return QList of all the ControlPoints in the network.
Definition: ControlNet.cpp:1524
Isis::ControlNet::GraphModified
@ GraphModified
Definition: ControlNet.h:276
Isis::ControlMeasure::SetCamera
Status SetCamera(Isis::Camera *camera)
Set pointer to camera associated with a measure.
Definition: ControlMeasure.cpp:169
Isis::ControlPoint::GetNumLockedMeasures
int GetNumLockedMeasures() const
Returns the number of locked control measures.
Definition: ControlPoint.cpp:1728
Isis::ControlNet::swap
void swap(ControlNet &other)
Swaps the member data with the given control net.
Definition: ControlNet.cpp:1749
Isis::ControlNet::operator[]
const ControlPoint * operator[](QString id) const
Definition: ControlNet.cpp:1866
Isis::ControlNet::SetCreatedDate
void SetCreatedDate(const QString &date)
Set the creation time.
Definition: ControlNet.cpp:1546
Isis::Progress::SetText
void SetText(const QString &text)
Changes the value of the text string reported just before 0% processed.
Definition: Progress.cpp:61
Isis::ControlNetVersioner::userName
QString userName() const
Returns the name of the last person or program to modify the network.
Definition: ControlNetVersioner.cpp:164
SurfacePoint.h
SerialNumberList.h
Isis::ControlNetVersioner::netId
QString netId() const
Returns the ID for the network.
Definition: ControlNetVersioner.cpp:114
Application.h
Isis::ControlNet::take
QList< ControlPoint * > take()
Transfer ownership of all points to caller.
Definition: ControlNet.cpp:226
Isis::ControlNet::DecrementNumberOfRejectedMeasuresInImage
void DecrementNumberOfRejectedMeasuresInImage(const QString &serialNumber)
Decrement number of jigsaw rejected measures in image specified by serialNumber.
Definition: ControlNet.cpp:1443
Isis::PvlObject::findObject
PvlObjectIterator findObject(const QString &name, PvlObjectIterator beg, PvlObjectIterator end)
Find the index of object with a specified name, between two indexes.
Definition: PvlObject.h:274
Isis::ControlNet::SetImages
void SetImages(const QString &imageListFile)
Creates the ControlNet's image cameras based on an input file.
Definition: ControlNet.cpp:1566
Isis::ControlMeasure::GetSample
double GetSample() const
Definition: ControlMeasure.cpp:723
Isis::ControlNet::GetNumValidMeasures
int GetNumValidMeasures()
Return the number of valid (non-ignored) measures for all control points in the network.
Definition: ControlNet.cpp:1479
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(Isis::ControlNet *)
This allows ControlNet *'s to be stored in a QVariant.
ControlPoint.h
Isis::ControlNet
a control network
Definition: ControlNet.h:257
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::ControlNet::ControlMeasure
friend class ControlMeasure
Definition: ControlNet.h:260
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::ControlNetVersioner::targetName
QString targetName() const
Returns the target for the network.
Definition: ControlNetVersioner.cpp:124
Isis::ControlNet::ContainsPoint
bool ContainsPoint(QString pointId) const
Definition: ControlNet.cpp:951
ASSERT
#define ASSERT(x)
Definition: IsisDebug.h:134
Isis::ControlNet::networkStructureModified
void networkStructureModified()
Isis::Progress
Program progress reporter.
Definition: Progress.h:42
Isis::ControlNet::~ControlNet
~ControlNet()
Destructor removes allocated memory.
Definition: ControlNet.cpp:133
Isis::PvlObject::hasObject
bool hasObject(const QString &name) const
Returns a boolean value based on whether the object exists in the current PvlObject or not.
Definition: PvlObject.h:323
Isis::ControlNetVersioner::numPoints
int numPoints() const
Returns the number of points that have been read in or are ready to write out.
Definition: ControlNetVersioner.cpp:174
Isis::Statistics::Average
double Average() const
Computes and returns the average.
Definition: Statistics.cpp:300
Isis::ControlNet::SetTarget
void SetTarget(const ControlNet &other)
Isis::ControlNet::GetNumValidPoints
int GetNumValidPoints()
Returns the number of non-ignored control points.
Definition: ControlNet.cpp:1495
Isis::ControlNet::getAdjacentImages
QList< QString > getAdjacentImages(QString serialNumber) const
Get all images connected to a given image by common control points.
Definition: ControlNet.cpp:1041
Statistics.h
IException.h
std
Namespace for the standard library.
Isis::ControlPoint::ModType
ModType
Control Point Modification Types.
Definition: ControlPoint.h:431
Isis::ControlNet::getEdgeCount
int getEdgeCount() const
Definition: ControlNet.cpp:1003
QPair
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:23
Isis::ControlNetVersioner::write
void write(FileName netFile)
This will write a control net file object to disk.
Definition: ControlNetVersioner.cpp:1659
Isis::ControlNet::pointModified
void pointModified(ControlPoint *point, ControlPoint::ModType type, QVariant oldValue, QVariant newValue)
Isis::ControlNetVersioner::toPvl
Pvl toPvl()
Generates a Pvl file from the currently stored control points and header.
Definition: ControlNetVersioner.cpp:202
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::ControlNet::DeletePoint
int DeletePoint(ControlPoint *point)
Delete a ControlPoint from the network by the point's address.
Definition: ControlNet.cpp:879
QMap< QString, Isis::Camera * >
Isis::ControlPoint::IsIgnored
bool IsIgnored() const
Definition: ControlPoint.cpp:1311
Isis::ControlNet::GraphToString
QString GraphToString() const
Used for verifying graph intergrity.
Definition: ControlNet.cpp:497
Isis::SurfacePoint::Latitudinal
@ Latitudinal
Planetocentric latitudinal (lat/lon/rad) coordinates.
Definition: SurfacePoint.h:140
iTime.h
Isis::IString
Adds specific functionality to C++ strings.
Definition: IString.h:165
Isis::SerialNumberList::fileName
QString fileName(const QString &sn)
Return a filename given a serial number.
Definition: SerialNumberList.cpp:399
QObject
Distance.h
QVector< Isis::Camera * >
Isis::ControlNet::GetNumIgnoredMeasures
int GetNumIgnoredMeasures()
Return the total number of ignored measures for all control points in the network.
Definition: ControlNet.cpp:1381
Isis::ControlNet::Swapped
@ Swapped
Definition: ControlNet.h:275
IsisDebug.h
Isis::ControlNetQsp
QSharedPointer< ControlNet > ControlNetQsp
This typedef is for future implementation of target body.
Definition: ControlNet.h:482
Isis::ControlNetVersioner::lastModificationDate
QString lastModificationDate() const
Returns the date and time of the last modification to the network.
Definition: ControlNetVersioner.cpp:144
Isis::SerialNumberList::hasSerialNumber
bool hasSerialNumber(QString sn)
Determines whether or not the requested serial number exists in the list.
Definition: SerialNumberList.cpp:373
Progress.h
Isis::ControlNet::GetPoint
const ControlPoint * GetPoint(QString pointId) const
Definition: ControlNet.cpp:1815
Isis::ControlNet::SetCoordType
void SetCoordType(SurfacePoint::CoordinateType coordType)
Sets the control point coordinate type.
Definition: ControlNet.cpp:861
Isis::ControlNet::IncrementNumberOfRejectedMeasuresInImage
void IncrementNumberOfRejectedMeasuresInImage(const QString &serialNumber)
Increment number of jigsaw rejected measures in image specified by serialNumber.
Definition: ControlNet.cpp:1434
ControlMeasure.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::ControlNet::sortedMeasureList
QList< ControlMeasure * > sortedMeasureList(double(ControlMeasure::*statFunc)() const, double min, double max)
Get a sorted list of all the measures that have values in a given ragen.
Definition: ControlNet.cpp:1133
Isis::ControlNet::GetSerialConnections
QList< QList< QString > > GetSerialConnections() const
This method searches through all the cube serial numbers in the network.
Definition: ControlNet.cpp:967
Isis::ControlNetVersioner
Handle various control network file format versions.
Definition: ControlNetVersioner.h:412
Isis::ControlNet::GetLastModified
QString GetLastModified() const
Return the last modified date.
Definition: ControlNet.cpp:1518
Isis::ControlMeasure
a control measurement
Definition: ControlMeasure.h:175