18 #ifndef itkPipelineMonitorImageFilter_h
19 #define itkPipelineMonitorImageFilter_h
66 template <
typename TImageType>
101 itkSetMacro( ClearPipelineOnGenerateOutputInformation,
bool );
102 itkGetMacro( ClearPipelineOnGenerateOutputInformation,
bool );
103 itkBooleanMacro( ClearPipelineOnGenerateOutputInformation );
112 bool VerifyAllInputCanStream(
int expectedNumber);
118 bool VerifyAllInputCanNotStream();
123 bool VerifyAllNoUpdate();
125 bool VerifyDownStreamFilterExecutedPropagation();
136 bool VerifyInputFilterExecutedStreaming(
int expectedNumber);
142 bool VerifyInputFilterMatchedUpdateOutputInformation();
145 bool VerifyInputFilterBufferedRequestedRegions();
147 bool VerifyInputFilterMatchedRequestedRegions();
149 bool VerifyInputFilterRequestedLargestRegion();
158 itkGetConstMacro(UpdatedOutputOrigin,
PointType);
160 itkGetConstMacro(UpdatedOutputSpacing, SpacingType);
161 itkGetConstMacro(UpdatedOutputLargestPossibleRegion, ImageRegionType);
165 void ClearPipelineSavedInformation();
171 virtual void GenerateOutputInformation() ITK_OVERRIDE;
172 virtual
void PropagateRequestedRegion(
DataObject *output) ITK_OVERRIDE;
173 virtual
void EnlargeOutputRequestedRegion(
DataObject *output) ITK_OVERRIDE;
174 virtual
void GenerateInputRequestedRegion(
void) ITK_OVERRIDE;
175 virtual
void GenerateData(
void) ITK_OVERRIDE;
184 void PrintSelf(std::ostream &os,
Indent indent) const ITK_OVERRIDE;
187 PipelineMonitorImageFilter(const PipelineMonitorImageFilter &);
188 void operator=(const PipelineMonitorImageFilter &);
190 bool m_ClearPipelineOnGenerateOutputInformation;
192 unsigned int m_NumberOfUpdates;
194 unsigned int m_NumberOfClearPipeline;
209 #ifndef ITK_MANUAL_INSTANTIATION
210 #include "itkPipelineMonitorImageFilter.hxx"
213 #endif //itkPipelineMonitorImageFilter_hxx
RegionVectorType GetUpdatedRequestedRegions(void) const
Light weight base class for most itk classes.
RegionVectorType GetInputRequestedRegions(void) const
RegionVectorType GetOutputRequestedRegions(void) const
ImageToImageFilter< TImageType, TImageType > Superclass
Enables monitoring, recording and debugging of the pipeline execution and information exchange...
RegionVectorType GetUpdatedBufferedRegions(void) const
TImageType::SpacingType SpacingType
ImageBaseType::DirectionType DirectionType
TImageType::DirectionType DirectionType
TImageType::ConstPointer InputImageConstPointer
unsigned int GetNumberOfUpdates(void) const
ImageBaseType::PointType PointType
TImageType::Pointer InputImagePointer
SmartPointer< const Self > ConstPointer
std::vector< typename TImageType::RegionType > RegionVectorType
Superclass::InputImageRegionType ImageRegionType
SmartPointer< Self > Pointer
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
TImageType::PointType PointType
Base class for filters that take an image as input and overwrite that image as the output...
PipelineMonitorImageFilter Self
Base class for all data objects in ITK.