go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxBaseComponentSE.h
Go to the documentation of this file.
1 /*======================================================================
2 
3  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 
15 #ifndef __elxBaseComponentSE_h
16 #define __elxBaseComponentSE_h
17 
18 #include "elxBaseComponent.h"
19 #include "itkObject.h"
20 
21 
22 namespace elastix
23 {
24 
40 template <class TElastix>
42 {
43 public:
44 
48 
50  typedef TElastix ElastixType;
51  typedef typename ElastixType::Pointer ElastixPointer;
52 
54  typedef typename ElastixType::ConfigurationType ConfigurationType;
55  typedef typename ElastixType::ConfigurationPointer ConfigurationPointer;
56 
60  typedef typename ElastixType::RegistrationBaseType RegistrationType;
62 
75  virtual void SetElastix( ElastixType * _arg );
76 
80  virtual ElastixType * GetElastix( void ) const
81  {
82  return this->m_Elastix.GetPointer();
83  }
84 
89  virtual ConfigurationType * GetConfiguration( void ) const
90  {
91  return this->m_Configuration.GetPointer();
92  }
93 
95  virtual void SetConfiguration( ConfigurationType * _arg );
96 
102  virtual RegistrationPointer GetRegistration( void ) const
103  {
104  return this->m_Registration;
105  }
106 
107 protected:
108 
109  BaseComponentSE();
110  virtual ~BaseComponentSE() {}
111 
115 
116 private:
117 
118  BaseComponentSE( const Self& ); // purposely not implemented
119  void operator=( const Self& ); // purposely not implemented
120 
121 }; // end class BaseComponentSE
122 
123 
124 } //end namespace elastix
125 
126 
127 #ifndef ITK_MANUAL_INSTANTIATION
128 #include "elxBaseComponentSE.hxx"
129 #endif
130 
131 #endif // end #ifndef __elxBaseComponentSE_h
132 
The BaseComponentSE class is a base class for elastix components that provides some basic functionali...
ElastixType::RegistrationBaseType RegistrationType
ElastixType::ConfigurationPointer ConfigurationPointer
ElastixType::Pointer ElastixPointer
ElastixType::ConfigurationType ConfigurationType
void operator=(const Self &)
virtual ElastixType * GetElastix(void) const
The BaseComponent class is a class that all elastix components should inherit from.
RegistrationType * RegistrationPointer
ConfigurationPointer m_Configuration
virtual ConfigurationType * GetConfiguration(void) const
virtual void SetElastix(ElastixType *_arg)
virtual void SetConfiguration(ConfigurationType *_arg)
RegistrationPointer m_Registration
virtual RegistrationPointer GetRegistration(void) const


Generated on 05-01-2014 for elastix by doxygen 1.8.5 elastix logo