SimpleITK  
sitkTransformixImageFilterImpl.h
Go to the documentation of this file.
1#ifndef sitktransformiximagefilterimpl_h
2#define sitktransformiximagefilterimpl_h
3
4// SimpleITK
7
8// Transformix
9#include "itkTransformixFilter.h"
10#include "elxParameterObject.h"
11
12namespace itk::simple
13{
14
16{
17public:
20
22
23 typedef elastix::ParameterObject ParameterObjectType;
24 typedef ParameterObjectType::Pointer ParameterObjectPointer;
25 typedef ParameterObjectType::ParameterMapType ParameterMapType;
26 typedef ParameterObjectType::ParameterMapVectorType ParameterMapVectorType;
27 typedef ParameterMapType::iterator ParameterMapIterator;
28 typedef ParameterMapType::const_iterator ParameterMapConstIterator;
29 typedef itk::ParameterFileParser ParameterFileParserType;
30 typedef ParameterFileParserType::Pointer ParameterFileParserPointer;
31 typedef ParameterObjectType::ParameterKeyType ParameterKeyType;
32 typedef ParameterObjectType::ParameterValueType ParameterValueType;
33 typedef ParameterObjectType::ParameterValueVectorType ParameterValueVectorType;
34
35 std::string
36 GetName() const;
37
38 void
39 SetMovingImage(const Image & movingImage);
40 Image &
42 void
44
45 void
46 SetFixedPointSetFileName(const std::string movingPointSetFileName);
47 std::string
49 void
51
52 void
54 bool
56 void
58 void
60
61 void
63 bool
65 void
67 void
69
70 void
72 bool
74 void
76 void
78
79 void
80 SetOutputDirectory(const std::string outputDirectory);
81 std::string
83 void
85
86 void
87 SetLogFileName(const std::string logFileName);
88 std::string
90 void
92
93 void
94 SetLogToFile(const bool logToFile);
95 bool
97 void
99 void
101
102 void
103 SetLogToConsole(const bool logToConsole);
104 bool
106 void
108 void
110
111 void
112 SetTransformParameterMap(const std::vector<std::map<std::string, std::vector<std::string>>> parameterMapVector);
113 void
114 SetTransformParameterMap(const std::map<std::string, std::vector<std::string>> parameterMap);
115 void
116 AddTransformParameterMap(const std::map<std::string, std::vector<std::string>> parameterMap);
117 std::vector<std::map<std::string, std::vector<std::string>>>
119 unsigned int
121
122 void
123 SetTransformParameter(const std::string key, const std::string value);
124 void
125 SetTransformParameter(const std::string key, const std::vector<std::string> value);
126 void
127 SetTransformParameter(const unsigned int index, const std::string key, const std::string value);
128 void
129 SetTransformParameter(const unsigned int index, const std::string key, const std::vector<std::string> value);
130 void
131 AddTransformParameter(const std::string key, const std::string value);
132 void
133 AddTransformParameter(const unsigned int index, const std::string key, const std::string value);
134 std::vector<std::string>
135 GetTransformParameter(const std::string key);
136 std::vector<std::string>
137 GetTransformParameter(const unsigned int index, const std::string key);
138 void
139 RemoveTransformParameter(const std::string key);
140 void
141 RemoveTransformParameter(const unsigned int index, const std::string key);
142
143 std::map<std::string, std::vector<std::string>>
144 ReadParameterFile(const std::string filename);
145 void
146 WriteParameterFile(const std::map<std::string, std::vector<std::string>> parameterMap,
147 const std::string parameterFileName);
148
149 void
151 void
152 PrintParameterMap(const std::map<std::string, std::vector<std::string>> parameterMap);
153 void
154 PrintParameterMap(const std::vector<std::map<std::string, std::vector<std::string>>> parameterMapVector);
155
156 Image
158
159 Image
161 Image
163
164 bool
165 IsEmpty(const Image & image);
166
167 // Definitions for SimpleITK member factory
169 template <class TMovingImage>
170 Image
173 std::unique_ptr<detail::MemberFunctionFactory<MemberFunctionType>> m_MemberFactory;
174
178
180
185
186 std::string m_OutputDirectory;
187 std::string m_LogFileName;
188
191};
192
193} // namespace itk::simple
194
195#endif // sitktransformiximagefilterimpl_h
The Image class for SimpleITK.
Definition sitkImage.h:77
void AddTransformParameter(const std::string key, const std::string value)
void RemoveTransformParameter(const unsigned int index, const std::string key)
void AddTransformParameterMap(const std::map< std::string, std::vector< std::string > > parameterMap)
void SetTransformParameter(const std::string key, const std::vector< std::string > value)
void PrintParameterMap(const std::map< std::string, std::vector< std::string > > parameterMap)
void SetTransformParameter(const unsigned int index, const std::string key, const std::vector< std::string > value)
void SetTransformParameter(const std::string key, const std::string value)
void WriteParameterFile(const std::map< std::string, std::vector< std::string > > parameterMap, const std::string parameterFileName)
std::map< std::string, std::vector< std::string > > ReadParameterFile(const std::string filename)
std::unique_ptr< detail::MemberFunctionFactory< MemberFunctionType > > m_MemberFactory
void SetFixedPointSetFileName(const std::string movingPointSetFileName)
std::vector< std::string > GetTransformParameter(const std::string key)
void AddTransformParameter(const unsigned int index, const std::string key, const std::string value)
void PrintParameterMap(const std::vector< std::map< std::string, std::vector< std::string > > > parameterMapVector)
void SetTransformParameter(const unsigned int index, const std::string key, const std::string value)
std::vector< std::map< std::string, std::vector< std::string > > > GetTransformParameterMap()
std::vector< std::string > GetTransformParameter(const unsigned int index, const std::string key)
void SetTransformParameterMap(const std::map< std::string, std::vector< std::string > > parameterMap)
void SetTransformParameterMap(const std::vector< std::map< std::string, std::vector< std::string > > > parameterMapVector)
void SetOutputDirectory(const std::string outputDirectory)
#define SITKElastix_HIDDEN