Skip to content
Snippets Groups Projects
Commit 6c31b26e authored by Julien Michel's avatar Julien Michel
Browse files

WRG: Fixing a bunch of shadowed Modified functions

parent 95c398c3
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ protected:
/** Reimplement the Modified() method
*to set the NeedToGenerateFilter to true */
virtual void Modified();
virtual void Modified() const;
private:
GaborFilterGenerator(const Self&); //purposely not implemented
......@@ -142,7 +142,7 @@ private:
ArrayType m_Filter;
/** Wether we need to regenerate the filter */
bool m_NeedToRegenerateFilter;
mutable bool m_NeedToRegenerateFilter;
};
} // end namespace otb
......
......@@ -84,7 +84,7 @@ GaborFilterGenerator<TPrecision>
template <class TPrecision>
void
GaborFilterGenerator<TPrecision>
::Modified()
::Modified() const
{
this->Superclass::Modified();
m_NeedToRegenerateFilter = true;
......
......@@ -251,7 +251,7 @@ protected:
void UpdateFunctors();
/** If modified, we need to compute the functor parameters again */
virtual void Modified();
virtual void Modified() const;
private:
......@@ -265,7 +265,7 @@ private:
bool m_UseGenerateParameters;
/** True if the functor parameters have been generated */
bool m_FunctorParametersHaveBeenComputed;
mutable bool m_FunctorParametersHaveBeenComputed;
AtmosphericRadiativeTermsPointerType m_AtmosphericRadiativeTerms;
AtmoCorrectionParametersPointerType m_AtmoCorrectionParameters;
......
......@@ -53,7 +53,7 @@ ReflectanceToSurfaceReflectanceImageFilter<TInputImage, TOutputImage>
template <class TInputImage, class TOutputImage>
void
ReflectanceToSurfaceReflectanceImageFilter<TInputImage, TOutputImage>
::Modified()
::Modified() const
{
Superclass::Modified();
m_FunctorParametersHaveBeenComputed = false;
......
......@@ -280,7 +280,7 @@ protected:
void UpdateFunctors();
/** If modified, we need to compute the functor parameters again */
virtual void Modified();
virtual void Modified() const;
private:
......@@ -298,7 +298,7 @@ private:
/** Weighting values for the neighbor pixels.*/
WeightingValuesContainerType m_WeightingValues;
/** True if the functor parameters have been generated */
bool m_FunctorParametersHaveBeenComputed;
mutable bool m_FunctorParametersHaveBeenComputed;
/** Pixel spacing in kilometers */
double m_PixelSpacingInKilometers;
/** Viewing angle in degree */
......
......@@ -68,7 +68,7 @@ SurfaceAdjacencyEffectCorrectionSchemeFilter<TInputImage, TOutputImage>
template <class TInputImage, class TOutputImage>
void
SurfaceAdjacencyEffectCorrectionSchemeFilter<TInputImage, TOutputImage>
::Modified()
::Modified() const
{
Superclass::Modified();
m_FunctorParametersHaveBeenComputed = false;
......
......@@ -274,7 +274,7 @@ protected:
void UpdateFunctors();
/** If modified, we need to compute the functor parameters again */
virtual void Modified();
virtual void Modified() const;
private:
......@@ -287,7 +287,7 @@ private:
AtmoCorrectionParametersPointerType m_AtmoCorrectionParameters;
AcquiCorrectionParametersPointerType m_AcquiCorrectionParameters;
bool m_UseGenerateParameters;
mutable bool m_UseGenerateParameters;
/** True if the functor parameters have been generated */
bool m_FunctorParametersHaveBeenComputed;
......
......@@ -110,7 +110,7 @@ SurfaceReflectanceToReflectanceFilter<TInputImage, TOutputImage>
template <class TInputImage, class TOutputImage>
void
SurfaceReflectanceToReflectanceFilter<TInputImage, TOutputImage>
::Modified()
::Modified() const
{
Superclass::Modified();
m_FunctorParametersHaveBeenComputed = false;
......
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