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 namespace elastix
22 {
23 
39 template< class TElastix >
41 {
42 public:
43 
47 
49  typedef TElastix ElastixType;
50  typedef typename ElastixType::Pointer ElastixPointer;
51 
53  typedef typename ElastixType::ConfigurationType ConfigurationType;
54  typedef typename ElastixType::ConfigurationPointer ConfigurationPointer;
55 
59  typedef typename ElastixType::RegistrationBaseType RegistrationType;
61 
74  virtual void SetElastix( ElastixType * _arg );
75 
79  virtual ElastixType * GetElastix( void ) const
80  {
81  return this->m_Elastix.GetPointer();
82  }
83 
84 
89  virtual ConfigurationType * GetConfiguration( void ) const
90  {
91  return this->m_Configuration.GetPointer();
92  }
93 
94 
96  virtual void SetConfiguration( ConfigurationType * _arg );
97 
103  virtual RegistrationPointer GetRegistration( void ) const
104  {
105  return this->m_Registration;
106  }
107 
108 
109 protected:
110 
111  BaseComponentSE();
112  virtual ~BaseComponentSE() {}
113 
117 
118 private:
119 
120  BaseComponentSE( const Self & ); // purposely not implemented
121  void operator=( const Self & ); // purposely not implemented
122 
123 };
124 
125 } //end namespace elastix
126 
127 #ifndef ITK_MANUAL_INSTANTIATION
128 #include "elxBaseComponentSE.hxx"
129 #endif
130 
131 #endif // end #ifndef __elxBaseComponentSE_h
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 27-04-2014 for elastix by doxygen 1.8.6 elastix logo