18 #ifndef __otbImageLayerGenerator_h
19 #define __otbImageLayerGenerator_h
48 template <
class TImageLayer>
70 typedef typename ImageLayerType::ImageType
ImageType;
117 itkSetMacro(SubsamplingRate,
unsigned int);
118 itkGetMacro(SubsamplingRate,
unsigned int);
125 itkSetMacro(ScreenRatio,
double);
126 itkGetMacro(ScreenRatio,
double);
135 itkExceptionMacro(<<
"Layer is not set");
137 if (this->
m_Layer->GetRenderingFunction() != func)
139 this->
m_Layer->SetRenderingFunction(func);
148 itkExceptionMacro(<<
"Layer is not set");
150 return this->
m_Layer->GetRenderingFunction();
160 itkExceptionMacro(<<
"Layer is not set");
162 if (this->
m_Layer->GetBlendingFunction() != func)
164 this->
m_Layer->SetBlendingFunction(func);
173 itkExceptionMacro(<<
"Layer is not set");
175 return this->
m_Layer->GetBlendingFunction();
242 #ifndef OTB_MANUAL_INSTANTIATION