19 #ifndef itkPyImageFilter_h
20 #define itkPyImageFilter_h
25 #undef _POSIX_C_SOURCE
41 template <
class TInputImage,
class TOutputImage>
70 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
71 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
77 SetPyGenerateInputRequestedRegion(PyObject * obj);
83 SetPyGenerateOutputInformation(PyObject * obj);
89 SetPyEnlargeOutputRequestedRegion(PyObject * obj);
95 SetPyGenerateData(PyObject * obj);
109 GenerateInputRequestedRegion()
override;
112 GenerateOutputInformation()
override;
115 EnlargeOutputRequestedRegion(
DataObject * dataObject)
override;
118 GenerateData()
override;
122 PyObject * m_GenerateInputRequestedRegionCallable{
nullptr };
123 PyObject * m_GenerateOutputInformationCallable{
nullptr };
124 PyObject * m_EnlargeOutputRequestedRegionCallable{
nullptr };
125 PyObject * m_GenerateDataCallable{
nullptr };
131 #ifndef ITK_MANUAL_INSTANTIATION
132 # include "itkPyImageFilter.hxx"
135 #endif // _itkPyImageFilter_h