Isis 3.0 Programmer Reference
Back | 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.
File name manipulation and expansion.
Definition: FileName.h:111
QString ControlPointId(int piIndex)
Return a control point id given an index.
ControlPointList(const FileName &psFileName)
Creates a ControlPointList from a list of control point ids&#39;.
virtual ~ControlPointList()
Destructor.
Control Point List generator.
int Size() const
How many control points in the list.
std::vector< bool > mbFound
holds one to one correspondence with &quot;mqCpList&quot; on whether the point was valid
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.
int ControlPointIndex(const QString &psCpId)
return a list index given a control point id

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:16:46