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  using namespace itk;
25 
41 template <class TElastix>
43 {
44 public:
45 
49 
51  typedef TElastix ElastixType;
52  typedef typename ElastixType::Pointer ElastixPointer;
53 
55  typedef typename ElastixType::ConfigurationType ConfigurationType;
56  typedef typename ElastixType::ConfigurationPointer ConfigurationPointer;
57 
61  typedef typename ElastixType::RegistrationBaseType RegistrationType;
63 
76  virtual void SetElastix( ElastixType * _arg );
77 
81  virtual ElastixType * GetElastix( void ) const
82  {
83  return this->m_Elastix.GetPointer();
84  }
85 
90  virtual ConfigurationType * GetConfiguration( void ) const
91  {
92  return this->m_Configuration.GetPointer();
93  }
94 
96  virtual void SetConfiguration( ConfigurationType * _arg );
97 
103  virtual RegistrationPointer GetRegistration( void ) const
104  {
105  return this->m_Registration;
106  }
107 
108 protected:
109 
110  BaseComponentSE();
111  virtual ~BaseComponentSE() {}
112 
116 
117 private:
118 
119  BaseComponentSE( const Self& ); // purposely not implemented
120  void operator=( const Self& ); // purposely not implemented
121 
122 }; // end class BaseComponentSE
123 
124 
125 } //end namespace elastix
126 
127 
128 #ifndef ITK_MANUAL_INSTANTIATION
129 #include "elxBaseComponentSE.hxx"
130 #endif
131 
132 #endif // end #ifndef __elxBaseComponentSE_h
133 


Generated on 21-03-2014 for elastix by doxygen 1.8.1.2 elastix logo