Skip to content
Snippets Groups Projects
Commit 53081125 authored by OTB Bot's avatar OTB Bot
Browse files

STYLE

parent 8d977e77
No related branches found
No related tags found
No related merge requests found
......@@ -114,8 +114,8 @@ ViewerModel
void
ViewerModel
::GetJPEG2000ResolutionAndInformations(const std::string & filepath,
std::vector<unsigned int>& res,
::GetJPEG2000ResolutionAndInformations(const std::string & filepath,
std::vector<unsigned int>& res,
std::vector<std::string> & desc)
{
#ifdef OTB_USE_JPEG2000
......@@ -373,8 +373,8 @@ ViewerModel
ViewerModel
::WidgetControllerPointerType
ViewerModel
::BuiltController(VisuModelPointerType modelRenderingLayer,
VisuViewPointerType visuView,
::BuiltController(VisuModelPointerType modelRenderingLayer,
VisuViewPointerType visuView,
PixelDescriptionModelPointerType pixelModel)
{
WidgetControllerPointerType controller = WidgetControllerType::New();
......
......@@ -181,8 +181,8 @@ public:
std::vector<unsigned int> GetJPEG2000Resolution(const std::string & filepath);
// If the file is JPEG2000, the function will find the available
// resolutions and informations
void GetJPEG2000ResolutionAndInformations(const std::string & filepath,
std::vector<unsigned int>& res,
void GetJPEG2000ResolutionAndInformations(const std::string & filepath,
std::vector<unsigned int>& res,
std::vector<std::string> & desc);
protected:
......@@ -197,8 +197,8 @@ protected:
/** Built Visu & Controller*/
virtual VisuViewPointerType BuiltVisu(VisuModelPointerType pRendering);
virtual WidgetControllerPointerType BuiltController(VisuModelPointerType modelRenderingLayer,
VisuViewPointerType visuView ,
virtual WidgetControllerPointerType BuiltController(VisuModelPointerType modelRenderingLayer,
VisuViewPointerType visuView ,
PixelDescriptionModelType::Pointer pixelModel);
private:
......
......@@ -1359,7 +1359,7 @@ ViewerViewGUI
for(unsigned int p = 0; p < tempElementToRemove.size(); p ++ )
{
// counter because the size of the list is decreasing after each iteration
m_LinkedImageList.erase(m_LinkedImageList.begin()+tempElementToRemove[p] - counter);
m_LinkedImageList.erase(m_LinkedImageList.begin()+tempElementToRemove[p] - counter);
counter++;
}
......
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