Isis Developer Reference
ControlPointList.h
Go to the documentation of this file.
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
17namespace 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
57 QVector<bool> mbFound;
58 };
59};
60
61#endif
Control Point List generator.
Definition ControlPointList.h:38
bool HasControlPoint(const QString &psCpId)
Determines whether or not the requested control point id exists in the list.
Definition ControlPointList.cpp:60
void RegisterStatistics(Pvl &pcPvlLog)
Register invalid control point and calculate the valid & invalid point count.
Definition ControlPointList.cpp:124
ControlPointList(const FileName &psFileName)
Creates a ControlPointList from a list of control point ids'.
Definition ControlPointList.cpp:24
int ControlPointIndex(const QString &psCpId)
return a list index given a control point id
Definition ControlPointList.cpp:107
QString ControlPointId(int piIndex)
Return a control point id given an index.
Definition ControlPointList.cpp:88
virtual ~ControlPointList()
Destructor.
Definition ControlPointList.cpp:48
int Size() const
How many control points in the list.
Definition ControlPointList.cpp:76
File name manipulation and expansion.
Definition FileName.h:100
Container for cube-like labels.
Definition Pvl.h:119
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16