Loading isis/src/control/objs/ControlNetVitals/ControlNetVitals.cpp +10 −3 Original line number Diff line number Diff line Loading @@ -56,8 +56,10 @@ namespace Isis { m_islandList = m_controlNet->GetSerialConnections(); m_numPoints = 0; m_numPointsIgnored = 0; m_numPointsLocked = 0; m_numMeasures = m_controlNet->GetNumMeasures(); m_pointMeasureCounts.clear(); m_imageMeasureCounts.clear(); Loading Loading @@ -117,7 +119,9 @@ namespace Isis { * @param point The ControlPoint being added to the network. */ void ControlNetVitals::addPoint(ControlPoint *point) { emitHistoryEntry("Control Point Added", point->GetId(), "", ""); m_numPoints++; if (point->IsIgnored()) { m_numPointsIgnored++; Loading Loading @@ -271,6 +275,7 @@ namespace Isis { void ControlNetVitals::deletePoint(ControlPoint *point) { emitHistoryEntry("Control Point Deleted", point->GetId(), "", ""); m_numPoints--; if (point->IsIgnored()) { m_numPointsIgnored--; Loading Loading @@ -305,6 +310,8 @@ namespace Isis { */ void ControlNetVitals::addMeasure(ControlMeasure *measure) { emitHistoryEntry("Control Measure Added", measure->GetCubeSerialNumber(), "", ""); m_numMeasures++; ControlPoint *point = measure->Parent(); if (point) { Loading Loading @@ -390,7 +397,7 @@ namespace Isis { void ControlNetVitals::deleteMeasure(ControlMeasure *measure) { emitHistoryEntry("Control Measure Deleted", measure->GetCubeSerialNumber(), "", ""); m_numMeasures--; ControlPoint *point = measure->Parent(); if (point) { Loading Loading @@ -505,7 +512,7 @@ namespace Isis { * @return The number of points in the Control Network. */ int ControlNetVitals::numPoints() { return m_controlNet->GetNumPoints(); return m_numPoints; } Loading Loading @@ -599,7 +606,7 @@ namespace Isis { * @return The number of measures in the Control Network. */ int ControlNetVitals::numMeasures() { return m_controlNet->GetNumMeasures(); return m_numMeasures; } Loading isis/src/control/objs/ControlNetVitals/ControlNetVitals.h +3 −1 Original line number Diff line number Diff line Loading @@ -142,8 +142,10 @@ namespace Isis { // This map at key ControlPoint::Fixed and it would return how many fixed points there are. QMap<ControlPoint::PointType, int> m_pointTypeCounts; int m_numPoints; int m_numPointsIgnored; int m_numPointsLocked; int m_numMeasures; }; }; Loading Loading
isis/src/control/objs/ControlNetVitals/ControlNetVitals.cpp +10 −3 Original line number Diff line number Diff line Loading @@ -56,8 +56,10 @@ namespace Isis { m_islandList = m_controlNet->GetSerialConnections(); m_numPoints = 0; m_numPointsIgnored = 0; m_numPointsLocked = 0; m_numMeasures = m_controlNet->GetNumMeasures(); m_pointMeasureCounts.clear(); m_imageMeasureCounts.clear(); Loading Loading @@ -117,7 +119,9 @@ namespace Isis { * @param point The ControlPoint being added to the network. */ void ControlNetVitals::addPoint(ControlPoint *point) { emitHistoryEntry("Control Point Added", point->GetId(), "", ""); m_numPoints++; if (point->IsIgnored()) { m_numPointsIgnored++; Loading Loading @@ -271,6 +275,7 @@ namespace Isis { void ControlNetVitals::deletePoint(ControlPoint *point) { emitHistoryEntry("Control Point Deleted", point->GetId(), "", ""); m_numPoints--; if (point->IsIgnored()) { m_numPointsIgnored--; Loading Loading @@ -305,6 +310,8 @@ namespace Isis { */ void ControlNetVitals::addMeasure(ControlMeasure *measure) { emitHistoryEntry("Control Measure Added", measure->GetCubeSerialNumber(), "", ""); m_numMeasures++; ControlPoint *point = measure->Parent(); if (point) { Loading Loading @@ -390,7 +397,7 @@ namespace Isis { void ControlNetVitals::deleteMeasure(ControlMeasure *measure) { emitHistoryEntry("Control Measure Deleted", measure->GetCubeSerialNumber(), "", ""); m_numMeasures--; ControlPoint *point = measure->Parent(); if (point) { Loading Loading @@ -505,7 +512,7 @@ namespace Isis { * @return The number of points in the Control Network. */ int ControlNetVitals::numPoints() { return m_controlNet->GetNumPoints(); return m_numPoints; } Loading Loading @@ -599,7 +606,7 @@ namespace Isis { * @return The number of measures in the Control Network. */ int ControlNetVitals::numMeasures() { return m_controlNet->GetNumMeasures(); return m_numMeasures; } Loading
isis/src/control/objs/ControlNetVitals/ControlNetVitals.h +3 −1 Original line number Diff line number Diff line Loading @@ -142,8 +142,10 @@ namespace Isis { // This map at key ControlPoint::Fixed and it would return how many fixed points there are. QMap<ControlPoint::PointType, int> m_pointTypeCounts; int m_numPoints; int m_numPointsIgnored; int m_numPointsLocked; int m_numMeasures; }; }; Loading