Skip to content
Snippets Groups Projects
Commit 3a11665d authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Adding progress reporting

parent 4bc87d50
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,9 @@
#include "otbObjectList.h"
#include "otbMacro.h"
#include "itkProgressReporter.h"
namespace otb
{
......@@ -105,7 +108,7 @@ VectorDataExtractROI<TVectorData>
bool newFolder = false;
bool newMultiFeature = false;
itk::ProgressReporter progress(this, 0,input->Size());
while (!it.IsAtEnd())
{
......@@ -243,7 +246,7 @@ VectorDataExtractROI<TVectorData>
break;
}
}
progress.CompletedPixel();
++it;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment