An official website of the United States government
Here’s how you know
Official websites use .gov
A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS
A
lock
( ) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
Isis 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. | |
ControlPointV0003 (QSharedPointer< ControlPointFileEntryV0002 > pointData) | |
Create a ControlPointV0003 object from a protobuf version 2 control point message. | |
ControlPointV0003 (ControlPointV0002 &oldPoint) | |
Create a ControlPointV0003 object from a ControlPointV0002 object. | |
const ControlPointFileEntryV0002 & | pointData () |
Access the protobuf control point data. | |
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_, ControlPointV0003(), 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::IException::Programmer, Isis::toDouble(), and Isis::IException::User.
Referenced by ControlPointV0003(), ControlPointV0003(), and ControlPointV0003().
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. |
References ControlPointV0003(), and pointData().
Isis::ControlPointV0003::ControlPointV0003 | ( | ControlPointV0002 & | oldPoint | ) |
Create a ControlPointV0003 object from a ControlPointV0002 object.
oldPoint | The PvlControlPointV0002 that will be upgraded to V0003. |
References _FILEINFO_, ControlPointV0003(), Isis::ControlPointV0002::logData(), Isis::ControlPointV0002::pointData(), 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.
References pointData().
Referenced by ControlPointV0003(), and pointData().