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 "itkObject.h"
#include "itkDataObject.h"
#include "elxMacro.h"
#include "xoutmain.h"
#include "itkVectorContainer.h"
#include "itkImageFileReader.h"
#include "itkChangeInformationImageFilter.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::MultipleDataObjectFiller
 
class  elastix::ElastixBase::MultipleImageLoader< TImage >
 

Namespaces

 elastix
 

Macros

#define elxGetNumberOfMacro(_name)
 
#define elxGetObjectMacro(_name, _type)
 
#define elxSetObjectMacro(_name, _type)
 

Macro Definition Documentation

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

defines for example: GetNumberOfMetrics()

Definition at line 70 of file elxElastixBase.h.

#define elxGetObjectMacro (   _name,
  _type 
)
Value:
virtual _type * Get##_name( void ) 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 51 of file elxElastixBase.h.

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

Definition at line 58 of file elxElastixBase.h.



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