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 | Defines
elxElastixBase.h File Reference

Go to the source code of this file.

Data Structures

class  elastix::ElastixBase
 This class creates an interface for elastix. More...
class  elastix::ElastixBase::MultipleImageLoader< TImage >

Namespaces

namespace  elastix

Defines

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

Define 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 66 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 47 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 54 of file elxElastixBase.h.



Generated on 11-05-2012 for elastix by doxygen 1.7.6.1 elastix logo