Isis 3 Developer Reference
|
A container for the information stored in a version 3 and 4 ControlPoint. More...
#include <ControlPointV0003.h>
Public Member Functions | |
ControlPointV0003 (PvlObject &pointObject) | |
Create a ControlPointV0003 object from a version 3 or 4 control point Pvl object. More... | |
ControlPointV0003 (QSharedPointer< ControlPointFileEntryV0002 > pointData) | |
Create a ControlPointV0003 object from a protobuf version 2 control point message. More... | |
ControlPointV0003 (ControlPointV0002 &oldPoint) | |
Create a ControlPointV0003 object from a ControlPointV0002 object. More... | |
const ControlPointFileEntryV0002 & | pointData () |
Access the protobuf control point data. More... | |
A container for the information stored in a version 3 and 4 ControlPoint.
A wrapper around the version 3 and 4 protobuf serialization of a ControlPoint. It allows for reading ControlPoints serialized as both PvlObjects and protobuf messages. It also allows for upgrading version 2 ControlPoints to version 3 and 4 ControlPoints.
The version 3 and 4 binary serialization of ControlPoint use the same protobuf message, so this class works with both versions. The difference between the version 3 and 4 Pvl serializations is Ground and Tie points were renamed to Fixed and Free respectively. This is sufficiently minor that it is handled in the pvl constructor.
In the Pvl format, control points are represented by objects contained in the ControlNetwork object. Control measures are represented by groups contained in the control point objects.
Valid Control Point Keywords
Valid Control Measure Keywords
Isis::ControlPointV0003::ControlPointV0003 | ( | PvlObject & | pointObject | ) |
Create a ControlPointV0003 object from a version 3 or 4 control point Pvl object.
pointObject | The control point and its measures in a Pvl object |
References _FILEINFO_, Isis::PvlContainer::deleteKeyword(), Isis::ControlMeasureLogData::GetDataType(), Isis::ControlMeasureLogData::GetNumericalValue(), Isis::PvlObject::group(), Isis::PvlObject::groups(), Isis::PvlContainer::hasKeyword(), Isis::PvlObject::hasKeyword(), Isis::IException::Io, Isis::ControlMeasureLogData::IsValid(), Isis::PvlContainer::keywords(), Isis::PvlContainer::name(), Isis::None, Isis::IException::Programmer, Isis::toDouble(), and Isis::IException::User.
Isis::ControlPointV0003::ControlPointV0003 | ( | QSharedPointer< ControlPointFileEntryV0002 > | pointData | ) |
Create a ControlPointV0003 object from a protobuf version 2 control point message.
pointData | The protobuf message from a control net file. |
Isis::ControlPointV0003::ControlPointV0003 | ( | ControlPointV0002 & | oldPoint | ) |
Create a ControlPointV0003 object from a ControlPointV0002 object.
oldPoint | The PvlControlPointV0002 that will be upgraded to V0003. |
References _FILEINFO_, Isis::ControlPointV0002::logData(), Isis::None, Isis::ControlPointV0002::pointData(), Isis::toString(), and Isis::IException::User.
const ControlPointFileEntryV0002 & Isis::ControlPointV0003::pointData | ( | ) |
Access the protobuf control point data.
If there is not internal point data then default point data is returned. Note that default point data may be missing required fields.