Skip to content
Snippets Groups Projects
Commit 438d4df0 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH : add a init

parent 43c4184e
No related branches found
No related tags found
No related merge requests found
...@@ -124,6 +124,9 @@ public: ...@@ -124,6 +124,9 @@ public:
/** Get the sumbsampling rate */ /** Get the sumbsampling rate */
unsigned int GetSubsamplingRate(); unsigned int GetSubsamplingRate();
/** Filters Initialisation. */
void Init();
protected: protected:
/** Constructor */ /** Constructor */
ImageLayerRenderingModel(); ImageLayerRenderingModel();
......
...@@ -37,7 +37,7 @@ ImageLayerRenderingModel<TOutputImage> ...@@ -37,7 +37,7 @@ ImageLayerRenderingModel<TOutputImage>
// Initalize the blending filter list // Initalize the blending filter list
m_QuicklookBlendingFilterList = BlendingFilterListType::New(); m_QuicklookBlendingFilterList = BlendingFilterListType::New();
m_ExtractBlendingFilterList = BlendingFilterListType::New(); m_ExtractBlendingFilterList = BlendingFilterListType::New();
m_ScaledExtractBlendingFilterList = BlendingFilterListType::New(); m_ScaledExtractBlendingFilterList = BlendingFilterListType::New();
} }
template <class TOutputImage> template <class TOutputImage>
...@@ -64,6 +64,22 @@ ImageLayerRenderingModel<TOutputImage> ...@@ -64,6 +64,22 @@ ImageLayerRenderingModel<TOutputImage>
} }
} }
template <class TOutputImage>
void
ImageLayerRenderingModel<TOutputImage>
::Init()
{
m_QuicklookBlendingFilterList = BlendingFilterListType::New();
m_ExtractBlendingFilterList = BlendingFilterListType::New();
m_ScaledExtractBlendingFilterList = BlendingFilterListType::New();
m_RasterizedQuicklook = OutputImageType::New();
m_RasterizedExtract = OutputImageType::New();
m_RasterizedScaledExtract = OutputImageType::New();
}
template <class TOutputImage> template <class TOutputImage>
void void
ImageLayerRenderingModel<TOutputImage> ImageLayerRenderingModel<TOutputImage>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment