1 #ifndef ControlMeasure_h 2 #define ControlMeasure_h 28 template<
class A>
class QVector;
29 template<
class A>
class QList;
37 class ControlMeasureLogData;
254 CubeSerialNumber = 8,
260 FocalPlaneMeasured = 512,
261 FocalPlaneComputed = 1024,
263 SampleResidual = 4096,
276 Status SetAprioriLine(
double aprioriLine);
277 Status SetAprioriSample(
double aprioriSample);
287 Status SetEditLock(
bool editLock);
290 Status SetIgnored(
bool newIgnoredStatus);
291 Status SetLineSigma(
double lineSigma);
293 Status
SetResidual(
double sampResidual,
double lineResidual);
294 Status SetSampleSigma(
double sampleSigma);
303 double GetAprioriLine()
const;
304 double GetAprioriSample()
const;
312 ControlMeasureLogData GetLogData(
long dataType)
const;
314 bool IsRejected()
const;
315 double GetFocalPlaneComputedX()
const;
316 double GetFocalPlaneComputedY()
const;
317 double GetFocalPlaneMeasuredX()
const;
318 double GetFocalPlaneMeasuredY()
const;
320 bool IsIgnored()
const;
321 bool IsMeasured()
const;
322 bool IsRegistered()
const;
323 bool IsStatisticallyRelevant(DataField field)
const;
324 double GetLine()
const;
325 double GetLineResidual()
const;
326 double GetLineSigma()
const;
330 double GetSample()
const;
331 double GetSampleResidual()
const;
332 double GetSampleSigma()
const;
334 QString GetPointId()
const;
336 double GetSampleShift()
const;
337 double GetLineShift()
const;
338 double GetPixelShift()
const;
354 void MeasureModified();
360 QString *p_serialNumber;
385 double p_computedEphemerisTime;
392 double p_focalPlaneMeasuredX;
393 double p_focalPlaneMeasuredY;
394 double p_focalPlaneComputedX;
395 double p_focalPlaneComputedY;
396 double p_measuredEphemerisTime;
Status SetType(MeasureType type)
Set how the coordinate was obtained.
double p_aprioriSample
The first identified location of the.
double p_lineResidual
Jigsaw information - Solution error - replaces p_lineError.
(e.g., autoseed, interest) AKA predicted, unmeasured, unverified
QList< QStringList > PrintableClassData() const
Data accessor method, provides access to string representations of all variable values and names...
bool p_jigsawRejected
Status of measure for last bundle adjust iteration.
Define a generic Y/X container.
bool operator!=(const Isis::ControlMeasure &pMeasure) const
Compare 2 Control Measures for inequality.
ModType
Control Measure Modification Types.
ControlPoint * parentPoint
Pointer to parent ControlPoint, may be null.
double p_sample
Current sample/line measurement.
double GetResidualMagnitude() const
Return Residual magnitude.
QString * p_chooserName
list the program used and the definition file or include the user name for qnet
Registered to whole pixel (e.g.,pointreg)
Registered to sub-pixel (e.g., pointreg)
double GetMeasureData(QString) const
One Getter to rule them all.
static QVector< QString > GetMeasureDataNames()
Returns a list of all valid options to pass to GetMeasureData.
Status SetRejected(bool rejected)
Set "jigsaw" rejected flag for a measure.
bool p_editLock
If true do not edit anything in measure.
double p_sampleSigma
Uncertainty/sigma in pixels of the measurement (current sample/line)
double p_lineSigma
Not sure how we determine this for automated or manual picking.
bool HasChooserName() const
Returns true if the choosername is not empty.
Status SetDiameter(double diameter)
Set the crater diameter at the coordinate.
QString GetMeasureTypeString() const
Obtain a string representation of the MeasureType.
const ControlMeasure & operator=(const ControlMeasure &other)
Assignment operator.
ControlMeasure()
Create a new control measure and initialize it to nulls and zeros.
bool HasLogData(long dataType) const
Test if we have a valid log data value of the specified type.
void UpdateLogData(ControlMeasureLogData)
This updates existing log data information associated with data's type.
double p_line
Jigsaw uses this measure.
Status SetResidual(double sampResidual, double lineResidual)
Set the BundleAdjust Residual of the coordinate.
Hand Measured (e.g., qnet)
Status SetCamera(Isis::Camera *camera)
Set pointer to camera associated with a measure.
Contains multiple PvlContainers.
void SetLogData(ControlMeasureLogData)
This adds or updates the log data information associated with data's type.
double p_aprioriLine
measure by autoseed. Pointreg/Interest always use this location to start it's search. Could be moved by interest program or user.
bool operator==(const Isis::ControlMeasure &pMeasure) const
Check for Control Measures equality.
QString GetChooserName() const
Return the chooser name.
bool HasDateTime() const
Returns true if the datetime is not empty.
MeasureType
Control network measurement types.
~ControlMeasure()
Free the memory allocated by a control.
double p_sampleResidual
Jigsaw information - Solution error - replaces p_sampleError.
Status SetFocalPlaneMeasured(double x, double y)
Set the focal plane x/y for the measured line/sample.
QString GetDateTime() const
Return the date/time the coordinate was last changed.
QVector< ControlMeasureLogData > GetLogDataEntries() const
Return all of the log data for the measure.
void InitializeToNull()
initialize pointers and other data to NULL
QVariant GetLogValue(long dataType) const
Get the value of the log data with the specified type as a variant.
Status SetChooserName()
Set chooser name to a user who last changed the coordinate.
Namespace for ISIS/Bullet specific routines.
bool IsEditLocked() const
Return value for p_editLock or implicit lock on reference measure.
Status SetCubeSerialNumber(QString newSerialNumber)
Set cube serial number.
Status SetCoordinate(double sample, double line)
Set the coordinate of the measurement.
void DeleteLogData(long dataType)
This deletes log data of the specified type.
Status SetDateTime()
Date Time - Creation Time.
double GetDiameter() const
Return the diameter of the crater in pixels (0 implies no crater)
Status SetFocalPlaneComputed(double x, double y)
Set the computed focal plane x/y for the apriori lat/lon.
QString GetCubeSerialNumber() const
Return the serial number of the cube containing the coordinate.
static MeasureType StringToMeasureType(QString str)
static QString MeasureTypeToString(MeasureType type)
Return the String Control Measure type.