#include <itkFFTImageFilterFactory.h>
Object factory implementation for FFT filters.
ITK FFT filters are designed for overridable implementation through the global ITK object factory singleton. In order to instantiate a base FFT image filter object, at least one valid implementation must be registered in the object factory.
FFTImageFilterFactory exists as an implementation detail designed to reduce overhead for FFT factory operations. A factory object templated over an FFT image filter implementation class will make constructor overrides for that class available through the global object factory singleton.
FFTImageFilterFactory can be used for making an FFT implementation class available through object factory initialization if the class meets certain criteria:
FFTImageFilterTraits
specialization defining pixel types and image dimensions for specializationTInput
and TOutput
must be classes implementing the itk::Image
interface but need not inherit from itk::Image
. For example, an FFT filter could define operations over an itk::SpecialCoordinatesImage
.
FFT filters not meeting these criteria may define an independent factory tailored to their particular instantiation requirements.
Definition at line 89 of file itkFFTImageFilterFactory.h.
Public Types | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = FFTImageFilterFactory |
using | Superclass = ObjectFactoryBase |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | InsertionPositionEnum = ObjectFactoryEnums::InsertionPosition |
using | Pointer = SmartPointer<Self> |
using | Self = ObjectFactoryBase |
using | Superclass = Object |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = Object |
using | Superclass = LightObject |
![]() | |
using | ConstPointer = SmartPointer<const Self> |
using | Pointer = SmartPointer<Self> |
using | Self = LightObject |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
const char * | GetNameOfClass () const override |
const char * | GetITKSourceVersion () const override |
const char * | GetDescription () const override |
![]() | |
virtual void | Disable (const char *className) |
virtual std::list< std::string > | GetClassOverrideDescriptions () |
virtual std::list< std::string > | GetClassOverrideNames () |
virtual std::list< std::string > | GetClassOverrideWithNames () |
virtual bool | GetEnableFlag (const char *className, const char *subclassName) |
virtual std::list< bool > | GetEnableFlags () |
const char * | GetLibraryPath () |
const char * | GetNameOfClass () const override |
virtual void | SetEnableFlag (bool flag, const char *className, const char *subclassName) |
![]() | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
![]() | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
static void | RegisterOneFactory () |
![]() | |
static std::list< LightObject::Pointer > | CreateAllInstance (const char *itkclassname) |
static LightObject::Pointer | CreateInstance (const char *itkclassname) |
static std::list< ObjectFactoryBase * > | GetRegisteredFactories () |
static void | Initialize () |
static void | RegisterFactoryInternal (ObjectFactoryBase *) |
template<typename TFactory> | |
static void | RegisterInternalFactoryOnce () |
static void | ReHash () |
static void | UnRegisterAllFactories () |
static void | UnRegisterFactory (ObjectFactoryBase *) |
static bool | RegisterFactory (ObjectFactoryBase *, InsertionPositionEnum where=InsertionPositionEnum::INSERT_AT_BACK, vcl_size_t position=0) |
static void | SetStrictVersionChecking (bool) |
static void | StrictVersionCheckingOn () |
static void | StrictVersionCheckingOff () |
static bool | GetStrictVersionChecking () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
FFTImageFilterFactory () | |
template<typename InputPixelType, typename OutputPixelType, unsigned int D, unsigned int... ImageDimensions> | |
void | OverrideFFTImageFilterType (const std::integer_sequence< unsigned int, D, ImageDimensions... > &) |
template<typename InputPixelType, typename OutputPixelType> | |
void | OverrideFFTImageFilterType (const std::integer_sequence< unsigned int > &) |
![]() | |
virtual std::list< LightObject::Pointer > | CreateAllObject (const char *itkclassname) |
virtual LightObject::Pointer | CreateObject (const char *itkclassname) |
ObjectFactoryBase () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | RegisterOverride (const char *classOverride, const char *subclass, const char *description, bool enableFlag, CreateObjectFunctionBase *createFunction) |
~ObjectFactoryBase () override | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
![]() | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Additional Inherited Members | |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::FFTImageFilterFactory< TFFTImageFilter, TInput, TOutput >::ConstPointer = SmartPointer<const Self> |
Definition at line 97 of file itkFFTImageFilterFactory.h.
using itk::FFTImageFilterFactory< TFFTImageFilter, TInput, TOutput >::Pointer = SmartPointer<Self> |
Definition at line 96 of file itkFFTImageFilterFactory.h.
using itk::FFTImageFilterFactory< TFFTImageFilter, TInput, TOutput >::Self = FFTImageFilterFactory |
Definition at line 94 of file itkFFTImageFilterFactory.h.
using itk::FFTImageFilterFactory< TFFTImageFilter, TInput, TOutput >::Superclass = ObjectFactoryBase |
Definition at line 95 of file itkFFTImageFilterFactory.h.
|
inlineprotected |
Definition at line 152 of file itkFFTImageFilterFactory.h.
References OverrideFFTImageFilterType().
Referenced by GetNameOfClass().
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LightObject.
|
inlineoverridevirtual |
Class methods used to interface with the registered factories.
Implements itk::ObjectFactoryBase.
Definition at line 106 of file itkFFTImageFilterFactory.h.
|
inlineoverridevirtual |
Class methods used to interface with the registered factories.
Implements itk::ObjectFactoryBase.
Definition at line 101 of file itkFFTImageFilterFactory.h.
References ITK_SOURCE_VERSION.
|
overridevirtual |
Reimplemented from itk::LightObject.
References FFTImageFilterFactory().
|
static |
Method for class instantiation.
Referenced by OverrideFFTImageFilterType(), and RegisterOneFactory().
|
inlineprotected |
Override base FFT image filter constructor with the given TFFTImageFilter template with distinct specialization. Requires TFFTImageFilter to have the template signature <InputImageType, OutputImageType>.
Definition at line 148 of file itkFFTImageFilterFactory.h.
|
inlineprotected |
Override base FFT image filter constructor with the given TFFTImageFilter template with distinct specialization. Requires TFFTImageFilter to have the template signature <InputImageType, OutputImageType>.
Definition at line 134 of file itkFFTImageFilterFactory.h.
References New(), OverrideFFTImageFilterType(), and itk::ObjectFactoryBase::RegisterOverride().
Referenced by FFTImageFilterFactory(), and OverrideFFTImageFilterType().
|
inlinestatic |
Register one factory of this type
Definition at line 120 of file itkFFTImageFilterFactory.h.
References New(), and itk::ObjectFactoryBase::RegisterFactoryInternal().