Loading isis/src/control/apps/deltack/deltack.cpp +6 −3 Original line number Diff line number Diff line Loading @@ -267,12 +267,12 @@ void IsisMain() { QObject::connect( bundleAdjust, SIGNAL( statusUpdate(QString) ), bundleAdjust, SLOT( outputBundleStatus(QString) ) ); BundleSolutionInfo bundleSolution = bundleAdjust->solveCholeskyBR(); BundleSolutionInfo *bundleSolution = bundleAdjust->solveCholeskyBR(); // Output bundle adjust files bundleSolution.outputText(); bundleSolution.outputResiduals(); bundleSolution->outputText(); bundleSolution->outputResiduals(); Table cmatrix = bundleAdjust->cMatrix(0); Loading @@ -285,6 +285,9 @@ void IsisMain() { //cmatrix.Label().findObject("Table",Pvl::Traverse).addKeyword(description); c.write(cmatrix); delete bundleAdjust; delete bundleSolution; } // Now do final clean up as the update was successful if we reach here... Loading isis/src/control/apps/deltack/deltack.xml +5 −1 Original line number Diff line number Diff line Loading @@ -190,7 +190,11 @@ method to apply. The default is METHOD=BUNDLE which chooses pre-existing behavor. Updated documentation to reflect these new changes. Fixes #4868. </change> <change name="Ken Edmundson" date="2018-05-23"> Modifed call to bundleAdjustment->solveCholeskyBR() to return a raw pointer to a BundleSolutionInfo object. Am also deleting this pointer because jigsaw.cpp takes ownership from BundleAdjust. </change> </history> <groups> Loading isis/src/control/apps/jigsaw/jigsaw.cpp +6 −5 Original line number Diff line number Diff line Loading @@ -80,24 +80,24 @@ void IsisMain() { QObject::connect( bundleAdjustment, SIGNAL( statusUpdate(QString) ), bundleAdjustment, SLOT( outputBundleStatus(QString) ) ); BundleSolutionInfo bundleSolution = bundleAdjustment->solveCholeskyBR(); BundleSolutionInfo *bundleSolution = bundleAdjustment->solveCholeskyBR(); cout << "\nGenerating report files\n" << endl; // write output files if (ui.GetBoolean("BUNDLEOUT_TXT")) { bundleSolution.outputText(); bundleSolution->outputText(); } if (ui.GetBoolean("IMAGESCSV")) { bundleSolution.outputImagesCSV(); bundleSolution->outputImagesCSV(); } if (ui.GetBoolean("OUTPUT_CSV")) { bundleSolution.outputPointsCSV(); bundleSolution->outputPointsCSV(); } if (ui.GetBoolean("RESIDUALS_CSV")) { bundleSolution.outputResiduals(); bundleSolution->outputResiduals(); } // write updated control net Loading Loading @@ -147,6 +147,7 @@ void IsisMain() { gp += PvlKeyword("Status", "Camera pointing NOT updated"); } Application::Log(gp); delete bundleSolution; } catch(IException &e) { bundleAdjustment->controlNet()->Write(ui.GetFileName("ONET")); Loading isis/src/control/apps/jigsaw/jigsaw.xml +5 −0 Original line number Diff line number Diff line Loading @@ -252,6 +252,11 @@ <change name="Summer Stapleton" date="2017-08-09"> Fixed bug where an invalid control net was not throwing exception. Fixes #5068. </change> <change name="Ken Edmundson" date="2018-05-23"> Modifed call to bundleAdjustment->solveCholeskyBR() to return a raw pointer to a BundleSolutionInfo object. Am also deleting this pointer because jigsaw.cpp takes ownership from BundleAdjust. </change> </history> <groups> Loading Loading
isis/src/control/apps/deltack/deltack.cpp +6 −3 Original line number Diff line number Diff line Loading @@ -267,12 +267,12 @@ void IsisMain() { QObject::connect( bundleAdjust, SIGNAL( statusUpdate(QString) ), bundleAdjust, SLOT( outputBundleStatus(QString) ) ); BundleSolutionInfo bundleSolution = bundleAdjust->solveCholeskyBR(); BundleSolutionInfo *bundleSolution = bundleAdjust->solveCholeskyBR(); // Output bundle adjust files bundleSolution.outputText(); bundleSolution.outputResiduals(); bundleSolution->outputText(); bundleSolution->outputResiduals(); Table cmatrix = bundleAdjust->cMatrix(0); Loading @@ -285,6 +285,9 @@ void IsisMain() { //cmatrix.Label().findObject("Table",Pvl::Traverse).addKeyword(description); c.write(cmatrix); delete bundleAdjust; delete bundleSolution; } // Now do final clean up as the update was successful if we reach here... Loading
isis/src/control/apps/deltack/deltack.xml +5 −1 Original line number Diff line number Diff line Loading @@ -190,7 +190,11 @@ method to apply. The default is METHOD=BUNDLE which chooses pre-existing behavor. Updated documentation to reflect these new changes. Fixes #4868. </change> <change name="Ken Edmundson" date="2018-05-23"> Modifed call to bundleAdjustment->solveCholeskyBR() to return a raw pointer to a BundleSolutionInfo object. Am also deleting this pointer because jigsaw.cpp takes ownership from BundleAdjust. </change> </history> <groups> Loading
isis/src/control/apps/jigsaw/jigsaw.cpp +6 −5 Original line number Diff line number Diff line Loading @@ -80,24 +80,24 @@ void IsisMain() { QObject::connect( bundleAdjustment, SIGNAL( statusUpdate(QString) ), bundleAdjustment, SLOT( outputBundleStatus(QString) ) ); BundleSolutionInfo bundleSolution = bundleAdjustment->solveCholeskyBR(); BundleSolutionInfo *bundleSolution = bundleAdjustment->solveCholeskyBR(); cout << "\nGenerating report files\n" << endl; // write output files if (ui.GetBoolean("BUNDLEOUT_TXT")) { bundleSolution.outputText(); bundleSolution->outputText(); } if (ui.GetBoolean("IMAGESCSV")) { bundleSolution.outputImagesCSV(); bundleSolution->outputImagesCSV(); } if (ui.GetBoolean("OUTPUT_CSV")) { bundleSolution.outputPointsCSV(); bundleSolution->outputPointsCSV(); } if (ui.GetBoolean("RESIDUALS_CSV")) { bundleSolution.outputResiduals(); bundleSolution->outputResiduals(); } // write updated control net Loading Loading @@ -147,6 +147,7 @@ void IsisMain() { gp += PvlKeyword("Status", "Camera pointing NOT updated"); } Application::Log(gp); delete bundleSolution; } catch(IException &e) { bundleAdjustment->controlNet()->Write(ui.GetFileName("ONET")); Loading
isis/src/control/apps/jigsaw/jigsaw.xml +5 −0 Original line number Diff line number Diff line Loading @@ -252,6 +252,11 @@ <change name="Summer Stapleton" date="2017-08-09"> Fixed bug where an invalid control net was not throwing exception. Fixes #5068. </change> <change name="Ken Edmundson" date="2018-05-23"> Modifed call to bundleAdjustment->solveCholeskyBR() to return a raw pointer to a BundleSolutionInfo object. Am also deleting this pointer because jigsaw.cpp takes ownership from BundleAdjust. </change> </history> <groups> Loading