Commit 53081125 authored by OTB Bot's avatar OTB Bot

STYLE

parent 8d977e77
...@@ -114,8 +114,8 @@ ViewerModel ...@@ -114,8 +114,8 @@ ViewerModel
void void
ViewerModel ViewerModel
::GetJPEG2000ResolutionAndInformations(const std::string & filepath, ::GetJPEG2000ResolutionAndInformations(const std::string & filepath,
std::vector<unsigned int>& res, std::vector<unsigned int>& res,
std::vector<std::string> & desc) std::vector<std::string> & desc)
{ {
#ifdef OTB_USE_JPEG2000 #ifdef OTB_USE_JPEG2000
...@@ -373,8 +373,8 @@ ViewerModel ...@@ -373,8 +373,8 @@ ViewerModel
ViewerModel ViewerModel
::WidgetControllerPointerType ::WidgetControllerPointerType
ViewerModel ViewerModel
::BuiltController(VisuModelPointerType modelRenderingLayer, ::BuiltController(VisuModelPointerType modelRenderingLayer,
VisuViewPointerType visuView, VisuViewPointerType visuView,
PixelDescriptionModelPointerType pixelModel) PixelDescriptionModelPointerType pixelModel)
{ {
WidgetControllerPointerType controller = WidgetControllerType::New(); WidgetControllerPointerType controller = WidgetControllerType::New();
......
...@@ -181,8 +181,8 @@ public: ...@@ -181,8 +181,8 @@ public:
std::vector<unsigned int> GetJPEG2000Resolution(const std::string & filepath); std::vector<unsigned int> GetJPEG2000Resolution(const std::string & filepath);
// If the file is JPEG2000, the function will find the available // If the file is JPEG2000, the function will find the available
// resolutions and informations // resolutions and informations
void GetJPEG2000ResolutionAndInformations(const std::string & filepath, void GetJPEG2000ResolutionAndInformations(const std::string & filepath,
std::vector<unsigned int>& res, std::vector<unsigned int>& res,
std::vector<std::string> & desc); std::vector<std::string> & desc);
protected: protected:
...@@ -197,8 +197,8 @@ protected: ...@@ -197,8 +197,8 @@ protected:
/** Built Visu & Controller*/ /** Built Visu & Controller*/
virtual VisuViewPointerType BuiltVisu(VisuModelPointerType pRendering); virtual VisuViewPointerType BuiltVisu(VisuModelPointerType pRendering);
virtual WidgetControllerPointerType BuiltController(VisuModelPointerType modelRenderingLayer, virtual WidgetControllerPointerType BuiltController(VisuModelPointerType modelRenderingLayer,
VisuViewPointerType visuView , VisuViewPointerType visuView ,
PixelDescriptionModelType::Pointer pixelModel); PixelDescriptionModelType::Pointer pixelModel);
private: private:
......
...@@ -1359,7 +1359,7 @@ ViewerViewGUI ...@@ -1359,7 +1359,7 @@ ViewerViewGUI
for(unsigned int p = 0; p < tempElementToRemove.size(); p ++ ) for(unsigned int p = 0; p < tempElementToRemove.size(); p ++ )
{ {
// counter because the size of the list is decreasing after each iteration // 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++; counter++;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment