Isis 3.0
Home
ControlPointList.h
Go to the documentation of this file.
1 #ifndef ControlPointList_h
2 #define ControlPointList_h
3 
26 #include <string>
27 #include <vector>
28 #include <QStringList>
29 
30 #include "Pvl.h"
31 
32 namespace Isis {
33  class FileName;
34 
52  public:
53  ControlPointList(const FileName &psFileName);
54  virtual ~ControlPointList();
55 
56  QString ControlPointId(int piIndex);
57  int ControlPointIndex(const QString &psCpId);
58 
59  bool HasControlPoint(const QString &psCpId);
60 
61  int Size() const;
62 
63  void RegisterStatistics(Pvl &pcPvlLog);
64 
65  private:
66  QStringList mqCpList;
67 
70  std::vector<bool> mbFound;
71  };
72 };
73 
74 #endif
void RegisterStatistics(Pvl &pcPvlLog)
Register invalid control point and calculate the valid &amp; invalid point count.
Definition: ControlPointList.cpp:116
File name manipulation and expansion.
Definition: FileName.h:111
QString ControlPointId(int piIndex)
Return a control point id given an index.
Definition: ControlPointList.cpp:80
ControlPointList(const FileName &psFileName)
Creates a ControlPointList from a list of control point ids&#39;.
Definition: ControlPointList.cpp:16
virtual ~ControlPointList()
Destructor.
Definition: ControlPointList.cpp:40
Control Point List generator.
Definition: ControlPointList.h:51
int Size() const
How many control points in the list.
Definition: ControlPointList.cpp:68
Container for cube-like labels.
Definition: Pvl.h:135
bool HasControlPoint(const QString &psCpId)
Determines whether or not the requested control point id exists in the list.
Definition: ControlPointList.cpp:52
int ControlPointIndex(const QString &psCpId)
return a list index given a control point id
Definition: ControlPointList.cpp:99