18#ifndef elxBaseComponent_h
19#define elxBaseComponent_h
152 template <
typename TBaseComponent>
154 AsITKBaseType(TBaseComponent *
const baseComponent) ->
decltype(baseComponent->GetAsITKBaseType())
156 return (baseComponent ==
nullptr) ? nullptr : baseComponent->GetAsITKBaseType();
The BaseComponent class is a class that all elastix components should inherit from.
void SetComponentLabel(const char *label, unsigned int idx)
virtual void AfterRegistration()
virtual const char * elxGetClassName() const
virtual void AfterEachResolutionBase()
virtual void BeforeRegistrationBase()
virtual void BeforeRegistration()
virtual void BeforeEachResolutionBase()
static void InitializeElastixExecutable()
static bool IsElastixLibrary()
ITK_DISALLOW_COPY_AND_MOVE(BaseComponent)
virtual int BeforeAllBase()
virtual ~BaseComponent()=default
const char * GetComponentLabel() const
virtual void AfterEachIteration()
virtual void BeforeEachResolution()
std::string m_ComponentLabel
virtual void AfterEachResolution()
static auto AsITKBaseType(TBaseComponent *const baseComponent) -> decltype(baseComponent->GetAsITKBaseType())
virtual void AfterEachIterationBase()
itkTypeMacroNoParent(BaseComponent)
virtual void AfterRegistrationBase()