go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxTransformixMain.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 elxTransformixMain_h
19#define elxTransformixMain_h
20
21#include "elxMainBase.h"
22#include <itkTransformBase.h>
23
24namespace elastix
25{
40{
41public:
43
47 using Pointer = itk::SmartPointer<Self>;
48 using ConstPointer = itk::SmartPointer<const Self>;
49
51 itkNewMacro(Self);
52
55
61
68
78
81
82 using Superclass::Run;
83
85 int
86 Run() override;
87
89 int
90 Run(const ArgumentMapType & argmap,
91 const std::vector<ParameterMapType> & transformParameterMaps,
92 itk::TransformBase * = nullptr);
93
95 virtual void
97
98protected:
99 TransformixMain() = default;
101
105 int
106 InitDBIndex() override;
107
108private:
110 int
111 RunWithTransform(itk::TransformBase *);
112
113 // Version used when transformix is used as a library.
114 void
116 const std::vector<ParameterMapType> & transformParameterMaps);
117};
118
119} // end namespace elastix
120
121#endif // end #ifndef elxTransformixMain_h
A class with all functionality to configure elastix.
Common (abstract) base class of ElastixMain and TransformixMain.
Definition elxMainBase.h:45
ComponentDatabase::ComponentDescriptionType ComponentDescriptionType
Definition elxMainBase.h:77
ElastixBase::ObjectContainerType ObjectContainerType
Definition elxMainBase.h:66
ElastixBase::ObjectContainerPointer ObjectContainerPointer
Definition elxMainBase.h:68
virtual int Run()=0
itk::ParameterMapInterface::ParameterMapType ParameterMapType
Definition elxMainBase.h:83
ComponentDatabase::PtrToCreator PtrToCreator
Definition elxMainBase.h:76
ElastixBase::DataObjectContainerType DataObjectContainerType
Definition elxMainBase.h:67
ComponentDatabase::Pointer ComponentDatabasePointer
Definition elxMainBase.h:75
ElastixBase::DataObjectContainerPointer DataObjectContainerPointer
Definition elxMainBase.h:69
itk::Object::Pointer ObjectPointer
Definition elxMainBase.h:61
itk::DataObject::Pointer DataObjectPointer
Definition elxMainBase.h:62
ComponentDatabase::PixelTypeDescriptionType PixelTypeDescriptionType
Definition elxMainBase.h:78
Configuration::CommandLineArgumentMapType ArgumentMapType
Definition elxMainBase.h:65
A class with all functionality to configure transformix.
int RunWithTransform(itk::TransformBase *)
void EnterCommandLineArgumentsWithTransformParameterMaps(const ArgumentMapType &argmap, const std::vector< ParameterMapType > &transformParameterMaps)
itk::SmartPointer< const Self > ConstPointer
int Run(const ArgumentMapType &argmap, const std::vector< ParameterMapType > &transformParameterMaps, itk::TransformBase *=nullptr)
ElastixBase::DataObjectContainerType DataObjectContainerType
Definition elxMainBase.h:67
int InitDBIndex() override
itk::SmartPointer< Self > Pointer
virtual void SetInputImageContainer(DataObjectContainerType *inputImageContainer)
Configuration::CommandLineArgumentMapType ArgumentMapType
Definition elxMainBase.h:65
ITK_DISALLOW_COPY_AND_MOVE(TransformixMain)


Generated on 2024-07-17 for elastix by doxygen 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) elastix logo