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  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __elxBaseComponentSE_h
19 #define __elxBaseComponentSE_h
20 
21 #include "elxBaseComponent.h"
22 #include "itkObject.h"
23 
24 namespace elastix
25 {
26 
42 template< class TElastix >
44 {
45 public:
46 
50 
52  typedef TElastix ElastixType;
53  typedef itk::WeakPointer< ElastixType > ElastixPointer;
54 
56  typedef typename ElastixType::ConfigurationType ConfigurationType;
57  typedef typename ElastixType::ConfigurationPointer ConfigurationPointer;
58 
62  typedef typename ElastixType::RegistrationBaseType RegistrationType;
64 
77  virtual void SetElastix( ElastixType * _arg );
78 
82  virtual ElastixType * GetElastix( void ) const
83  {
84  return this->m_Elastix.GetPointer();
85  }
86 
87 
92  virtual ConfigurationType * GetConfiguration( void ) const
93  {
94  return this->m_Configuration.GetPointer();
95  }
96 
97 
99  virtual void SetConfiguration( ConfigurationType * _arg );
100 
106  virtual RegistrationPointer GetRegistration( void ) const
107  {
108  return this->m_Registration;
109  }
110 
111 
112 protected:
113 
115  virtual ~BaseComponentSE() {}
116 
117  ElastixPointer m_Elastix;
120 
121 private:
122 
123  BaseComponentSE( const Self & ); // purposely not implemented
124  void operator=( const Self & ); // purposely not implemented
125 
126 };
127 
128 } //end namespace elastix
129 
130 #ifndef ITK_MANUAL_INSTANTIATION
131 #include "elxBaseComponentSE.hxx"
132 #endif
133 
134 #endif // end #ifndef __elxBaseComponentSE_h
elastix::BaseComponentSE::BaseComponentSE
BaseComponentSE()
elastix::BaseComponentSE::BaseComponentSE
BaseComponentSE(const Self &)
elastix::BaseComponent
The BaseComponent class is a class that all elastix components should inherit from.
Definition: elxBaseComponent.h:68
elastix::BaseComponentSE::GetRegistration
virtual RegistrationPointer GetRegistration(void) const
Definition: elxBaseComponentSE.h:106
elastix::BaseComponentSE::m_Registration
RegistrationPointer m_Registration
Definition: elxBaseComponentSE.h:119
elastix::BaseComponentSE::m_Configuration
ConfigurationPointer m_Configuration
Definition: elxBaseComponentSE.h:118
elastix::BaseComponentSE::RegistrationPointer
RegistrationType * RegistrationPointer
Definition: elxBaseComponentSE.h:63
elastix::BaseComponentSE::ElastixType
TElastix ElastixType
Definition: elxBaseComponentSE.h:52
elastix::BaseComponentSE::ConfigurationPointer
ElastixType::ConfigurationPointer ConfigurationPointer
Definition: elxBaseComponentSE.h:57
elastix::BaseComponentSE
The BaseComponentSE class is a base class for elastix components that provides some basic functionali...
Definition: elxBaseComponentSE.h:44
elastix::BaseComponentSE::Superclass
BaseComponent Superclass
Definition: elxBaseComponentSE.h:49
elastix::BaseComponentSE::GetConfiguration
virtual ConfigurationType * GetConfiguration(void) const
Definition: elxBaseComponentSE.h:92
elastix::BaseComponentSE::ElastixPointer
itk::WeakPointer< ElastixType > ElastixPointer
Definition: elxBaseComponentSE.h:53
elastix::BaseComponentSE::SetElastix
virtual void SetElastix(ElastixType *_arg)
elastix::BaseComponentSE::m_Elastix
ElastixPointer m_Elastix
Definition: elxBaseComponentSE.h:117
elastix::BaseComponentSE::SetConfiguration
virtual void SetConfiguration(ConfigurationType *_arg)
elxBaseComponent.h
elastix::BaseComponentSE::~BaseComponentSE
virtual ~BaseComponentSE()
Definition: elxBaseComponentSE.h:115
elastix::BaseComponentSE::Self
BaseComponentSE Self
Definition: elxBaseComponentSE.h:48
elastix::BaseComponentSE::GetElastix
virtual ElastixType * GetElastix(void) const
Definition: elxBaseComponentSE.h:82
elastix::BaseComponentSE::ConfigurationType
ElastixType::ConfigurationType ConfigurationType
Definition: elxBaseComponentSE.h:56
elastix
Definition: elxFixedGenericPyramid.h:25
elastix::BaseComponentSE::operator=
void operator=(const Self &)
elastix::BaseComponentSE::RegistrationType
ElastixType::RegistrationBaseType RegistrationType
Definition: elxBaseComponentSE.h:62


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo