go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Data Structures | Namespaces | Macros
elxElastixBase.h File Reference
#include "elxBaseComponent.h"
#include "elxComponentDatabase.h"
#include "elxConfiguration.h"
#include "elxMacro.h"
#include "xoutmain.h"
#include <itkChangeInformationImageFilter.h>
#include <itkDataObject.h>
#include <itkImageFileReader.h>
#include <itkObject.h>
#include <itkTimeProbe.h>
#include <itkVectorContainer.h>
#include <fstream>
#include <iomanip>
Include dependency graph for elxElastixBase.h:

Go to the source code of this file.

Data Structures

class  elastix::ElastixBase
 
class  elastix::ElastixBase::MultipleImageLoader< TImage >
 

Namespaces

namespace  elastix
 

Macros

#define elxGetNumberOfMacro(_name)
 
#define elxGetObjectMacro(_name, _type)    _type * Get##_name() const { return this->m_##_name.GetPointer(); }
 
#define elxSetObjectMacro(_name, _type)
 

Macro Definition Documentation

◆ elxGetNumberOfMacro

#define elxGetNumberOfMacro (   _name)
Value:
unsigned int GetNumberOf##_name##s() const \
{ \
if (this->m_##_name##Container != nullptr) \
{ \
return this->m_##_name##Container->Size(); \
} \
return 0; \
}

defines for example: GetNumberOfMetrics()

Definition at line 70 of file elxElastixBase.h.

◆ elxGetObjectMacro

#define elxGetObjectMacro (   _name,
  _type 
)     _type * Get##_name() const { return this->m_##_name.GetPointer(); }

This file contains the declaration of the elx::ElastixBase class. elx::ElastixTemplate<> inherits from this class. It is an abstract class, since it contains pure virtual functions (which must be implemented in ElastixTemplate<>).

The Configuration object is stored in this class. Like itkGet/SetObjectMacro, but in these macros the itkDebugMacro is not called. Besides, they are not virtual, since for now we do not need to override them somewhere.

These macros are undef'd at the end of this file

Definition at line 54 of file elxElastixBase.h.

◆ elxSetObjectMacro

#define elxSetObjectMacro (   _name,
  _type 
)
Value:
void Set##_name(_type * _arg) \
{ \
if (this->m_##_name != _arg) \
{ \
this->m_##_name = _arg; \
this->itk::Object::Modified(); \
} \
}

Definition at line 58 of file elxElastixBase.h.



Generated on Wed 12 Apr 2023 for elastix by doxygen 1.9.6 elastix logo