MCPcopy Create free account
hub / github.com/DOI-USGS/ISIS3 / GetNumValidMeasures

Method GetNumValidMeasures

isis/src/control/objs/ControlNet/ControlNet.cpp:1487–1495  ·  view source on GitHub ↗

* Return the number of valid (non-ignored) measures for all control points * in the network * * @return Number of valid measures * * @internal * @history 2011-03-17 Debbie A. Cook - Modified to not count ignored measures. */

Source from the content-addressed store, hash-verified

1485 * @history 2011-03-17 Debbie A. Cook - Modified to not count ignored measures.
1486 */
1487 int ControlNet::GetNumValidMeasures() {
1488 int numValidMeasures = 0;
1489 foreach(ControlPoint * p, *points) {
1490 if (!p->IsIgnored())
1491 numValidMeasures += p->GetNumValidMeasures();
1492 }
1493
1494 return numValidMeasures;
1495 }
1496
1497
1498 /**

Callers 15

mainFunction · 0.45
addPointMethod · 0.45
pointModifiedMethod · 0.45
deletePointMethod · 0.45
addMeasureToCountsMethod · 0.45
PointStatsMethod · 0.45
PointEditLockFilterMethod · 0.45
PointCubeNamesFilterMethod · 0.45
GeneratePointStatsMethod · 0.45
GetPointIntStatsMethod · 0.45

Calls 2

foreachFunction · 0.70
IsIgnoredMethod · 0.45

Tested by 7

mainFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36