Isis Developer Reference
ControlPointV0001.h
Go to the documentation of this file.
1 #ifndef ControlPointV0001_h
2 #define ControlPointV0001_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12  #include <QSharedPointer>
13 
14  #include "ControlNetFileProtoV0001.pb.h"
15  #include "ControlNetLogDataProtoV0001.pb.h"
16 
17 namespace Isis {
18  class PvlObject;
19  class PvlContainer;
20 
63  public:
64  ControlPointV0001(PvlObject &pointObject, const QString targetName);
67 
70 
71  private:
89  ControlPointV0001 &operator=(const ControlPointV0001 &other);
90 
91  // methods for converting from Pvl to protobuf
92  void copy(PvlContainer &container,
93  QString keyName,
95  void (ControlNetFileProtoV0001_PBControlPoint::*setter)(bool));
96  void copy(PvlContainer &container,
97  QString keyName,
99  void (ControlNetFileProtoV0001_PBControlPoint::*setter)(double));
100  void copy(PvlContainer &container,
101  QString keyName,
103  void (ControlNetFileProtoV0001_PBControlPoint::*setter)(const std::string&));
104  void copy(PvlContainer &container,
105  QString keyName,
106  ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure &measure,
107  void (ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure::*setter)(bool));
108  void copy(PvlContainer &container,
109  QString keyName,
110  ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure &measure,
111  void (ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure::*setter)(double));
112  void copy(PvlContainer &container,
113  QString keyName,
114  ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure &measure,
115  void (ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure::*setter)(
116  const std::string &));
117 
122  };
123 }
124 
125 #endif
Isis::Angle::Degrees
@ Degrees
Degrees are generally considered more human readable, 0-360 is one circle, however most math does not...
Definition: Angle.h:56
Isis::ControlPointV0001::logData
QSharedPointer< ControlNetLogDataProtoV0001_Point > logData()
Access the protobuf log data for the control measures in the point.
Definition: ControlPointV0001.cpp:575
Isis::PvlKeyword::name
QString name() const
Returns the keyword name.
Definition: PvlKeyword.h:98
Isis::SurfacePoint::SetRectangular
void SetRectangular(const Displacement &x, const Displacement &y, const Displacement &z, const Distance &xSigma=Distance(), const Distance &ySigma=Distance(), const Distance &zSigma=Distance())
Set surface point in rectangular body-fixed coordinates wtih optional sigmas.
Definition: SurfacePoint.cpp:283
Isis::PvlObject::group
PvlGroup & group(const int index)
Return the group at the specified index.
Definition: PvlObject.cpp:452
Isis::IException::Io
@ Io
A type of error that occurred when performing an actual I/O operation.
Definition: IException.h:155
Isis::SurfacePoint::GetX
Displacement GetX() const
Definition: SurfacePoint.cpp:1436
Isis::PvlObject
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:61
Isis::Displacement::Meters
@ Meters
The distance is being specified in meters.
Definition: Displacement.h:40
Isis::PvlKeyword
A single keyword-value pair.
Definition: PvlKeyword.h:82
Isis::Latitude
This class is designed to encapsulate the concept of a Latitude.
Definition: Latitude.h:51
Isis::ControlPointV0001::pointData
QSharedPointer< ControlNetFileProtoV0001_PBControlPoint > pointData()
Access the protobuf control point data.
Definition: ControlPointV0001.cpp:564
SpecialPixel.h
Isis::PvlObject::groups
int groups() const
Returns the number of groups contained.
Definition: PvlObject.h:75
Target.h
Longitude.h
NaifStatus.h
Isis::PvlContainer::hasKeyword
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
Isis::SurfacePoint::GetZ
Displacement GetZ() const
Definition: SurfacePoint.cpp:1450
QSharedPointer< ControlNetFileProtoV0001_PBControlPoint >
Isis::SurfacePoint::GetRectangularMatrix
boost::numeric::ublas::symmetric_matrix< double, boost::numeric::ublas::upper > GetRectangularMatrix(SurfacePoint::CoordUnits units=SurfacePoint::Meters) const
Definition: SurfacePoint.cpp:1603
Isis::Distance
Distance measurement, usually in meters.
Definition: Distance.h:34
Isis::Longitude
This class is designed to encapsulate the concept of a Longitude.
Definition: Longitude.h:40
Isis::Displacement
Displacement is a signed length, usually in meters.
Definition: Displacement.h:31
Isis::Distance::Meters
@ Meters
The distance is being specified in meters.
Definition: Distance.h:43
Latitude.h
Isis::Displacement::meters
double meters() const
Get the displacement in meters.
Definition: Displacement.cpp:73
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Pvl.h
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
SurfacePoint.h
Isis::PvlObject::hasKeyword
bool hasKeyword(const QString &kname, FindOptions opts) const
See if a keyword is in the current PvlObject, or deeper inside other PvlObjects and Pvlgroups within ...
Definition: PvlObject.cpp:236
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::Null
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:95
PvlContainer.h
Isis::PvlContainer::deleteKeyword
void deleteKeyword(const QString &name)
Remove a specified keyword.
Definition: PvlContainer.cpp:97
IException.h
Isis::toDouble
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
std
Namespace for the standard library.
Isis::PvlContainer::keywords
int keywords() const
Returns the number of keywords contained in the PvlContainer.
Definition: PvlContainer.h:86
Distance.h
ControlPointV0001.h
Isis::SurfacePoint::SetSphericalSigmasDistance
void SetSphericalSigmasDistance(const Distance &latSigma, const Distance &lonSigma, const Distance &radiusSigma)
Set the spherical sigmas (in Distance units) into the spherical variance/covariance matrix.
Definition: SurfacePoint.cpp:617
Isis::PvlContainer
Contains more than one keyword-value pair.
Definition: PvlContainer.h:49
ControlMeasureLogData.h
Isis::ControlPointV0001
A container for the information stored in a version 1 ControlPoint.
Definition: ControlPointV0001.h:62
Isis::SurfacePoint
This class defines a body-fixed surface point.
Definition: SurfacePoint.h:132
Isis::SurfacePoint::GetY
Displacement GetY() const
Definition: SurfacePoint.cpp:1443
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::IException::User
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126
Isis::None
@ None
Definition: PixelType.h:28