18 #ifndef itkTernaryGeneratorImageFilter_h
19 #define itkTernaryGeneratorImageFilter_h
53 template <
typename TInputImage1,
typename TInputImage2,
typename TInputImage3,
typename TOutputImage>
107 SetInput1(
const TInputImage1 * image1);
121 GetConstant1()
const;
125 SetInput2(
const TInputImage2 * image2);
139 GetConstant2()
const;
143 SetInput3(
const TInputImage3 * image3);
157 GetConstant3()
const;
160 #if !defined(ITK_WRAPPING_PARSER)
169 m_DynamicThreadedGenerateDataFunction = [
this, f](
const OutputImageRegionType & outputRegionForThread) {
170 return this->DynamicThreadedGenerateDataWithFunctor(f, outputRegionForThread);
180 m_DynamicThreadedGenerateDataFunction = [
this, f](
const OutputImageRegionType & outputRegionForThread) {
181 return this->DynamicThreadedGenerateDataWithFunctor(f, outputRegionForThread);
194 m_DynamicThreadedGenerateDataFunction = [
this, funcPointer](
const OutputImageRegionType & outputRegionForThread) {
195 return this->DynamicThreadedGenerateDataWithFunctor(funcPointer, outputRegionForThread);
204 m_DynamicThreadedGenerateDataFunction = [
this, funcPointer](
const OutputImageRegionType & outputRegionForThread) {
205 return this->DynamicThreadedGenerateDataWithFunctor(funcPointer, outputRegionForThread);
220 template <
typename TFunctor>
225 m_DynamicThreadedGenerateDataFunction = [
this, functor](
const OutputImageRegionType & outputRegionForThread) {
226 return this->DynamicThreadedGenerateDataWithFunctor(functor, outputRegionForThread);
232 #endif // !defined( ITK_WRAPPING_PARSER )
235 static constexpr
unsigned int Input1ImageDimension = TInputImage1::ImageDimension;
236 static constexpr
unsigned int Input2ImageDimension = TInputImage2::ImageDimension;
237 static constexpr
unsigned int Input3ImageDimension = TInputImage3::ImageDimension;
238 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
240 #ifdef ITK_USE_CONCEPT_CHECKING
253 GenerateOutputInformation()
override;
265 template <
typename TFunctor>
267 DynamicThreadedGenerateDataWithFunctor(
const TFunctor &,
const OutputImageRegionType & outputRegionForThread);
278 #ifndef ITK_MANUAL_INSTANTIATION
279 # include "itkTernaryGeneratorImageFilter.hxx"