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