![]() |
Isis 3 Programmer Reference
|
Control Point List generator. More...
#include <ControlPointList.h>
Public Member Functions | |
ControlPointList (const FileName &psFileName) | |
Creates a ControlPointList from a list of control point ids'. More... | |
virtual | ~ControlPointList () |
Destructor. More... | |
QString | ControlPointId (int piIndex) |
Return a control point id given an index. More... | |
int | ControlPointIndex (const QString &psCpId) |
return a list index given a control point id More... | |
bool | HasControlPoint (const QString &psCpId) |
Determines whether or not the requested control point id exists in the list. More... | |
int | Size () const |
How many control points in the list. More... | |
void | RegisterStatistics (Pvl &pcPvlLog) |
Register invalid control point and calculate the valid & invalid point count. More... | |
Private Attributes | |
QStringList | mqCpList |
QVector< bool > | mbFound |
holds one to one correspondence with "mqCpList" on whether the point was valid More... | |
Control Point List generator.
Create a list of Control Points from a file with control points ids
Definition at line 38 of file ControlPointList.h.
Isis::ControlPointList::ControlPointList | ( | const FileName & | psListFile | ) |
Creates a ControlPointList from a list of control point ids'.
psListFile | The file withe list of control point ids' |
Definition at line 24 of file ControlPointList.cpp.
References Isis::FileName::expanded(), mbFound, Isis::toString(), and Isis::IException::User.
|
virtual |
Destructor.
Definition at line 48 of file ControlPointList.cpp.
QString Isis::ControlPointList::ControlPointId | ( | int | piIndex | ) |
Return a control point id given an index.
piIndex | The index of the desired control point id |
Definition at line 88 of file ControlPointList.cpp.
References Isis::IException::Programmer, Size(), and Isis::toString().
int Isis::ControlPointList::ControlPointIndex | ( | const QString & | psCpId | ) |
return a list index given a control point id
ps_cpId | The control point id to be searched for |
Definition at line 107 of file ControlPointList.cpp.
References HasControlPoint(), and Isis::IException::Programmer.
bool Isis::ControlPointList::HasControlPoint | ( | const QString & | psCpId | ) |
Determines whether or not the requested control point id exists in the list.
psCpId | The control point id to be checked for |
Definition at line 60 of file ControlPointList.cpp.
References mbFound, and Size().
Referenced by ControlPointIndex().
void Isis::ControlPointList::RegisterStatistics | ( | Pvl & | pcPvlLog | ) |
Register invalid control point and calculate the valid & invalid point count.
Pvl | Will contain stats in pvl keywords |
Definition at line 124 of file ControlPointList.cpp.
References mbFound, Size(), and Isis::toString().
int Isis::ControlPointList::Size | ( | ) | const |
How many control points in the list.
Definition at line 76 of file ControlPointList.cpp.
Referenced by ControlPointId(), HasControlPoint(), and RegisterStatistics().
|
private |
holds one to one correspondence with "mqCpList" on whether the point was valid
Definition at line 57 of file ControlPointList.h.
Referenced by ControlPointList(), HasControlPoint(), and RegisterStatistics().
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 USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 07/13/2023 15:18:37 |