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