From 417585220830fa755f8da6ad64ba136917efeb6b Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@orfeo-toolbox.org> Date: Tue, 10 Mar 2009 15:08:19 +0100 Subject: [PATCH] ENH: (Visu Refactoring) Renaming UpdateImageToScreenTransform() to UpdateTransforms() --- Code/VisuRefac/otbImageWidget.h | 2 +- Code/VisuRefac/otbImageWidget.txx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Code/VisuRefac/otbImageWidget.h b/Code/VisuRefac/otbImageWidget.h index f596ae41ff..f023e3d06e 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 86a431d982..5ca2d3fd7d 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()) -- GitLab