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 | Private Member Functions
elastix::ImageSamplerBase< TElastix > Class Template Reference

#include <elxImageSamplerBase.h>

Detailed Description

template<class TElastix>
class elastix::ImageSamplerBase< TElastix >

This class is the elastix base class for all ImageSamplers.

This class contains all the common functionality for ImageSamplers.

Definition at line 44 of file elxImageSamplerBase.h.

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

Public Types

using ElastixType = TElastix
 
using InputImageType = typename ElastixType::FixedImageType
 
using ITKBaseType = itk::ImageSamplerBase< InputImageType >
 
using RegistrationType = typename ElastixType::RegistrationBaseType
 
using Self = ImageSamplerBase
 
using Superclass = BaseComponentSE< TElastix >
 
- Public Types inherited from elastix::BaseComponentSE< TElastix >
using ConfigurationPointer = Configuration::Pointer
 
using ElastixType = TElastix
 
using RegistrationType = typename ElastixType::RegistrationBaseType
 
using Self = BaseComponentSE
 
using Superclass = BaseComponent
 

Public Member Functions

void BeforeEachResolutionBase () override
 
ITKBaseTypeGetAsITKBaseType ()
 
const ITKBaseTypeGetAsITKBaseType () const
 
virtual const char * GetClassName () const
 
 ITK_DISALLOW_COPY_AND_MOVE (ImageSamplerBase)
 
- Public Member Functions inherited from elastix::BaseComponentSE< TElastix >
void AddTargetCellToIterationInfo (const char *const name)
 
ConfigurationGetConfiguration () const
 
ElastixTypeGetElastix () const
 
xl::xoutbaseGetIterationInfoAt (const char *const name)
 
RegistrationTypeGetRegistration () const
 
 ITK_DISALLOW_COPY_AND_MOVE (BaseComponentSE)
 
int RemoveTargetCellFromIterationInfo (const char *const name)
 
void SetConfiguration (Configuration *_arg)
 
void SetElastix (ElastixType *_arg)
 
- Public Member Functions inherited from elastix::BaseComponent
virtual void AfterEachIteration ()
 
virtual void AfterEachIterationBase ()
 
virtual void AfterEachResolution ()
 
virtual void AfterEachResolutionBase ()
 
virtual void AfterRegistration ()
 
virtual void AfterRegistrationBase ()
 
virtual int BeforeAll ()
 
virtual int BeforeAllBase ()
 
virtual void BeforeEachResolution ()
 
virtual void BeforeEachResolutionBase ()
 
virtual void BeforeRegistration ()
 
virtual void BeforeRegistrationBase ()
 
virtual const char * elxGetClassName () const
 
const char * GetComponentLabel () const
 
 ITK_DISALLOW_COPY_AND_MOVE (BaseComponent)
 
 itkTypeMacroNoParent (BaseComponent)
 
void SetComponentLabel (const char *label, unsigned int idx)
 

Protected Member Functions

 ImageSamplerBase ()=default
 
 ~ImageSamplerBase () override=default
 
- Protected Member Functions inherited from elastix::BaseComponentSE< TElastix >
 BaseComponentSE ()=default
 
 ~BaseComponentSE () override=default
 
- Protected Member Functions inherited from elastix::BaseComponent
 BaseComponent ()=default
 
virtual ~BaseComponent ()=default
 

Private Member Functions

 elxDeclarePureVirtualGetSelfMacro (ITKBaseType)
 

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 ()
 
- Protected Attributes inherited from elastix::BaseComponentSE< TElastix >
ConfigurationPointer m_Configuration {}
 
itk::WeakPointer< TElastix > m_Elastix {}
 
RegistrationTypem_Registration {}
 

Member Typedef Documentation

◆ ElastixType

template<class TElastix >
using elastix::BaseComponentSE< TElastix >::ElastixType = TElastix

Elastix typedef.

Definition at line 57 of file elxBaseComponentSE.h.

◆ InputImageType

template<class TElastix >
using elastix::ImageSamplerBase< TElastix >::InputImageType = typename ElastixType::FixedImageType

Other typedef's.

Definition at line 61 of file elxImageSamplerBase.h.

◆ ITKBaseType

template<class TElastix >
using elastix::ImageSamplerBase< TElastix >::ITKBaseType = itk::ImageSamplerBase<InputImageType>

ITKBaseType.

Definition at line 64 of file elxImageSamplerBase.h.

◆ RegistrationType

template<class TElastix >
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 65 of file elxBaseComponentSE.h.

◆ Self

template<class TElastix >
using elastix::ImageSamplerBase< TElastix >::Self = ImageSamplerBase

Standard ITK-stuff.

Definition at line 50 of file elxImageSamplerBase.h.

◆ Superclass

template<class TElastix >
using elastix::ImageSamplerBase< TElastix >::Superclass = BaseComponentSE<TElastix>

Definition at line 51 of file elxImageSamplerBase.h.

Constructor & Destructor Documentation

◆ ImageSamplerBase()

template<class TElastix >
elastix::ImageSamplerBase< TElastix >::ImageSamplerBase ( )
protecteddefault

The constructor.

◆ ~ImageSamplerBase()

template<class TElastix >
elastix::ImageSamplerBase< TElastix >::~ImageSamplerBase ( )
overrideprotecteddefault

The destructor.

Member Function Documentation

◆ BeforeEachResolutionBase()

template<class TElastix >
void elastix::ImageSamplerBase< TElastix >::BeforeEachResolutionBase ( )
overridevirtual

Execute stuff before each resolution:

  • Give a warning when NewSamplesEveryIteration is specified, but the sampler is ignoring it.

Reimplemented from elastix::BaseComponent.

◆ elxDeclarePureVirtualGetSelfMacro()

template<class TElastix >
elastix::ImageSamplerBase< TElastix >::elxDeclarePureVirtualGetSelfMacro ( ITKBaseType  )
private

◆ GetAsITKBaseType() [1/2]

template<class TElastix >
ITKBaseType * elastix::ImageSamplerBase< TElastix >::GetAsITKBaseType ( )
inline

Retrieves this object as ITKBaseType.

Definition at line 68 of file elxImageSamplerBase.h.

◆ GetAsITKBaseType() [2/2]

template<class TElastix >
const ITKBaseType * elastix::ImageSamplerBase< TElastix >::GetAsITKBaseType ( ) const
inline

Retrieves this object as ITKBaseType, to use in const functions.

Definition at line 76 of file elxImageSamplerBase.h.

◆ GetClassName()

template<class TElastix >
virtual const char * elastix::ImageSamplerBase< TElastix >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

◆ ITK_DISALLOW_COPY_AND_MOVE()

template<class TElastix >
elastix::ImageSamplerBase< TElastix >::ITK_DISALLOW_COPY_AND_MOVE ( ImageSamplerBase< TElastix >  )


Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo