Isis Developer Reference
LidarControlPoint.h
Go to the documentation of this file.
1#ifndef LidarControlPoint_h
2#define LidarControlPoint_h
3
27#include <algorithm>
28#include <functional>
29
30#include <QPointer>
31#include <QSharedPointer>
32
33#include "ControlMeasure.h"
34#include "ControlPoint.h"
35#include "Cube.h"
36#include "iTime.h"
37
38namespace Isis {
61
62 public:
63
65
67
71 ControlPoint::Status addSimultaneous(QString newSerial);
72
74
75 // Functor predicate for sorting LidarControlPoints
77 public std::function<bool(QSharedPointer<LidarControlPoint>, QSharedPointer<LidarControlPoint>)> {
78 bool operator() ( QSharedPointer<LidarControlPoint> lcp1,
79 QSharedPointer<LidarControlPoint> lcp2)
80 {
81 return (lcp1->GetId() < lcp2->GetId());
82 }
83 };
84
85 double range();
86 double sigmaRange();
87 iTime time();
89 bool isSimultaneous(QString serialNumber);
90
91 private:
92 double m_range;
93 double m_sigmaRange;
94 iTime m_time;
95 QStringList *m_snSimultaneous;
96
97 };
98
99 // typedefs
101 typedef QSharedPointer<LidarControlPoint> LidarControlPointQsp;
102}
103
104#endif
105
A single control point.
Definition ControlPoint.h:356
Status
This is a return status for many of the mutating (setter) method calls.
Definition ControlPoint.h:395
A lidar control ControlPoint.
Definition LidarControlPoint.h:60
LidarControlPoint()
Constructs a LidarControlPoint with the given time, range, and sigma range.
Definition LidarControlPoint.cpp:25
ControlPoint::Status ComputeResiduals()
TODO: clean up code and document why this is different from the ComputeResiduals method for a normal ...
Definition LidarControlPoint.cpp:169
double range()
Returns the range of the point.
Definition LidarControlPoint.cpp:105
~LidarControlPoint()
Destructor.
Definition LidarControlPoint.cpp:38
bool isSimultaneous(QString serialNumber)
Determines if input serial number is in list of simultaneous measure serial numbers.
Definition LidarControlPoint.cpp:147
iTime time()
Returns the time of the point.
Definition LidarControlPoint.cpp:115
ControlPoint::Status setTime(iTime time)
Set the time of the LidarControlPoint.
Definition LidarControlPoint.cpp:52
ControlPoint::Status addSimultaneous(QString newSerial)
Add a measure to the list of simultaneous images of a LidarControlPoint.
Definition LidarControlPoint.cpp:94
double sigmaRange()
Returns the sigma range of the point.
Definition LidarControlPoint.cpp:125
ControlPoint::Status setRange(double range)
Set the range of the LidarControlPoint.
Definition LidarControlPoint.cpp:66
ControlPoint::Status setSigmaRange(double sigmaRange)
Sets the sigma range.
Definition LidarControlPoint.cpp:80
QStringList snSimultaneous() const
Returns the list of serial numbers of simultaneous images of the Lidar point.
Definition LidarControlPoint.cpp:135
Parse and return pieces of a time string.
Definition iTime.h:65
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
QSharedPointer< LidarControlPoint > LidarControlPointQsp
Definition for a shared pointer to a LidarControlPoint.
Definition LidarControlPoint.h:101
bool operator()(QSharedPointer< LidarControlPoint > lcp1, QSharedPointer< LidarControlPoint > lcp2)
Definition LidarControlPoint.h:78