1#ifndef _ControlNetValidMeasure_h_
2#define _ControlNetValidMeasure_h_
12#include "CubeManager.h"
17#include "SerialNumberList.h"
31 class MeasureValidationResults;
202 bool IsCubeRequired() {
ControlNetValidMeasure class.
double GetPixelsFromEdge(void)
Get the option PixelsFromEdge.
double GetMetersFromEdge(void)
Get the option MetersFromEdge.
double mdMaxResolution
Standard Option MaxResolution.
double m_lineShift
Store current Measure's Line Shift.
double GetMinDN(void)
Get the option MinDN.
void Parse(Pvl &pvlDef)
Parse the DefFile for Standard Options.
PvlGroup & GetStatistics(void)
Get the Statistics Pvl Grp.
bool mbCameraRequired
To improve speed, flag to indicate if Camera needs to be opened.
bool ValidResidualTolerances(double pdSampleResidual, double pdLineResidual, double pdResidualMagnitude, MeasureValidationResults &pResults)
Validate whether the Residuals are within the set Tolerance.
void ValidatePvlDN(void)
Validate PVL Min & Max DN Standard Options.
double m_sampleShift
Store current Measure's Sample Shift.
double mdSampleResTolerance
Standard Option Sample Residual.
double mdMinIncidenceAngle
Standard Option MinIncidenceAngle.
double GetMaxIncidenceAngle(void)
Get the option MaxIncidenceAngle.
virtual Pvl & GetLogPvl(void)
Get the Pvl Log file.
double GetMaxEmissionAngle(void)
Get the option MaxEmissionAngle.
bool PixelsFromEdge(int piSample, int piLine, Cube *pCube)
Test for a point to be user defined number of pixels from the edge.
double m_pixelShift
Store current Measure's Pixel Shift.
double mdMetersFromEdge
Standard Option MeteresFromEdge.
MeasureValidationResults ValidStandardOptions(const ControlMeasure *pMeasure, Cube *pCube, PvlGroup *pMeasureGrp=NULL)
Validate Standard options to pick a reference based on a particular criteria.
double m_sampleShiftTolerance
Standard Option Sample Shift.
double mdResidualMagnitude
Store current Measure's Residual Magnitude.
bool MetersFromEdge(int piSample, int piLine, Cube *pCube)
Test for a point to be user defined number of meters from the edge.
ControlNetValidMeasure(Pvl *pvl=0)
Constructor - Initializes the data members and parses the input Pvl .
bool ValidShiftTolerances(double sampleShift, double lineShift, double pixelShift, MeasureValidationResults &results)
Validate whether the Sample and Line Shifts and Pixel Shift are within the set Tolerances.
PvlGroup mStdOptionsGrp
Pvl Standard Options Group.
bool ValidResolution(double pdResolution)
Validate whether the Resolution is in the set Range.
double GetMinIncidenceAngle(void)
Get the option MinIncidenceAngle.
void ValidatePvlResolution(void)
Validate PVL Min & Max Resolution Standard Options.
void ValidatePvlEmissionAngle(void)
Validate PVL Min & Max EmissionAngle Standard Options.
double mdLineResTolerance
Standard Option Line Residual.
double mdMinDN
Standard Option MinDN.
double mdSampleResidual
Store current Measure's Sample Residual.
double mdLineResidual
Store current Measure's Line Residual.
double mdMaxDN
Standard Option MaxDN.
bool ValidIncidenceAngle(double pdIncidenceAngle)
Validate whether the Incidence Angle is in the set Range.
double mdMinEmissionAngle
Standard Option MinEmissionAngle.
virtual void FindCnetRef(ControlNet &pNewNet)
Virtual Function to get better references for a Control Network based on Criteria.
CubeManager mCubeMgr
CubeManager to open and read cubes.
PvlGroup mStatisticsGrp
Pvl output Statistics Group.
double mdEmissionAngle
Store current Measure's Emission Angle.
double mdDnValue
Store current Measure's DN Value.
double mdMaxIncidenceAngle
Standard Option MaxIncidenceAngle.
QString LocationString(double pdSample, double pdLine) const
API to display location in the form "Sample,Line".
void ValidatePvlResidualTolerances(void)
Validate Pvl Sample, Line, Residual Magnitude Tolerances.
bool mbValidateFromEdge
Check if Pixels/Meters from edge needs to be Validated.
SerialNumberList mSerialNumbers
Serial numbers list.
double m_pixelShiftTolerance
Standard Option Pixel Shift.
void InitStdOptionsGroup(void)
Initialize the Standard Options Pvl Group with no DefFile.
bool ValidEmissionAngle(double pdEmissionAngle)
Validate whether the Emission Angle is in the set Range.
void ValidatePvlShiftTolerances()
Validate Pvl Sample, Line, Pixel (Sample and Line) Magnitude Shift Tolerances.
double mdResidualTolerance
Standard Option Residual Magnitude.
Pvl mPvlLog
Pvl Log of all the processing.
int miPixelsFromEdge
Standard Option PixelsFromEdge.
double m_lineShiftTolerance
Standard Option Line Shift.
double mdMinResolution
Standard Option MinResolution.
double GetMinEmissionAngle(void)
Get the option MinEmissionAngle.
PvlGroup & GetStdOptions(void)
Get the Standard Options Pvl Group.
Progress mStatus
Monitor the status of the app.
bool mbValidateDN
Check if DN needs to be Validated.
bool IsCameraRequired()
API to get status of CameraRequired flag.
bool ValidDnValue(double pdDnValue)
Validate whether the DN Value is in the set Range.
double GetMaxDN(void)
Get the option MaxDN.
void SetCameraRequiredFlag(bool pbFlag)
Set the CameraRequired Flag.
virtual ~ControlNetValidMeasure()
Destructor: clean up stuff relevant for this class.
double mdResolution
Store current Measure's Resolution.
PvlGroup mPvlOpGrp
Pvl Operator Group.
void InitStdOptions(void)
Initialize the Standard Options.
void ReadSerialNumbers(QString psSerialNumfile)
Read the Serial Numbers from the file and open assocaited cubes.
bool ValidLatLon(Isis::Camera *pCamera, int piSample, int piLine)
Validate the Lat/Lon.
double mdIncidenceAngle
Store current Measure's Incidence Angle.
void ValidatePvlIncidenceAngle(void)
Validate PVL Min & Max IncidenceAngle Standard Options.
void ValidatePvlFromEdge(void)
Validate and read Pixels and Meters from Edge Standard Options.
double mdMaxEmissionAngle
Standard Option MaxEmissionAngle.
IO Handler for Isis Cubes.
Class for quick re-accessing of cubes based on file name.
MeasureValidationResults class.
Program progress reporter.
Contains multiple PvlContainers.
Container for cube-like labels.
Serial Number list generator.
This is free and unencumbered software released into the public domain.
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.