Isis Developer 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'. | |
virtual | ~ControlPointList () |
Destructor. | |
QString | ControlPointId (int piIndex) |
Return a control point id given an index. | |
int | ControlPointIndex (const QString &psCpId) |
return a list index given a control point id | |
bool | HasControlPoint (const QString &psCpId) |
Determines whether or not the requested control point id exists in the list. | |
int | Size () const |
How many control points in the list. | |
void | RegisterStatistics (Pvl &pcPvlLog) |
Register invalid control point and calculate the valid & invalid point count. | |
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' |
References _FILEINFO_, Isis::toString(), and Isis::IException::User.
|
virtual |
Destructor.
QString Isis::ControlPointList::ControlPointId | ( | int | piIndex | ) |
Return a control point id given an index.
piIndex | The index of the desired control point id |
References _FILEINFO_, 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 |
References _FILEINFO_, 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 |
References 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 |
References Size(), and Isis::toString().
int Isis::ControlPointList::Size | ( | ) | const |
How many control points in the list.
Referenced by ControlPointId(), HasControlPoint(), and RegisterStatistics().