18 #ifndef itkTestingHashImageFilter_h
19 #define itkTestingHashImageFilter_h
44 template <
typename TImageType >
71 {
return this->GetHashOutput()->Get(); }
81 using Superclass::MakeOutput;
89 itkSetMacro( HashFunction, HashFunction );
90 itkGetMacro( HashFunction, HashFunction );
99 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
109 void AfterThreadedGenerateData() ITK_OVERRIDE;
114 void EnlargeOutputRequestedRegion(
DataObject *data) ITK_OVERRIDE;
126 #include "itkTestingHashImageFilter.hxx"
128 #endif // itkTestingHashImageFilter_h
TImageType::RegionType RegionType
Light weight base class for most itk classes.
DataObject::Pointer DataObjectPointer
HashObjectType * GetHashOutput()
Decorates any "simple" data type (data types without smart pointers) with a DataObject API...
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
SmartPointer< const Self > ConstPointer
SimpleDataObjectDecorator< std::string > HashObjectType
Generates a md5 hash string from an image.
const HashObjectType * GetHashOutput() const
unsigned int ThreadIdType
std::string GetHash() const
InPlaceImageFilter< TImageType, TImageType > Superclass
Control indentation during Print() invocation.
virtual void ThreadedGenerateData(const typename Superclass::OutputImageRegionType &, ThreadIdType) override
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
Base class for filters that take an image as input and overwrite that image as the output...
Base class for all data objects in ITK.
SmartPointer< Self > Pointer
Casts input pixels to output pixel type.
DataObject * GetOutput(const DataObjectIdentifierType &key)