go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
elastix::BaseComponentSE< TElastix > Class Template Reference

#include <elxBaseComponentSE.h>

Detailed Description

template<class TElastix>
class elastix::BaseComponentSE< TElastix >

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.

See also
BaseComponent

Definition at line 43 of file elxBaseComponentSE.h.

Inheritance diagram for elastix::BaseComponentSE< TElastix >:
Inheritance graph
[legend]

Public Types

typedef ElastixType::ConfigurationPointer ConfigurationPointer
 
typedef ElastixType::ConfigurationType ConfigurationType
 
typedef ElastixType::Pointer ElastixPointer
 
typedef TElastix ElastixType
 
typedef RegistrationTypeRegistrationPointer
 
typedef ElastixType::RegistrationBaseType RegistrationType
 
typedef BaseComponentSE Self
 
typedef BaseComponent Superclass
 

Public Member Functions

virtual ConfigurationTypeGetConfiguration (void) const
 
virtual ElastixTypeGetElastix (void) const
 
virtual RegistrationPointer GetRegistration (void) const
 
virtual void SetConfiguration (ConfigurationType *_arg)
 
virtual void SetElastix (ElastixType *_arg)
 
- Public Member Functions inherited from elastix::BaseComponent
virtual void AfterEachIteration (void)
 
virtual void AfterEachIterationBase (void)
 
virtual void AfterEachResolution (void)
 
virtual void AfterEachResolutionBase (void)
 
virtual void AfterRegistration (void)
 
virtual void AfterRegistrationBase (void)
 
virtual int BeforeAll (void)
 
virtual int BeforeAllBase (void)
 
virtual void BeforeEachResolution (void)
 
virtual void BeforeEachResolutionBase (void)
 
virtual void BeforeRegistration (void)
 
virtual void BeforeRegistrationBase (void)
 
std::string ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision) const
 
virtual const char * elxGetClassName (void) const
 
virtual const char * GetComponentLabel (void) const
 
virtual void SetComponentLabel (const char *label, unsigned int idx)
 

Protected Member Functions

 BaseComponentSE ()
 
virtual ~BaseComponentSE ()
 
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()
 
virtual ~BaseComponent ()
 

Protected Attributes

ConfigurationPointer m_Configuration
 
ElastixPointer m_Elastix
 
RegistrationPointer m_Registration
 

Private Member Functions

 BaseComponentSE (const Self &)
 
void operator= (const Self &)
 

Member Typedef Documentation

template<class TElastix >
typedef ElastixType::ConfigurationPointer elastix::BaseComponentSE< TElastix >::ConfigurationPointer

Definition at line 57 of file elxBaseComponentSE.h.

template<class TElastix >
typedef ElastixType::ConfigurationType elastix::BaseComponentSE< TElastix >::ConfigurationType

ConfigurationType.

Definition at line 56 of file elxBaseComponentSE.h.

template<class TElastix >
typedef ElastixType::Pointer elastix::BaseComponentSE< TElastix >::ElastixPointer

Definition at line 53 of file elxBaseComponentSE.h.

template<class TElastix >
typedef TElastix elastix::BaseComponentSE< TElastix >::ElastixType

Elastix typedef's.

Definition at line 52 of file elxBaseComponentSE.h.

template<class TElastix >
typedef RegistrationType* elastix::BaseComponentSE< TElastix >::RegistrationPointer

Definition at line 63 of file elxBaseComponentSE.h.

template<class TElastix >
typedef ElastixType::RegistrationBaseType elastix::BaseComponentSE< TElastix >::RegistrationType

RegistrationType; NB: this is the elx::RegistrationBase not an itk::Object or something like that.

Definition at line 62 of file elxBaseComponentSE.h.

template<class TElastix >
typedef BaseComponentSE elastix::BaseComponentSE< TElastix >::Self

Standard stuff.

Definition at line 48 of file elxBaseComponentSE.h.

template<class TElastix >
typedef BaseComponent elastix::BaseComponentSE< TElastix >::Superclass

Definition at line 49 of file elxBaseComponentSE.h.

Constructor & Destructor Documentation

template<class TElastix >
elastix::BaseComponentSE< TElastix >::BaseComponentSE ( )
protected
template<class TElastix >
virtual elastix::BaseComponentSE< TElastix >::~BaseComponentSE ( )
inlineprotectedvirtual

Definition at line 115 of file elxBaseComponentSE.h.

template<class TElastix >
elastix::BaseComponentSE< TElastix >::BaseComponentSE ( const Self )
private

Member Function Documentation

template<class TElastix >
virtual ConfigurationType* elastix::BaseComponentSE< TElastix >::GetConfiguration ( void  ) const
inlinevirtual

itkGetObjectMacro(Configuration, ConfigurationType); The configuration object provides functionality to read parameters and command line arguments.

Definition at line 92 of file elxBaseComponentSE.h.

template<class TElastix >
virtual ElastixType* elastix::BaseComponentSE< TElastix >::GetElastix ( void  ) const
inlinevirtual

itkGetObjectMacro( Elastix, ElastixType ); without the itkDebug call.

Definition at line 82 of file elxBaseComponentSE.h.

template<class TElastix >
virtual RegistrationPointer elastix::BaseComponentSE< TElastix >::GetRegistration ( void  ) const
inlinevirtual

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 106 of file elxBaseComponentSE.h.

template<class TElastix >
void elastix::BaseComponentSE< TElastix >::operator= ( const Self )
private
template<class TElastix >
virtual void elastix::BaseComponentSE< TElastix >::SetConfiguration ( ConfigurationType _arg)
virtual

Set the configuration. Added for transformix.

template<class TElastix >
virtual void elastix::BaseComponentSE< TElastix >::SetElastix ( ElastixType _arg)
virtual

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.

Field Documentation

template<class TElastix >
ConfigurationPointer elastix::BaseComponentSE< TElastix >::m_Configuration
protected

Definition at line 118 of file elxBaseComponentSE.h.

template<class TElastix >
ElastixPointer elastix::BaseComponentSE< TElastix >::m_Elastix
protected

Definition at line 117 of file elxBaseComponentSE.h.

template<class TElastix >
RegistrationPointer elastix::BaseComponentSE< TElastix >::m_Registration
protected

Definition at line 119 of file elxBaseComponentSE.h.



Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo