Skip to content
Snippets Groups Projects
Commit 56534260 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH: put the flaf m_AutoMinMax to false when a new renderingFunction is used

parent ea0cacd4
No related branches found
No related tags found
No related merge requests found
......@@ -119,6 +119,7 @@ public:
void SetRenderingFunction(RenderingFunctionType * function)
{
m_RenderingFunction = function;
m_AutoMinMaxUpToDate = false;
m_QuicklookRenderingFilter->SetRenderingFunction(m_RenderingFunction);
m_ExtractRenderingFilter->SetRenderingFunction(m_RenderingFunction);
m_ScaledExtractRenderingFilter->SetRenderingFunction(m_RenderingFunction);
......@@ -191,7 +192,7 @@ protected:
void PrintSelf(std::ostream& os, itk::Indent indent) const;
/** Update the histogram */
virtual void RenderHistogram();
virtual void RenderHistogram();
/** Update the images */
virtual void RenderImages();
......
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