From 0f95502533aeadc2d9fd3d9d568e03f84e223d2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABlle=20USSEGLIO?= <gaelle.usseglio@cnes.fr> Date: Thu, 7 May 2020 14:57:01 +0000 Subject: [PATCH] ENH : Change some variable private to protected (for inheritance) into TileAnalysisImageFilter --- include/otbTilesAnalysisImageFilter.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/include/otbTilesAnalysisImageFilter.h b/include/otbTilesAnalysisImageFilter.h index 7301543..2505d7b 100644 --- a/include/otbTilesAnalysisImageFilter.h +++ b/include/otbTilesAnalysisImageFilter.h @@ -209,10 +209,8 @@ protected: * ImageToImageFilter::GenerateData() */ void GenerateData() override; - private: - TilesAnalysisImageFilter(const Self&); // purposely not implemented - void operator=(const Self &); // purposely not - + + // Protected variables // Vector for processed tiles (with tiles index) std::vector<ImageOutIndexType> m_ProcessedTilesIndex; @@ -234,6 +232,12 @@ protected: // Function to apply on Output Tiles FunctionPointer m_FunctionOnTiles; + + private: + TilesAnalysisImageFilter(const Self&); // purposely not implemented + void operator=(const Self &); // purposely not + + ///////// Parameters used for coregistration ///////// // Max Shift in range float m_MaxShiftInRange; -- GitLab