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);
188 m_DynamicThreadedGenerateDataFunction = [
this, funcPointer](
const OutputImageRegionType & outputRegionForThread) {
189 return this->DynamicThreadedGenerateDataWithFunctor(funcPointer, outputRegionForThread);
204 template <
typename TFunctor>
209 m_DynamicThreadedGenerateDataFunction = [
this, functor](
const OutputImageRegionType & outputRegionForThread) {
210 return this->DynamicThreadedGenerateDataWithFunctor(functor, outputRegionForThread);
216 #endif // !defined( ITK_WRAPPING_PARSER )
220 itkStaticConstMacro(InputImage1Dimension,
unsigned int, TInputImage1::ImageDimension);
221 itkStaticConstMacro(InputImage2Dimension,
unsigned int, TInputImage2::ImageDimension);
222 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
225 #ifdef ITK_USE_CONCEPT_CHECKING
229 itkGetStaticConstMacro(InputImage2Dimension)>));
232 itkGetStaticConstMacro(OutputImageDimension)>));
249 template <
typename TFunctor>
251 DynamicThreadedGenerateDataWithFunctor(
const TFunctor &,
const OutputImageRegionType & outputRegionForThread);
259 GenerateOutputInformation()
override;
266 #ifndef ITK_MANUAL_INSTANTIATION
267 # include "itkBinaryGeneratorImageFilter.hxx"