18 #ifndef sitkTransformixImageFilter_h
19 #define sitkTransformixImageFilter_h
53 SITK_RETURN_SELF_TYPE_HEADER
54 SetMovingImage(
const Image & movingImage);
57 SITK_RETURN_SELF_TYPE_HEADER
60 SITK_RETURN_SELF_TYPE_HEADER
61 SetFixedPointSetFileName(
const std::string movingPointSetFileName);
63 GetFixedPointSetFileName();
64 SITK_RETURN_SELF_TYPE_HEADER
65 RemoveFixedPointSetFileName();
67 SITK_RETURN_SELF_TYPE_HEADER
68 SetComputeSpatialJacobian(
const bool);
70 GetComputeSpatialJacobian();
71 SITK_RETURN_SELF_TYPE_HEADER
72 ComputeSpatialJacobianOn();
73 SITK_RETURN_SELF_TYPE_HEADER
74 ComputeSpatialJacobianOff();
76 SITK_RETURN_SELF_TYPE_HEADER
77 SetComputeDeterminantOfSpatialJacobian(
const bool);
79 GetComputeDeterminantOfSpatialJacobian();
80 SITK_RETURN_SELF_TYPE_HEADER
81 ComputeDeterminantOfSpatialJacobianOn();
82 SITK_RETURN_SELF_TYPE_HEADER
83 ComputeDeterminantOfSpatialJacobianOff();
85 SITK_RETURN_SELF_TYPE_HEADER
86 SetComputeDeformationField(
bool);
88 GetComputeDeformationField();
89 SITK_RETURN_SELF_TYPE_HEADER
90 ComputeDeformationFieldOn();
91 SITK_RETURN_SELF_TYPE_HEADER
92 ComputeDeformationFieldOff();
94 SITK_RETURN_SELF_TYPE_HEADER
95 SetOutputDirectory(
const std::string outputDirectory);
98 SITK_RETURN_SELF_TYPE_HEADER
99 RemoveOutputDirectory();
101 SITK_RETURN_SELF_TYPE_HEADER
102 SetLogFileName(
const std::string logFileName);
105 SITK_RETURN_SELF_TYPE_HEADER
108 SITK_RETURN_SELF_TYPE_HEADER
109 SetLogToFile(
const bool logToFile);
112 SITK_RETURN_SELF_TYPE_HEADER
114 SITK_RETURN_SELF_TYPE_HEADER
117 SITK_RETURN_SELF_TYPE_HEADER
118 SetLogToConsole(
const bool logToConsole);
121 SITK_RETURN_SELF_TYPE_HEADER
123 SITK_RETURN_SELF_TYPE_HEADER
126 SITK_RETURN_SELF_TYPE_HEADER
127 SetTransformParameterMap(
const std::vector<std::map<std::string, std::vector<std::string>>> parameterMapVector);
128 SITK_RETURN_SELF_TYPE_HEADER
129 SetTransformParameterMaps(
const std::vector<std::map<std::string, std::vector<std::string>>> parameterMapVector) {
return SetTransformParameterMap(parameterMapVector);}
130 SITK_RETURN_SELF_TYPE_HEADER
131 SetTransformParameterMap(
const std::map<std::string, std::vector<std::string>> parameterMap);
132 SITK_RETURN_SELF_TYPE_HEADER
133 AddTransformParameterMap(
const std::map<std::string, std::vector<std::string>> parameterMap);
134 std::vector<std::map<std::string, std::vector<std::string>>>
135 GetTransformParameterMap();
136 std::vector<std::map<std::string, std::vector<std::string>>>
139 GetNumberOfTransformParameterMaps();
141 SITK_RETURN_SELF_TYPE_HEADER
142 SetTransformParameter(
const std::string key,
const std::string value);
143 SITK_RETURN_SELF_TYPE_HEADER
144 SetTransformParameter(
const std::string key,
const std::vector<std::string> value);
145 SITK_RETURN_SELF_TYPE_HEADER
146 SetTransformParameter(
const unsigned int index,
const std::string key,
const std::string value);
147 SITK_RETURN_SELF_TYPE_HEADER
148 SetTransformParameter(
const unsigned int index,
const std::string key,
const std::vector<std::string> value);
149 SITK_RETURN_SELF_TYPE_HEADER
150 AddTransformParameter(
const std::string key,
const std::string value);
151 SITK_RETURN_SELF_TYPE_HEADER
152 AddTransformParameter(
const unsigned int index,
const std::string key,
const std::string value);
153 std::vector<std::string>
154 GetTransformParameter(
const std::string key);
155 std::vector<std::string>
156 GetTransformParameter(
const unsigned int index,
const std::string key);
157 SITK_RETURN_SELF_TYPE_HEADER
158 RemoveTransformParameter(
const std::string key);
159 SITK_RETURN_SELF_TYPE_HEADER
160 RemoveTransformParameter(
const unsigned int index,
const std::string key);
162 std::map<std::string, std::vector<std::string>>
164 SITK_RETURN_SELF_TYPE_HEADER
165 WriteParameterFile(
const std::map<std::string, std::vector<std::string>> parameterMap,
166 const std::string parameterFileName);
168 SITK_RETURN_SELF_TYPE_HEADER
170 SITK_RETURN_SELF_TYPE_HEADER
171 PrintParameterMap(
const std::map<std::string, std::vector<std::string>> parameterMap);
172 SITK_RETURN_SELF_TYPE_HEADER
173 PrintParameterMap(
const std::vector<std::map<std::string, std::vector<std::string>>> parameterMapVector);
181 GetDeformationField();
184 class TransformixImageFilterImpl;
185 const std::unique_ptr<TransformixImageFilterImpl>
m_Pimple;
191 const std::map<std::string, std::vector<std::string>> parameterMap,
192 const bool logToConsole =
false,
193 const std::string outputDirectory =
".");
196 const std::vector<std::map<std::string, std::vector<std::string>>> parameterMapVector,
197 const bool logToConsole =
false,
198 const std::string outputDirectory =
".");
202 #endif // sitkTransformixImageFilter_h