18 #ifndef itkPipelineMonitorImageFilter_h
19 #define itkPipelineMonitorImageFilter_h
67 template <
typename TImageType>
102 itkSetMacro(ClearPipelineOnGenerateOutputInformation,
bool);
103 itkGetMacro(ClearPipelineOnGenerateOutputInformation,
bool);
104 itkBooleanMacro(ClearPipelineOnGenerateOutputInformation);
114 VerifyAllInputCanStream(
int expectedNumber);
121 VerifyAllInputCanNotStream();
130 VerifyDownStreamFilterExecutedPropagation();
142 VerifyInputFilterExecutedStreaming(
int expectedNumber);
149 VerifyInputFilterMatchedUpdateOutputInformation();
153 VerifyInputFilterBufferedRequestedRegions();
156 VerifyInputFilterMatchedRequestedRegions();
159 VerifyInputFilterRequestedLargestRegion();
165 return m_NumberOfUpdates;
170 return m_OutputRequestedRegions;
175 return m_InputRequestedRegions;
180 return m_UpdatedBufferedRegions;
185 return m_UpdatedRequestedRegions;
188 itkGetConstMacro(UpdatedOutputOrigin,
PointType);
190 itkGetConstMacro(UpdatedOutputSpacing, SpacingType);
191 itkGetConstMacro(UpdatedOutputLargestPossibleRegion, ImageRegionType);
196 ClearPipelineSavedInformation();
203 GenerateOutputInformation()
override;
205 PropagateRequestedRegion(
DataObject * output)
override;
207 EnlargeOutputRequestedRegion(
DataObject * output)
override;
209 GenerateInputRequestedRegion()
override;
211 GenerateData()
override;
220 PrintSelf(std::ostream & os,
Indent indent)
const override;
223 bool m_ClearPipelineOnGenerateOutputInformation{};
225 unsigned int m_NumberOfUpdates{};
227 unsigned int m_NumberOfClearPipeline{};
241 #ifndef ITK_MANUAL_INSTANTIATION
242 # include "itkPipelineMonitorImageFilter.hxx"
245 #endif // itkPipelineMonitorImageFilter_hxx