|
Isis 3.0 Application Source Code Reference |
Home |
Go to the source code of this file.
Defines | |
| #define | GUIHELPERS |
Functions | |
| bool | shouldDelete (ControlPoint *point) |
| After any modification to a point's measures or ignored status, this check should be performed to determine if the changes should result in the point's deletion. | |
| void | ignorePoint (ControlNet &cnet, ControlPoint *point, string cause) |
| Set the point at the given index in the control network to ignored, and add a new keyword to the list of ignored points with a cause for the ignoring, if the user wished to keep a log. | |
| void | ignoreMeasure (ControlNet &cnet, ControlPoint *point, ControlMeasure *measure, string cause) |
| Set the measure to be ignored, and add a new keyword to the list of ignored measures if the user wished to keep a log. | |
| void | deletePoint (ControlNet &cnet, int cp) |
| Delete the point, record how many points and measures have been deleted. | |
| void | deleteMeasure (ControlPoint *point, int cm) |
| Delete the measure, increment the count of measures deleted. | |
| void | populateLog (ControlNet &cnet) |
| Seed the log with points and measures already ignored. | |
| void | processControlPoints (string fileName, ControlNet &cnet) |
| Iterates over the points in the Control Network looking for a match in the list of Control Points to be ignored. | |
| void | processControlMeasures (string fileName, ControlNet &cnet) |
| Iterates over the list of Control Measures in the Control Network and compares measure serial numbers with those in the input list of serial numbers to be ignored. | |
| void | checkAllMeasureValidity (ControlNet &cnet, string cubeList) |
| Compare each measure in the Control Network against tolerances specified in the input DEFFILE. | |
| MeasureValidationResults | validateMeasure (const ControlMeasure *measure, Cube *cube, Camera *camera) |
| Test an individual measure against the user-specified tolerances and return the result. | |
| void | logResult (QMap< string, string > *pointsLog, string pointId, string cause) |
| void | logResult (QMap< string, PvlGroup > *measuresLog, string pointId, string serial, string cause) |
| PvlObject | createLog (string label, QMap< string, string > *pointsMap) |
| PvlObject | createLog (string label, QMap< string, string > *pointsMap, QMap< string, PvlGroup > *measuresMap) |
| void | PrintTemp () |
| Helper function to print out template to session log. | |
| void | EditDefFile (void) |
| Helper function to be able to edit the Deffile. | |
| map< string, void * > | GuiHelpers () |
| void | IsisMain () |
Variables | |
| int | numPointsDeleted |
| int | numMeasuresDeleted |
| bool | deleteIgnored |
| bool | preservePoints |
| bool | retainRef |
| bool | keepLog |
| QMap< string, string > * | ignoredPoints |
| QMap< string, PvlGroup > * | ignoredMeasures |
| QMap< string, string > * | retainedReferences |
| QMap< string, string > * | editLockedPoints |
| QMap< string, PvlGroup > * | editLockedMeasures |
| ControlNetValidMeasure * | validator |
| #define GUIHELPERS |
Definition at line 1 of file cnetedit.cpp.
| bool shouldDelete | ( | ControlPoint * | point | ) |
After any modification to a point's measures or ignored status, this check should be performed to determine if the changes should result in the point's deletion.
| point | The Control Point recently modified |
Definition at line 263 of file cnetedit.cpp.
| void ignorePoint | ( | ControlNet & | cnet, | |
| ControlPoint * | point, | |||
| string | cause | |||
| ) |
Set the point at the given index in the control network to ignored, and add a new keyword to the list of ignored points with a cause for the ignoring, if the user wished to keep a log.
| cnet | The Control Network being modified | |
| point | The Control Point we wish to ignore | |
| cause | A prose description of why the point was ignored (for logging) |
Definition at line 295 of file cnetedit.cpp.
| void ignoreMeasure | ( | ControlNet & | cnet, | |
| ControlPoint * | point, | |||
| ControlMeasure * | measure, | |||
| string | cause | |||
| ) |
Set the measure to be ignored, and add a new keyword to the list of ignored measures if the user wished to keep a log.
| cnet | The Control Network being modified | |
| point | The Control Point of the Control Measure we wish to ignore | |
| measure | The Control Measure we wish to ignore | |
| cause | A prose description of why the measure was ignored (for logging) |
Definition at line 313 of file cnetedit.cpp.
| void deletePoint | ( | ControlNet & | cnet, | |
| int | cp | |||
| ) |
Delete the point, record how many points and measures have been deleted.
| cnet | The Control Network being modified | |
| cp | Index into the Control Network for the point we wish to delete |
Definition at line 330 of file cnetedit.cpp.
| void deleteMeasure | ( | ControlPoint * | point, | |
| int | cm | |||
| ) |
Delete the measure, increment the count of measures deleted.
| cnet | The Control Network being modified | |
| point | The Control Point of the Control Measure we wish to delete | |
| cm | Index into the Control Network for the measure we wish to delete |
Definition at line 373 of file cnetedit.cpp.
| void populateLog | ( | ControlNet & | cnet | ) |
Seed the log with points and measures already ignored.
| cnet | The Control Network being modified |
Definition at line 383 of file cnetedit.cpp.
| void processControlPoints | ( | string | fileName, | |
| ControlNet & | cnet | |||
| ) |
Iterates over the points in the Control Network looking for a match in the list of Control Points to be ignored.
If a match is found, ignore the point, and if the DELETE option was selected, the point will then be deleted from the network.
| fileName | Name of the file containing the list of Control Points | |
| cnet | The Control Network being modified |
Definition at line 433 of file cnetedit.cpp.
| void processControlMeasures | ( | string | fileName, | |
| ControlNet & | cnet | |||
| ) |
Iterates over the list of Control Measures in the Control Network and compares measure serial numbers with those in the input list of serial numbers to be ignored.
If a match is found, ignore the measure. If the DELETE option was selected, the measure will then be deleted from the network.
| fileName | Name of the file containing the list of Serial Numbers to be ignored | |
| cnet | The Control Network being modified |
Definition at line 485 of file cnetedit.cpp.
| void checkAllMeasureValidity | ( | ControlNet & | cnet, | |
| string | cubeList | |||
| ) |
Compare each measure in the Control Network against tolerances specified in the input DEFFILE.
Ignore any measure whose values fall outside the valid tolerances, and delete it if the user specified to do so.
| cnet | The Control Network being modified | |
| cubeList | Name of the file containing the list of all Serial Numbers in the network |
Definition at line 547 of file cnetedit.cpp.
| MeasureValidationResults validateMeasure | ( | const ControlMeasure * | measure, | |
| Cube * | cube, | |||
| Camera * | camera | |||
| ) |
Test an individual measure against the user-specified tolerances and return the result.
| curMeasure | The measure currently being tested | |
| cubeName | Name of the cube whose serial number matches that of the current measure |
Definition at line 646 of file cnetedit.cpp.
| void logResult | ( | QMap< string, string > * | pointsLog, | |
| string | pointId, | |||
| string | cause | |||
| ) |
Definition at line 656 of file cnetedit.cpp.
| void logResult | ( | QMap< string, PvlGroup > * | measuresLog, | |
| string | pointId, | |||
| string | serial, | |||
| string | cause | |||
| ) |
Definition at line 664 of file cnetedit.cpp.
| PvlObject createLog | ( | string | label, | |
| QMap< string, string > * | pointsMap | |||
| ) |
Definition at line 690 of file cnetedit.cpp.
| PvlObject createLog | ( | string | label, | |
| QMap< string, string > * | pointsMap, | |||
| QMap< string, PvlGroup > * | measuresMap | |||
| ) |
Definition at line 703 of file cnetedit.cpp.
| void PrintTemp | ( | ) |
| void EditDefFile | ( | void | ) |
Helper function to be able to edit the Deffile.
Opens an editor to edit the file.
Definition at line 743 of file cnetedit.cpp.
| map<string, void *> GuiHelpers | ( | ) |
Definition at line 62 of file cnetedit.cpp.
| void IsisMain | ( | ) |
Definition at line 88 of file cnetedit.cpp.
| int numPointsDeleted |
Definition at line 70 of file cnetedit.cpp.
Definition at line 71 of file cnetedit.cpp.
| bool deleteIgnored |
Definition at line 73 of file cnetedit.cpp.
| bool preservePoints |
Definition at line 74 of file cnetedit.cpp.
| bool retainRef |
Definition at line 75 of file cnetedit.cpp.
| bool keepLog |
Definition at line 76 of file cnetedit.cpp.
| QMap<string, string>* ignoredPoints |
Definition at line 78 of file cnetedit.cpp.
| QMap<string, PvlGroup>* ignoredMeasures |
Definition at line 79 of file cnetedit.cpp.
| QMap<string, string>* retainedReferences |
Definition at line 80 of file cnetedit.cpp.
| QMap<string, string>* editLockedPoints |
Definition at line 81 of file cnetedit.cpp.
| QMap<string, PvlGroup>* editLockedMeasures |
Definition at line 82 of file cnetedit.cpp.
Definition at line 84 of file cnetedit.cpp.