Isis 3 Programmer Reference
ControlPointList.h
1 #ifndef ControlPointList_h
2 #define ControlPointList_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include <QStringList>
13 #include <QVector>
14 
15 #include "Pvl.h"
16 
17 namespace Isis {
18  class FileName;
19 
39  public:
40  ControlPointList(const FileName &psFileName);
41  virtual ~ControlPointList();
42 
43  QString ControlPointId(int piIndex);
44  int ControlPointIndex(const QString &psCpId);
45 
46  bool HasControlPoint(const QString &psCpId);
47 
48  int Size() const;
49 
50  void RegisterStatistics(Pvl &pcPvlLog);
51 
52  private:
53  QStringList mqCpList;
54 
58  };
59 };
60 
61 #endif
Isis::ControlPointList::RegisterStatistics
void RegisterStatistics(Pvl &pcPvlLog)
Register invalid control point and calculate the valid & invalid point count.
Definition: ControlPointList.cpp:124
Isis::ControlPointList::mbFound
QVector< bool > mbFound
holds one to one correspondence with "mqCpList" on whether the point was valid
Definition: ControlPointList.h:57
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::ControlPointList::ControlPointId
QString ControlPointId(int piIndex)
Return a control point id given an index.
Definition: ControlPointList.cpp:88
Isis::ControlPointList
Control Point List generator.
Definition: ControlPointList.h:38
QStringList
Isis::ControlPointList::Size
int Size() const
How many control points in the list.
Definition: ControlPointList.cpp:76
Isis::ControlPointList::~ControlPointList
virtual ~ControlPointList()
Destructor.
Definition: ControlPointList.cpp:48
Isis::ControlPointList::HasControlPoint
bool HasControlPoint(const QString &psCpId)
Determines whether or not the requested control point id exists in the list.
Definition: ControlPointList.cpp:60
Isis::ControlPointList::ControlPointIndex
int ControlPointIndex(const QString &psCpId)
return a list index given a control point id
Definition: ControlPointList.cpp:107
QVector< bool >
Isis::ControlPointList::ControlPointList
ControlPointList(const FileName &psFileName)
Creates a ControlPointList from a list of control point ids'.
Definition: ControlPointList.cpp:24
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16