Skip to content
Snippets Groups Projects
Commit c3066c98 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

WRG: use iterator typedefs defined in header

parent 06484a8f
No related branches found
No related tags found
1 merge request!5Warning fixes
......@@ -706,13 +706,11 @@ namespace otb
// Define/declare an iterator that will walk the input regions for this
// thread.
typedef itk::ImageScanlineConstIterator< ImageSARType > InputIterator;
InputIterator inMasterIt(this->GetMasterInput(), inputRegionForThread);
InputIterator inSlaveIt(this->GetSlaveInput(), inputRegionForThread);
InputSARIterator inMasterIt(this->GetMasterInput(), inputRegionForThread);
InputSARIterator inSlaveIt(this->GetSlaveInput(), inputRegionForThread);
// Define/declare an iterator that will walk the output region for this
// thread.
typedef itk::ImageScanlineIterator< ImageOutType > OutputIterator;
OutputIterator outIt(this->GetOutput(), outputRegionForThread);
// Support progress methods/callbacks
......@@ -961,15 +959,13 @@ namespace otb
sameGeoAsMainOutput, true);
// Define/declare an iterator that will walk the input regions for this
// thread.
typedef itk::ImageScanlineConstIterator< ImageSARType > InputIterator;
InputIterator inMasterIt(this->GetMasterInput(), inputRegionForThread);
InputIterator inSlaveIt(this->GetSlaveInput(), inputRegionForThread);
InputSARIterator inMasterIt(this->GetMasterInput(), inputRegionForThread);
InputSARIterator inSlaveIt(this->GetSlaveInput(), inputRegionForThread);
InputPhaseIterator inTopoPhaseIt(this->GetTopographicPhaseInput(), inputPhaseRegionForThread);
// Define/declare an iterator that will walk the output region for this
// thread.
typedef itk::ImageScanlineIterator< ImageOutType > OutputIterator;
OutputIterator outIt(this->GetOutput(), outputRegionForThread);
inMasterIt.GoToBegin();
......
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