#include <elxBaseComponentSE.h>
The BaseComponentSE class is a base class for elastix components that provides some basic functionality.
Most elastix component will not directly inherit from the elx::BaseComponent class but from this one, since it adds some methods that most methods need anyway, such as Set/GetElastix, Set/GetConfiguration.
Definition at line 47 of file elxBaseComponentSE.h.
Public Types | |
using | ElastixType = TElastix |
using | RegistrationType = typename ElastixType::RegistrationBaseType |
using | Self = BaseComponentSE |
using | Superclass = BaseComponent |
Protected Member Functions | |
BaseComponentSE ()=default | |
~BaseComponentSE () override=default | |
Protected Member Functions inherited from elastix::BaseComponent | |
BaseComponent ()=default | |
virtual | ~BaseComponent ()=default |
Protected Attributes | |
Configuration::ConstPointer | m_Configuration {} |
itk::WeakPointer< TElastix > | m_Elastix {} |
RegistrationType * | m_Registration {} |
Private Member Functions | |
virtual const itk::Object & | GetSelf () const =0 |
virtual itk::Object & | GetSelf ()=0 |
Additional Inherited Members | |
Static Public Member Functions inherited from elastix::BaseComponent | |
template<typename TBaseComponent > | |
static auto | AsITKBaseType (TBaseComponent *const baseComponent) -> decltype(baseComponent->GetAsITKBaseType()) |
static void | InitializeElastixExecutable () |
static bool | IsElastixLibrary () |
using elastix::BaseComponentSE< TElastix >::ElastixType = TElastix |
Elastix typedef.
Definition at line 57 of file elxBaseComponentSE.h.
using elastix::BaseComponentSE< TElastix >::RegistrationType = typename ElastixType::RegistrationBaseType |
RegistrationType; NB: this is the elx::RegistrationBase not an itk::Object or something like that.
Definition at line 62 of file elxBaseComponentSE.h.
using elastix::BaseComponentSE< TElastix >::Self = BaseComponentSE |
Standard stuff.
Definition at line 53 of file elxBaseComponentSE.h.
using elastix::BaseComponentSE< TElastix >::Superclass = BaseComponent |
Definition at line 54 of file elxBaseComponentSE.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
inline |
Definition at line 101 of file elxBaseComponentSE.h.
|
inline |
itkGetModifiableObjectMacro(Configuration, Configuration); The configuration object provides functionality to read parameters and command line arguments.
Definition at line 111 of file elxBaseComponentSE.h.
|
inline |
itkGetModifiableObjectMacro( Elastix, ElastixType ); without the itkDebug call.
Definition at line 83 of file elxBaseComponentSE.h.
|
inline |
Definition at line 95 of file elxBaseComponentSE.h.
|
inline |
Get a pointer to the Registration component. This is a convenience function, since the registration component is needed often by other components. It could be accessed also via GetElastix->GetElxRegistrationBase().
Definition at line 127 of file elxBaseComponentSE.h.
|
privatepure virtual |
|
privatepure virtual |
elastix::BaseComponentSE< TElastix >::ITK_DISALLOW_COPY_AND_MOVE | ( | BaseComponentSE< TElastix > | ) |
|
inline |
Definition at line 89 of file elxBaseComponentSE.h.
void elastix::BaseComponentSE< TElastix >::SetConfiguration | ( | const Configuration * | _arg | ) |
Set the configuration. Added for transformix.
void elastix::BaseComponentSE< TElastix >::SetElastix | ( | ElastixType * | _arg | ) |
Get/Set functions for Elastix. The Set-functions cannot be defined with the itkSetObjectMacro, since this class does not derive from itk::Object and thus does not have a Modified() method.
This method checks if this instance of the class can be casted (dynamically) to an itk::Object. If yes, it calls Modified()
Besides setting m_Elastix, this method also sets m_Configuration and m_Registration.
|
protected |
Definition at line 138 of file elxBaseComponentSE.h.
|
protected |
Definition at line 137 of file elxBaseComponentSE.h.
|
protected |
Definition at line 139 of file elxBaseComponentSE.h.
Generated on 2024-07-17 for elastix by 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) |