18 #ifndef itkBinaryGeneratorImageFilter_h
19 #define itkBinaryGeneratorImageFilter_h
55 template <
typename TInputImage1,
typename TInputImage2,
typename TOutputImage>
98 SetInput1(
const TInputImage1 * image1);
112 GetConstant1()
const;
116 SetInput2(
const TInputImage2 * image2);
130 this->SetConstant2(ct);
132 const Input2ImagePixelType &
135 return this->GetConstant2();
141 virtual const Input2ImagePixelType &
142 GetConstant2()
const;
144 #if !defined(ITK_WRAPPING_PARSER)
153 m_DynamicThreadedGenerateDataFunction = [
this, f](
const OutputImageRegionType & outputRegionForThread) {
154 return this->DynamicThreadedGenerateDataWithFunctor(f, outputRegionForThread);
164 m_DynamicThreadedGenerateDataFunction = [
this, f](
const OutputImageRegionType & outputRegionForThread) {
165 return this->DynamicThreadedGenerateDataWithFunctor(f, outputRegionForThread);
178 m_DynamicThreadedGenerateDataFunction = [
this, funcPointer](
const OutputImageRegionType & outputRegionForThread) {
179 return this->DynamicThreadedGenerateDataWithFunctor(funcPointer, outputRegionForThread);
190 m_DynamicThreadedGenerateDataFunction = [
this, funcPointer](
const OutputImageRegionType & outputRegionForThread) {
191 return this->DynamicThreadedGenerateDataWithFunctor(funcPointer, outputRegionForThread);
206 template <
typename TFunctor>
211 m_DynamicThreadedGenerateDataFunction = [
this, functor](
const OutputImageRegionType & outputRegionForThread) {
212 return this->DynamicThreadedGenerateDataWithFunctor(functor, outputRegionForThread);
218 #endif // !defined( ITK_WRAPPING_PARSER )
222 itkStaticConstMacro(InputImage1Dimension,
unsigned int, TInputImage1::ImageDimension);
223 itkStaticConstMacro(InputImage2Dimension,
unsigned int, TInputImage2::ImageDimension);
224 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
227 #ifdef ITK_USE_CONCEPT_CHECKING
231 itkGetStaticConstMacro(InputImage2Dimension)>));
234 itkGetStaticConstMacro(OutputImageDimension)>));
251 template <
typename TFunctor>
253 DynamicThreadedGenerateDataWithFunctor(
const TFunctor &,
const OutputImageRegionType & outputRegionForThread);
261 GenerateOutputInformation()
override;
268 #ifndef ITK_MANUAL_INSTANTIATION
269 # include "itkBinaryGeneratorImageFilter.hxx"