18#ifndef elxBaseComponentSE_h
19#define elxBaseComponentSE_h
26#include <itkWeakPointer.h>
46template <
class TElastix>
85 return this->m_Elastix.GetPointer();
91 this->m_Elastix->GetIterationInfo().RemoveTargetCell(name);
97 return this->m_Elastix->GetIterationInfoAt(name);
103 return this->m_Elastix->AddTargetCellToIterationInfo(name);
113 return this->m_Configuration.GetPointer();
129 return this->m_Registration;
137 itk::WeakPointer<TElastix> m_Elastix{};
142 virtual const itk::Object &
145 virtual itk::Object &
151#ifndef ITK_MANUAL_INSTANTIATION
152# include "elxBaseComponentSE.hxx"
The BaseComponentSE class is a base class for elastix components that provides some basic functionali...
BaseComponentSE()=default
void AddTargetCellToIterationInfo(const char *const name)
void SetConfiguration(const Configuration *_arg)
auto & GetIterationInfoAt(const char *const name)
RegistrationType * GetRegistration() const
~BaseComponentSE() override=default
ElastixType * GetElastix() const
void SetElastix(ElastixType *_arg)
const Configuration * GetConfiguration() const
ITK_DISALLOW_COPY_AND_MOVE(BaseComponentSE)
virtual itk::Object & GetSelf()=0
typename ElastixType::RegistrationBaseType RegistrationType
virtual const itk::Object & GetSelf() const =0
void RemoveTargetCellFromIterationInfo(const char *const name)
The BaseComponent class is a class that all elastix components should inherit from.
A class that deals with user given parameters and command line arguments.
itk::SmartPointer< const Self > ConstPointer