diff --git a/Code/VisuRefac/otbImageWidget.h b/Code/VisuRefac/otbImageWidget.h index f596ae41ff6971037dfdf248ddeba7ebfb9fc1bb..f023e3d06ea969fc9cbdae0c6f4339016e9b5a8f 100644 --- a/Code/VisuRefac/otbImageWidget.h +++ b/Code/VisuRefac/otbImageWidget.h @@ -119,7 +119,7 @@ protected: */ /** Update the image to screen transform */ - void UpdateImageToScreenTransform(); + void UpdateTransforms(); virtual void draw(void); diff --git a/Code/VisuRefac/otbImageWidget.txx b/Code/VisuRefac/otbImageWidget.txx index 86a431d98249cdc2c6b93801fe2aa2a1d91ce8cb..5ca2d3fd7d2da04baee6718e600c49187dfe6186 100644 --- a/Code/VisuRefac/otbImageWidget.txx +++ b/Code/VisuRefac/otbImageWidget.txx @@ -127,7 +127,7 @@ ImageWidget<TInputImage> template <class TInputImage> void ImageWidget<TInputImage> -::UpdateImageToScreenTransform() +::UpdateTransforms() { assert(m_IsotropicZoom>0 && "Isotropic zoom should be non null positive."); @@ -174,8 +174,8 @@ ImageWidget<TInputImage> return; } - // Update the space to screen transform - this->UpdateImageToScreenTransform(); + // Update transforms + this->UpdateTransforms(); if(!this->GetUseGlAcceleration())