Isis Developer Reference
ControlNetFilter.h
Go to the documentation of this file.
1#ifndef _CONTROLNETFILTER_H_
2#define _CONTROLNETFILTER_H_
3
5#include <fstream>
6
13/* SPDX-License-Identifier: CC0-1.0 */
14
15namespace Isis {
16 class ControlNet;
17 class ControlPoint;
18 class ControlMeasure;
19
58 public:
60 ControlNetFilter(ControlNet *pCNet, QString &psSerialNumFile, Progress *pProgress = 0);
61
64
65 // Point Filters
67 void PointPixelShiftFilter(const PvlGroup &pvlGrp, bool pbLastFilter);
68
70 void PointEditLockFilter(const PvlGroup &pvlGrp, bool pbLastFilter);
71
73 void PointNumMeasuresEditLockFilter(const PvlGroup &pvlGrp, bool pbLastFilter);
74
76 void PointResMagnitudeFilter(const PvlGroup &pvlGrp, bool pbLastFilter);
77
79 void PointGoodnessOfFitFilter(const PvlGroup & pvlGrp, bool pbLastFilter);
80
82 void PointIDFilter(const PvlGroup &pvlGrp, bool pbLastFilter);
83
85 void PointMeasuresFilter(const PvlGroup &pvlGrp, bool pbLastFilter);
86
88 void PointPropertiesFilter(const PvlGroup &pvlGrp, bool pbLastFilter);
89
91 void PointLatLonFilter(const PvlGroup &pvlGrp, bool pbLastFilter);
92
94 void PointDistanceFilter(const PvlGroup &pvlGrp, bool pbLastFilter);
95
97 void PointMeasurePropertiesFilter(const PvlGroup &pvlGrp, bool pbLastFilter);
98
100 void PointCubeNamesFilter(const PvlGroup &pvlGrp, bool pbLastFilter);
101
103 void PointStatsHeader(void);
104
106 void PointStats(const ControlPoint &pcPoint);
107
108 // Cube Filters
110 void CubeNameExpressionFilter(const PvlGroup &pvlGrp, bool pbLastFilter);
111
113 void CubeNumPointsFilter(const PvlGroup &pvlGrp, bool pbLastFilter);
114
116 void CubeDistanceFilter(const PvlGroup &pvlGrp, bool pbLastFilter);
117
119 void CubeConvexHullFilter(const PvlGroup &pvlGrp, bool pbLastFilter);
120
122 void CubeStatsHeader(void);
123
125 void SetOutputFile(QString psPrintFile);
126
127 void PrintCubeFileSerialNum(const ControlMeasure &pcMeasure);
128
129 private:
130 std::ofstream mOstm;
131 SerialNumberList mSerialNumFilter;
132
133 void FilterOutPoint(int pindex);
134 void FilterOutMeasuresBySerialNum(QString serialNum);
135 };
136}
137#endif
a control measurement
Definition ControlMeasure.h:175
Filter Control Network.
Definition ControlNetFilter.h:57
~ControlNetFilter()
Destructor.
Definition ControlNetFilter.cpp:78
void CubeDistanceFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Cubes by Distance between points in a Cube.
Definition ControlNetFilter.cpp:1295
void PointGoodnessOfFitFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Points by GoodnessOfFit.
Definition ControlNetFilter.cpp:871
void PointLatLonFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Points by Lat Lon Range.
Definition ControlNetFilter.cpp:637
void SetOutputFile(QString psPrintFile)
Set the output print file.
Definition ControlNetFilter.cpp:66
void PointPropertiesFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Points by properties.
Definition ControlNetFilter.cpp:561
void PointPixelShiftFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Points by Pixel Shift.
Definition ControlNetFilter.cpp:182
ControlNetFilter(ControlNet *pCNet, QString &psSerialNumFile, Progress *pProgress=0)
Constructor.
Definition ControlNetFilter.cpp:53
void PointDistanceFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Points by distance between points.
Definition ControlNetFilter.cpp:728
void PointMeasurePropertiesFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Points by Measure properties.
Definition ControlNetFilter.cpp:945
void CubeNumPointsFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Cubes by number of points in the cube.
Definition ControlNetFilter.cpp:1241
void PointNumMeasuresEditLockFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Points by Measure Edit Lock number.
Definition ControlNetFilter.cpp:257
void CubeConvexHullFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Cubes by its ConvexHull Ratio.
Definition ControlNetFilter.cpp:1115
void CubeNameExpressionFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Cubes by Cube name expression.
Definition ControlNetFilter.cpp:1173
void PointCubeNamesFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Points by Cube names.
Definition ControlNetFilter.cpp:1027
void PointStatsHeader(void)
Standard Point stats Header.
Definition ControlNetFilter.cpp:133
void CubeStatsHeader(void)
Print the standard cube stats Header.
Definition ControlNetFilter.cpp:170
void PointMeasuresFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Points by Number of measures.
Definition ControlNetFilter.cpp:499
void PointStats(const ControlPoint &pcPoint)
Standard Point Stats.
Definition ControlNetFilter.cpp:144
void PrintCubeFileSerialNum(const ControlMeasure &pcMeasure)
Print Cube's File and Serial Number into the Output File.
Definition ControlNetFilter.cpp:160
void PointEditLockFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Points by Edit Lock.
Definition ControlNetFilter.cpp:319
void PointIDFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Points by Point ID Expression.
Definition ControlNetFilter.cpp:445
void PointResMagnitudeFilter(const PvlGroup &pvlGrp, bool pbLastFilter)
Filter Points by Residual Magnitude.
Definition ControlNetFilter.cpp:366
a control network
Definition ControlNet.h:258
Control Network Stats.
Definition ControlNetStatistics.h:63
A single control point.
Definition ControlPoint.h:356
Program progress reporter.
Definition Progress.h:42
Contains multiple PvlContainers.
Definition PvlGroup.h:41
Serial Number list generator.
Definition SerialNumberList.h:64
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16