MeVisLab Toolbox Reference
mlITKFiniteDifferenceFunctionConnect.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#pragma once
14
16// Include dll-specific settings.
18#include "mlITKMLBaseWrapper.h"
19
20#include <itkImage.h>
21#include <itkPoint.h>
22#include <itkVector.h>
23#include <itkFiniteDifferenceFunction.h>
24#include <itkPDEDeformableRegistrationFunction.h>
25#include <itkImageFunction.h>
26
27// Define voxel types.
28typedef itk::Vector<float ,2> Vox2DFloatVecType ;
29typedef itk::Vector<float ,3> Vox3DFloatVecType ;
30typedef itk::Vector<float ,4> Vox4DFloatVecType ;
31typedef itk::Vector<float ,6> Vox6DFloatVecType ;
32typedef itk::Vector<float ,8> Vox8DFloatVecType ;
33
34typedef itk::Vector<double,2> Vox2DDoubleVecType;
35typedef itk::Vector<double,3> Vox3DDoubleVecType;
36typedef itk::Vector<double,4> Vox4DDoubleVecType;
37typedef itk::Vector<double,6> Vox6DDoubleVecType;
38typedef itk::Vector<double,8> Vox8DDoubleVecType;
39
40// Define images using the upper voxel types.
41typedef itk::Image<MLint8, 2> Img2OfVoxInt8Type ;
42typedef itk::Image<MLint16, 2> Img2OfVoxInt16Type ;
43typedef itk::Image<MLint32, 2> Img2OfVoxInt32Type ;
44typedef itk::Image<MLuint8, 2> Img2OfVoxUInt8Type ;
45typedef itk::Image<MLuint16, 2> Img2OfVoxUInt16Type ;
46typedef itk::Image<MLuint32, 2> Img2OfVoxUInt32Type ;
47typedef itk::Image<MLfloat, 2> Img2OfVoxFloatType ;
48typedef itk::Image<MLdouble, 2> Img2OfVoxDoubleType ;
49typedef itk::Image<Vox2DFloatVecType, 2> Img2OfVox2DFloatVecType ;
50typedef itk::Image<Vox2DDoubleVecType,2> Img2OfVox2DDoubleVecType;
51typedef itk::Image<Vox3DFloatVecType, 2> Img2OfVox3DFloatVecType ;
52typedef itk::Image<Vox3DDoubleVecType,2> Img2OfVox3DDoubleVecType;
53typedef itk::Image<Vox4DFloatVecType, 2> Img2OfVox4DFloatVecType ;
54typedef itk::Image<Vox4DDoubleVecType,2> Img2OfVox4DDoubleVecType;
55typedef itk::Image<Vox6DFloatVecType, 2> Img2OfVox6DFloatVecType ;
56typedef itk::Image<Vox6DDoubleVecType,2> Img2OfVox6DDoubleVecType;
57typedef itk::Image<Vox8DFloatVecType, 2> Img2OfVox8DFloatVecType ;
58typedef itk::Image<Vox8DDoubleVecType,2> Img2OfVox8DDoubleVecType;
59
60typedef itk::Image<MLint8, 3> Img3OfVoxInt8Type ;
61typedef itk::Image<MLint16, 3> Img3OfVoxInt16Type ;
62typedef itk::Image<MLint32, 3> Img3OfVoxInt32Type ;
63typedef itk::Image<MLuint8, 3> Img3OfVoxUInt8Type ;
64typedef itk::Image<MLuint16, 3> Img3OfVoxUInt16Type ;
65typedef itk::Image<MLuint32, 3> Img3OfVoxUInt32Type ;
66typedef itk::Image<MLfloat, 3> Img3OfVoxFloatType ;
67typedef itk::Image<MLdouble, 3> Img3OfVoxDoubleType ;
68typedef itk::Image<Vox2DFloatVecType, 3> Img3OfVox2DFloatVecType ;
69typedef itk::Image<Vox2DDoubleVecType,3> Img3OfVox2DDoubleVecType;
70typedef itk::Image<Vox3DFloatVecType, 3> Img3OfVox3DFloatVecType ;
71typedef itk::Image<Vox3DDoubleVecType,3> Img3OfVox3DDoubleVecType;
72typedef itk::Image<Vox4DFloatVecType, 3> Img3OfVox4DFloatVecType ;
73typedef itk::Image<Vox4DDoubleVecType,3> Img3OfVox4DDoubleVecType;
74typedef itk::Image<Vox6DFloatVecType, 3> Img3OfVox6DFloatVecType ;
75typedef itk::Image<Vox6DDoubleVecType,3> Img3OfVox6DDoubleVecType;
76typedef itk::Image<Vox8DFloatVecType, 3> Img3OfVox8DFloatVecType ;
77typedef itk::Image<Vox8DDoubleVecType,3> Img3OfVox8DDoubleVecType;
78
79
80// Define difference functions on the upperly defined image types.
81typedef itk::FiniteDifferenceFunction<Img2OfVoxInt8Type > FiniteDifferenceFunctionImg2OfVoxInt8Type ;
82typedef itk::FiniteDifferenceFunction<Img2OfVoxInt16Type > FiniteDifferenceFunctionImg2OfVoxInt16Type ;
83typedef itk::FiniteDifferenceFunction<Img2OfVoxInt32Type > FiniteDifferenceFunctionImg2OfVoxInt32Type ;
84typedef itk::FiniteDifferenceFunction<Img2OfVoxUInt8Type > FiniteDifferenceFunctionImg2OfVoxUInt8Type ;
85typedef itk::FiniteDifferenceFunction<Img2OfVoxUInt16Type > FiniteDifferenceFunctionImg2OfVoxUInt16Type ;
86typedef itk::FiniteDifferenceFunction<Img2OfVoxUInt32Type > FiniteDifferenceFunctionImg2OfVoxUInt32Type ;
87typedef itk::FiniteDifferenceFunction<Img2OfVoxFloatType > FiniteDifferenceFunctionImg2OfVoxFloatType ;
88typedef itk::FiniteDifferenceFunction<Img2OfVoxDoubleType > FiniteDifferenceFunctionImg2OfVoxDoubleType ;
89typedef itk::FiniteDifferenceFunction<Img2OfVox2DFloatVecType > FiniteDifferenceFunctionImg2OfVox2DFloatVecType ;
90typedef itk::FiniteDifferenceFunction<Img2OfVox2DDoubleVecType> FiniteDifferenceFunctionImg2OfVox2DDoubleVecType;
91typedef itk::FiniteDifferenceFunction<Img2OfVox3DFloatVecType > FiniteDifferenceFunctionImg2OfVox3DFloatVecType ;
92typedef itk::FiniteDifferenceFunction<Img2OfVox3DDoubleVecType> FiniteDifferenceFunctionImg2OfVox3DDoubleVecType;
93typedef itk::FiniteDifferenceFunction<Img2OfVox4DFloatVecType > FiniteDifferenceFunctionImg2OfVox4DFloatVecType ;
94typedef itk::FiniteDifferenceFunction<Img2OfVox4DDoubleVecType> FiniteDifferenceFunctionImg2OfVox4DDoubleVecType;
95typedef itk::FiniteDifferenceFunction<Img2OfVox6DFloatVecType > FiniteDifferenceFunctionImg2OfVox6DFloatVecType ;
96typedef itk::FiniteDifferenceFunction<Img2OfVox6DDoubleVecType> FiniteDifferenceFunctionImg2OfVox6DDoubleVecType;
97typedef itk::FiniteDifferenceFunction<Img2OfVox8DFloatVecType > FiniteDifferenceFunctionImg2OfVox8DFloatVecType ;
98typedef itk::FiniteDifferenceFunction<Img2OfVox8DDoubleVecType> FiniteDifferenceFunctionImg2OfVox8DDoubleVecType;
99
100typedef itk::FiniteDifferenceFunction<Img3OfVoxInt8Type > FiniteDifferenceFunctionImg3OfVoxInt8Type ;
101typedef itk::FiniteDifferenceFunction<Img3OfVoxInt16Type > FiniteDifferenceFunctionImg3OfVoxInt16Type ;
102typedef itk::FiniteDifferenceFunction<Img3OfVoxInt32Type > FiniteDifferenceFunctionImg3OfVoxInt32Type ;
103typedef itk::FiniteDifferenceFunction<Img3OfVoxUInt8Type > FiniteDifferenceFunctionImg3OfVoxUInt8Type ;
104typedef itk::FiniteDifferenceFunction<Img3OfVoxUInt16Type > FiniteDifferenceFunctionImg3OfVoxUInt16Type ;
105typedef itk::FiniteDifferenceFunction<Img3OfVoxUInt32Type > FiniteDifferenceFunctionImg3OfVoxUInt32Type ;
106typedef itk::FiniteDifferenceFunction<Img3OfVoxFloatType > FiniteDifferenceFunctionImg3OfVoxFloatType ;
107typedef itk::FiniteDifferenceFunction<Img3OfVoxDoubleType > FiniteDifferenceFunctionImg3OfVoxDoubleType ;
108typedef itk::FiniteDifferenceFunction<Img3OfVox2DFloatVecType > FiniteDifferenceFunctionImg3OfVox2DFloatVecType ;
109typedef itk::FiniteDifferenceFunction<Img3OfVox2DDoubleVecType> FiniteDifferenceFunctionImg3OfVox2DDoubleVecType;
110typedef itk::FiniteDifferenceFunction<Img3OfVox3DFloatVecType > FiniteDifferenceFunctionImg3OfVox3DFloatVecType ;
111typedef itk::FiniteDifferenceFunction<Img3OfVox3DDoubleVecType> FiniteDifferenceFunctionImg3OfVox3DDoubleVecType;
112typedef itk::FiniteDifferenceFunction<Img3OfVox4DFloatVecType > FiniteDifferenceFunctionImg3OfVox4DFloatVecType ;
113typedef itk::FiniteDifferenceFunction<Img3OfVox4DDoubleVecType> FiniteDifferenceFunctionImg3OfVox4DDoubleVecType;
114typedef itk::FiniteDifferenceFunction<Img3OfVox6DFloatVecType > FiniteDifferenceFunctionImg3OfVox6DFloatVecType ;
115typedef itk::FiniteDifferenceFunction<Img3OfVox6DDoubleVecType> FiniteDifferenceFunctionImg3OfVox6DDoubleVecType;
116typedef itk::FiniteDifferenceFunction<Img3OfVox8DFloatVecType > FiniteDifferenceFunctionImg3OfVox8DFloatVecType ;
117typedef itk::FiniteDifferenceFunction<Img3OfVox8DDoubleVecType> FiniteDifferenceFunctionImg3OfVox8DDoubleVecType;
118
119typedef itk::PDEDeformableRegistrationFunction<Img3OfVoxFloatType,
122
124
125 //----------------------------------------------------------
130 //----------------------------------------------------------
132 {
133 public:
134
135 //------------------------------------------------------------------------------
137 //------------------------------------------------------------------------------
139 {
140 // Initialize all pointers to NULL. Only those pointers are going to
141 // be defined which can be instantiated by the module exporting an
142 // object of this class.
143 m_FiniteDifferenceFunctionImg2OfVoxInt8Type = nullptr;
144 m_FiniteDifferenceFunctionImg2OfVoxInt16Type = nullptr;
145 m_FiniteDifferenceFunctionImg2OfVoxInt32Type = nullptr;
146 m_FiniteDifferenceFunctionImg2OfVoxUInt8Type = nullptr;
147 m_FiniteDifferenceFunctionImg2OfVoxUInt16Type = nullptr;
148 m_FiniteDifferenceFunctionImg2OfVoxUInt32Type = nullptr;
149 m_FiniteDifferenceFunctionImg2OfVoxFloatType = nullptr;
150 m_FiniteDifferenceFunctionImg2OfVoxDoubleType = nullptr;
151 m_FiniteDifferenceFunctionImg2OfVox2DFloatVecType = nullptr;
152 m_FiniteDifferenceFunctionImg2OfVox2DDoubleVecType = nullptr;
153 m_FiniteDifferenceFunctionImg2OfVox3DDoubleVecType = nullptr;
154 m_FiniteDifferenceFunctionImg2OfVox3DFloatVecType = nullptr;
155 m_FiniteDifferenceFunctionImg2OfVox4DDoubleVecType = nullptr;
156 m_FiniteDifferenceFunctionImg2OfVox4DFloatVecType = nullptr;
157 m_FiniteDifferenceFunctionImg2OfVox6DDoubleVecType = nullptr;
158 m_FiniteDifferenceFunctionImg2OfVox6DFloatVecType = nullptr;
159 m_FiniteDifferenceFunctionImg2OfVox8DDoubleVecType = nullptr;
160 m_FiniteDifferenceFunctionImg2OfVox8DFloatVecType = nullptr;
161
162 m_FiniteDifferenceFunctionImg3OfVoxInt8Type = nullptr;
163 m_FiniteDifferenceFunctionImg3OfVoxInt16Type = nullptr;
164 m_FiniteDifferenceFunctionImg3OfVoxInt32Type = nullptr;
165 m_FiniteDifferenceFunctionImg3OfVoxUInt8Type = nullptr;
166 m_FiniteDifferenceFunctionImg3OfVoxUInt16Type = nullptr;
167 m_FiniteDifferenceFunctionImg3OfVoxUInt32Type = nullptr;
168 m_FiniteDifferenceFunctionImg3OfVoxFloatType = nullptr;
169 m_FiniteDifferenceFunctionImg3OfVoxDoubleType = nullptr;
170 m_FiniteDifferenceFunctionImg3OfVox2DFloatVecType = nullptr;
171 m_FiniteDifferenceFunctionImg3OfVox2DDoubleVecType = nullptr;
172 m_FiniteDifferenceFunctionImg3OfVox3DFloatVecType = nullptr;
173 m_FiniteDifferenceFunctionImg3OfVox3DDoubleVecType = nullptr;
174 m_FiniteDifferenceFunctionImg3OfVox4DFloatVecType = nullptr;
175 m_FiniteDifferenceFunctionImg3OfVox4DDoubleVecType = nullptr;
176 m_FiniteDifferenceFunctionImg3OfVox6DFloatVecType = nullptr;
177 m_FiniteDifferenceFunctionImg3OfVox6DDoubleVecType = nullptr;
178 m_FiniteDifferenceFunctionImg3OfVox8DFloatVecType = nullptr;
179 m_FiniteDifferenceFunctionImg3OfVox8DDoubleVecType = nullptr;
180
181 m_PDEDeformableRegFunction3DF3DF3DFVType = nullptr;
182 }
183
184 //------------------------------------------------------------------------------
186 //------------------------------------------------------------------------------
187 FiniteDifferenceFunctionImg2OfVoxInt8Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxInt8Type *){ return m_FiniteDifferenceFunctionImg2OfVoxInt8Type ; }
188 FiniteDifferenceFunctionImg2OfVoxInt16Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxInt16Type *){ return m_FiniteDifferenceFunctionImg2OfVoxInt16Type ; }
189 FiniteDifferenceFunctionImg2OfVoxInt32Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxInt32Type *){ return m_FiniteDifferenceFunctionImg2OfVoxInt32Type ; }
190 FiniteDifferenceFunctionImg2OfVoxUInt8Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxUInt8Type *){ return m_FiniteDifferenceFunctionImg2OfVoxUInt8Type ; }
191 FiniteDifferenceFunctionImg2OfVoxUInt16Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxUInt16Type *){ return m_FiniteDifferenceFunctionImg2OfVoxUInt16Type ; }
192 FiniteDifferenceFunctionImg2OfVoxUInt32Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxUInt32Type *){ return m_FiniteDifferenceFunctionImg2OfVoxUInt32Type ; }
193 FiniteDifferenceFunctionImg2OfVoxFloatType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxFloatType *){ return m_FiniteDifferenceFunctionImg2OfVoxFloatType ; }
194 FiniteDifferenceFunctionImg2OfVoxDoubleType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxDoubleType *){ return m_FiniteDifferenceFunctionImg2OfVoxDoubleType ; }
195 FiniteDifferenceFunctionImg2OfVox2DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox2DFloatVecType *){ return m_FiniteDifferenceFunctionImg2OfVox2DFloatVecType ; }
196 FiniteDifferenceFunctionImg2OfVox2DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox2DDoubleVecType *){ return m_FiniteDifferenceFunctionImg2OfVox2DDoubleVecType ; }
197 FiniteDifferenceFunctionImg2OfVox3DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox3DFloatVecType *){ return m_FiniteDifferenceFunctionImg2OfVox3DFloatVecType ; }
198 FiniteDifferenceFunctionImg2OfVox3DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox3DDoubleVecType *){ return m_FiniteDifferenceFunctionImg2OfVox3DDoubleVecType ; }
199 FiniteDifferenceFunctionImg2OfVox4DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox4DFloatVecType *){ return m_FiniteDifferenceFunctionImg2OfVox4DFloatVecType ; }
200 FiniteDifferenceFunctionImg2OfVox4DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox4DDoubleVecType *){ return m_FiniteDifferenceFunctionImg2OfVox4DDoubleVecType ; }
201 FiniteDifferenceFunctionImg2OfVox6DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox6DFloatVecType *){ return m_FiniteDifferenceFunctionImg2OfVox6DFloatVecType ; }
202 FiniteDifferenceFunctionImg2OfVox6DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox6DDoubleVecType *){ return m_FiniteDifferenceFunctionImg2OfVox6DDoubleVecType ; }
203 FiniteDifferenceFunctionImg2OfVox8DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox8DFloatVecType *){ return m_FiniteDifferenceFunctionImg2OfVox8DFloatVecType ; }
204 FiniteDifferenceFunctionImg2OfVox8DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox8DDoubleVecType *){ return m_FiniteDifferenceFunctionImg2OfVox8DDoubleVecType ; }
205
206 FiniteDifferenceFunctionImg3OfVoxInt8Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxInt8Type *){ return m_FiniteDifferenceFunctionImg3OfVoxInt8Type ; }
207 FiniteDifferenceFunctionImg3OfVoxInt16Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxInt16Type *){ return m_FiniteDifferenceFunctionImg3OfVoxInt16Type ; }
208 FiniteDifferenceFunctionImg3OfVoxInt32Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxInt32Type *){ return m_FiniteDifferenceFunctionImg3OfVoxInt32Type ; }
209 FiniteDifferenceFunctionImg3OfVoxUInt8Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxUInt8Type *){ return m_FiniteDifferenceFunctionImg3OfVoxUInt8Type ; }
210 FiniteDifferenceFunctionImg3OfVoxUInt16Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxUInt16Type *){ return m_FiniteDifferenceFunctionImg3OfVoxUInt16Type ; }
211 FiniteDifferenceFunctionImg3OfVoxUInt32Type ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxUInt32Type *){ return m_FiniteDifferenceFunctionImg3OfVoxUInt32Type ; }
212 FiniteDifferenceFunctionImg3OfVoxFloatType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxFloatType *){ return m_FiniteDifferenceFunctionImg3OfVoxFloatType ; }
213 FiniteDifferenceFunctionImg3OfVoxDoubleType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxDoubleType *){ return m_FiniteDifferenceFunctionImg3OfVoxDoubleType ; }
214 FiniteDifferenceFunctionImg3OfVox2DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox2DFloatVecType *){ return m_FiniteDifferenceFunctionImg3OfVox2DFloatVecType ; }
215 FiniteDifferenceFunctionImg3OfVox2DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox2DDoubleVecType *){ return m_FiniteDifferenceFunctionImg3OfVox2DDoubleVecType ; }
216 FiniteDifferenceFunctionImg3OfVox3DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox3DFloatVecType *){ return m_FiniteDifferenceFunctionImg3OfVox3DFloatVecType ; }
217 FiniteDifferenceFunctionImg3OfVox3DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox3DDoubleVecType *){ return m_FiniteDifferenceFunctionImg3OfVox3DDoubleVecType ; }
218 FiniteDifferenceFunctionImg3OfVox4DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox4DFloatVecType *){ return m_FiniteDifferenceFunctionImg3OfVox4DFloatVecType ; }
219 FiniteDifferenceFunctionImg3OfVox4DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox4DDoubleVecType *){ return m_FiniteDifferenceFunctionImg3OfVox4DDoubleVecType ; }
220 FiniteDifferenceFunctionImg3OfVox6DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox6DFloatVecType *){ return m_FiniteDifferenceFunctionImg3OfVox6DFloatVecType ; }
221 FiniteDifferenceFunctionImg3OfVox6DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox6DDoubleVecType *){ return m_FiniteDifferenceFunctionImg3OfVox6DDoubleVecType ; }
222 FiniteDifferenceFunctionImg3OfVox8DFloatVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox8DFloatVecType *){ return m_FiniteDifferenceFunctionImg3OfVox8DFloatVecType ; }
223 FiniteDifferenceFunctionImg3OfVox8DDoubleVecType ::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox8DDoubleVecType *){ return m_FiniteDifferenceFunctionImg3OfVox8DDoubleVecType ; }
224
225 PDEDeformableRegFunction3DF3DF3DFVType ::Pointer GetFiniteDifferenceFunction(PDEDeformableRegFunction3DF3DF3DFVType *){ return m_PDEDeformableRegFunction3DF3DF3DFVType ; }
227
228 //------------------------------------------------------------------------------
234 //------------------------------------------------------------------------------
236 {
237 if (!outImg){ return false; }
238
239 // Get properties of output image and its data type. From those properties we need
240 // to determine whether the corresponding FiniteDifferenceFunctionType is available.
241 const MLDataType dt = outImg->getDataType();
242 const size_t numComps = MLTypeGetNumComponents(dt);
243 const MLint imgDim = outImg->getImageExtent().getExtDimension();
244
245 // If the pointer member for the specific dimension and data type is non NULL
246 // then return true, otherwise false.
248 if (2==imgDim){
249 if ((MLint8Type == dt) && m_FiniteDifferenceFunctionImg2OfVoxInt8Type ){ return true; }
250 if ((MLint16Type == dt) && m_FiniteDifferenceFunctionImg2OfVoxInt16Type ){ return true; }
251 if ((MLint32Type == dt) && m_FiniteDifferenceFunctionImg2OfVoxInt32Type ){ return true; }
252 if ((MLuint8Type == dt) && m_FiniteDifferenceFunctionImg2OfVoxUInt8Type ){ return true; }
253 if ((MLuint16Type == dt) && m_FiniteDifferenceFunctionImg2OfVoxUInt16Type ){ return true; }
254 if ((MLuint32Type == dt) && m_FiniteDifferenceFunctionImg2OfVoxUInt32Type ){ return true; }
255 if ((MLfloatType == dt) && m_FiniteDifferenceFunctionImg2OfVoxFloatType ){ return true; }
256 if ((MLdoubleType == dt) && m_FiniteDifferenceFunctionImg2OfVoxDoubleType ){ return true; }
257 if ((2 == numComps) && m_FiniteDifferenceFunctionImg2OfVox2DFloatVecType ){ return true; }
258 if ((2 == numComps) && m_FiniteDifferenceFunctionImg2OfVox2DDoubleVecType ){ return true; }
259 if ((3 == numComps) && m_FiniteDifferenceFunctionImg2OfVox3DFloatVecType ){ return true; }
260 if ((3 == numComps) && m_FiniteDifferenceFunctionImg2OfVox3DDoubleVecType ){ return true; }
261 if ((4 == numComps) && m_FiniteDifferenceFunctionImg2OfVox4DFloatVecType ){ return true; }
262 if ((4 == numComps) && m_FiniteDifferenceFunctionImg2OfVox4DDoubleVecType ){ return true; }
263 if ((6 == numComps) && m_FiniteDifferenceFunctionImg2OfVox6DFloatVecType ){ return true; }
264 if ((6 == numComps) && m_FiniteDifferenceFunctionImg2OfVox6DDoubleVecType ){ return true; }
265 if ((8 == numComps) && m_FiniteDifferenceFunctionImg2OfVox8DFloatVecType ){ return true; }
266 if ((8 == numComps) && m_FiniteDifferenceFunctionImg2OfVox8DDoubleVecType ){ return true; }
267 }
268 if (3==imgDim){
269 if ((MLint8Type == dt) && m_FiniteDifferenceFunctionImg3OfVoxInt8Type ){ return true; }
270 if ((MLint16Type == dt) && m_FiniteDifferenceFunctionImg3OfVoxInt16Type ){ return true; }
271 if ((MLint32Type == dt) && m_FiniteDifferenceFunctionImg3OfVoxInt32Type ){ return true; }
272 if ((MLuint8Type == dt) && m_FiniteDifferenceFunctionImg3OfVoxUInt8Type ){ return true; }
273 if ((MLuint16Type == dt) && m_FiniteDifferenceFunctionImg3OfVoxUInt16Type ){ return true; }
274 if ((MLuint32Type == dt) && m_FiniteDifferenceFunctionImg3OfVoxUInt32Type ){ return true; }
275 if ((MLfloatType == dt) && m_FiniteDifferenceFunctionImg3OfVoxFloatType ){ return true; }
276 if ((MLdoubleType == dt) && m_FiniteDifferenceFunctionImg3OfVoxDoubleType ){ return true; }
277 if ((2 == numComps) && m_FiniteDifferenceFunctionImg3OfVox2DFloatVecType ){ return true; }
278 if ((2 == numComps) && m_FiniteDifferenceFunctionImg3OfVox2DDoubleVecType ){ return true; }
279 if ((3 == numComps) && m_FiniteDifferenceFunctionImg3OfVox3DFloatVecType ){ return true; }
280 if ((3 == numComps) && m_FiniteDifferenceFunctionImg3OfVox3DDoubleVecType ){ return true; }
281 if ((4 == numComps) && m_FiniteDifferenceFunctionImg3OfVox4DFloatVecType ){ return true; }
282 if ((4 == numComps) && m_FiniteDifferenceFunctionImg3OfVox4DDoubleVecType ){ return true; }
283 if ((6 == numComps) && m_FiniteDifferenceFunctionImg3OfVox6DFloatVecType ){ return true; }
284 if ((6 == numComps) && m_FiniteDifferenceFunctionImg3OfVox6DDoubleVecType ){ return true; }
285 if ((8 == numComps) && m_FiniteDifferenceFunctionImg3OfVox8DFloatVecType ){ return true; }
286 if ((8 == numComps) && m_FiniteDifferenceFunctionImg3OfVox8DDoubleVecType ){ return true; }
287 }
288 }
289 if (usePDEDeformableFunc && (3==imgDim)){
290 if ((3 == numComps) && m_PDEDeformableRegFunction3DF3DF3DFVType ){ return true; }
291 }
292
293 return false;
294 }
295
296 //------------------------------------------------------------------------------
298 //------------------------------------------------------------------------------
299 void SetFiniteDifferenceFunctionImg2OfVoxInt8Type (FiniteDifferenceFunctionImg2OfVoxInt8Type ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVoxInt8Type = ptr; }
300 void SetFiniteDifferenceFunctionImg2OfVoxInt16Type (FiniteDifferenceFunctionImg2OfVoxInt16Type ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVoxInt16Type = ptr; }
301 void SetFiniteDifferenceFunctionImg2OfVoxInt32Type (FiniteDifferenceFunctionImg2OfVoxInt32Type ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVoxInt32Type = ptr; }
302 void SetFiniteDifferenceFunctionImg2OfVoxUInt8Type (FiniteDifferenceFunctionImg2OfVoxUInt8Type ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVoxUInt8Type = ptr; }
303 void SetFiniteDifferenceFunctionImg2OfVoxUInt16Type (FiniteDifferenceFunctionImg2OfVoxUInt16Type ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVoxUInt16Type = ptr; }
304 void SetFiniteDifferenceFunctionImg2OfVoxUInt32Type (FiniteDifferenceFunctionImg2OfVoxUInt32Type ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVoxUInt32Type = ptr; }
305 void SetFiniteDifferenceFunctionImg2OfVoxFloatType (FiniteDifferenceFunctionImg2OfVoxFloatType ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVoxFloatType = ptr; }
306 void SetFiniteDifferenceFunctionImg2OfVoxDoubleType (FiniteDifferenceFunctionImg2OfVoxDoubleType ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVoxDoubleType = ptr; }
307 void SetFiniteDifferenceFunctionImg2OfVox2DFloatVecType (FiniteDifferenceFunctionImg2OfVox2DFloatVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVox2DFloatVecType = ptr; }
308 void SetFiniteDifferenceFunctionImg2OfVox2DDoubleVecType (FiniteDifferenceFunctionImg2OfVox2DDoubleVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVox2DDoubleVecType = ptr; }
309 void SetFiniteDifferenceFunctionImg2OfVox3DFloatVecType (FiniteDifferenceFunctionImg2OfVox3DFloatVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVox3DFloatVecType = ptr; }
310 void SetFiniteDifferenceFunctionImg2OfVox3DDoubleVecType (FiniteDifferenceFunctionImg2OfVox3DDoubleVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVox3DDoubleVecType = ptr; }
311 void SetFiniteDifferenceFunctionImg2OfVox4DFloatVecType (FiniteDifferenceFunctionImg2OfVox4DFloatVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVox4DFloatVecType = ptr; }
312 void SetFiniteDifferenceFunctionImg2OfVox4DDoubleVecType (FiniteDifferenceFunctionImg2OfVox4DDoubleVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVox4DDoubleVecType = ptr; }
313 void SetFiniteDifferenceFunctionImg2OfVox6DFloatVecType (FiniteDifferenceFunctionImg2OfVox6DFloatVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVox6DFloatVecType = ptr; }
314 void SetFiniteDifferenceFunctionImg2OfVox6DDoubleVecType (FiniteDifferenceFunctionImg2OfVox6DDoubleVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVox6DDoubleVecType = ptr; }
315 void SetFiniteDifferenceFunctionImg2OfVox8DFloatVecType (FiniteDifferenceFunctionImg2OfVox8DFloatVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVox8DFloatVecType = ptr; }
316 void SetFiniteDifferenceFunctionImg2OfVox8DDoubleVecType (FiniteDifferenceFunctionImg2OfVox8DDoubleVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg2OfVox8DDoubleVecType = ptr; }
317
318 void SetFiniteDifferenceFunctionImg3OfVoxInt8Type (FiniteDifferenceFunctionImg3OfVoxInt8Type ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVoxInt8Type = ptr; }
319 void SetFiniteDifferenceFunctionImg3OfVoxInt16Type (FiniteDifferenceFunctionImg3OfVoxInt16Type ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVoxInt16Type = ptr; }
320 void SetFiniteDifferenceFunctionImg3OfVoxInt32Type (FiniteDifferenceFunctionImg3OfVoxInt32Type ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVoxInt32Type = ptr; }
321 void SetFiniteDifferenceFunctionImg3OfVoxUInt8Type (FiniteDifferenceFunctionImg3OfVoxUInt8Type ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVoxUInt8Type = ptr; }
322 void SetFiniteDifferenceFunctionImg3OfVoxUInt16Type (FiniteDifferenceFunctionImg3OfVoxUInt16Type ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVoxUInt16Type = ptr; }
323 void SetFiniteDifferenceFunctionImg3OfVoxUInt32Type (FiniteDifferenceFunctionImg3OfVoxUInt32Type ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVoxUInt32Type = ptr; }
324 void SetFiniteDifferenceFunctionImg3OfVoxFloatType (FiniteDifferenceFunctionImg3OfVoxFloatType ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVoxFloatType = ptr; }
325 void SetFiniteDifferenceFunctionImg3OfVoxDoubleType (FiniteDifferenceFunctionImg3OfVoxDoubleType ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVoxDoubleType = ptr; }
326 void SetFiniteDifferenceFunctionImg3OfVox2DFloatVecType (FiniteDifferenceFunctionImg3OfVox2DFloatVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVox2DFloatVecType = ptr; }
327 void SetFiniteDifferenceFunctionImg3OfVox2DDoubleVecType (FiniteDifferenceFunctionImg3OfVox2DDoubleVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVox2DDoubleVecType = ptr; }
328 void SetFiniteDifferenceFunctionImg3OfVox3DFloatVecType (FiniteDifferenceFunctionImg3OfVox3DFloatVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVox3DFloatVecType = ptr; }
329 void SetFiniteDifferenceFunctionImg3OfVox3DDoubleVecType (FiniteDifferenceFunctionImg3OfVox3DDoubleVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVox3DDoubleVecType = ptr; }
330 void SetFiniteDifferenceFunctionImg3OfVox4DFloatVecType (FiniteDifferenceFunctionImg3OfVox4DFloatVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVox4DFloatVecType = ptr; }
331 void SetFiniteDifferenceFunctionImg3OfVox4DDoubleVecType (FiniteDifferenceFunctionImg3OfVox4DDoubleVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVox4DDoubleVecType = ptr; }
332 void SetFiniteDifferenceFunctionImg3OfVox6DFloatVecType (FiniteDifferenceFunctionImg3OfVox6DFloatVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVox6DFloatVecType = ptr; }
333 void SetFiniteDifferenceFunctionImg3OfVox6DDoubleVecType (FiniteDifferenceFunctionImg3OfVox6DDoubleVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVox6DDoubleVecType = ptr; }
334 void SetFiniteDifferenceFunctionImg3OfVox8DFloatVecType (FiniteDifferenceFunctionImg3OfVox8DFloatVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVox8DFloatVecType = ptr; }
335 void SetFiniteDifferenceFunctionImg3OfVox8DDoubleVecType (FiniteDifferenceFunctionImg3OfVox8DDoubleVecType ::Pointer ptr){ m_FiniteDifferenceFunctionImg3OfVox8DDoubleVecType = ptr; }
336
337 void SetPDEDeformableRegFunction3DF3DF3DFVType (PDEDeformableRegFunction3DF3DF3DFVType ::Pointer ptr){ m_PDEDeformableRegFunction3DF3DF3DFVType = ptr; }
339
340 private:
343
346
348 FiniteDifferenceFunctionImg2OfVoxInt8Type ::Pointer m_FiniteDifferenceFunctionImg2OfVoxInt8Type ;
349 FiniteDifferenceFunctionImg2OfVoxInt16Type ::Pointer m_FiniteDifferenceFunctionImg2OfVoxInt16Type ;
350 FiniteDifferenceFunctionImg2OfVoxInt32Type ::Pointer m_FiniteDifferenceFunctionImg2OfVoxInt32Type ;
351 FiniteDifferenceFunctionImg2OfVoxUInt8Type ::Pointer m_FiniteDifferenceFunctionImg2OfVoxUInt8Type ;
352 FiniteDifferenceFunctionImg2OfVoxUInt16Type ::Pointer m_FiniteDifferenceFunctionImg2OfVoxUInt16Type ;
353 FiniteDifferenceFunctionImg2OfVoxUInt32Type ::Pointer m_FiniteDifferenceFunctionImg2OfVoxUInt32Type ;
354 FiniteDifferenceFunctionImg2OfVoxFloatType ::Pointer m_FiniteDifferenceFunctionImg2OfVoxFloatType ;
355 FiniteDifferenceFunctionImg2OfVoxDoubleType ::Pointer m_FiniteDifferenceFunctionImg2OfVoxDoubleType ;
356 FiniteDifferenceFunctionImg2OfVox2DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox2DFloatVecType ;
357 FiniteDifferenceFunctionImg2OfVox2DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox2DDoubleVecType ;
358 FiniteDifferenceFunctionImg2OfVox3DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox3DFloatVecType ;
359 FiniteDifferenceFunctionImg2OfVox3DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox3DDoubleVecType ;
360 FiniteDifferenceFunctionImg2OfVox4DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox4DFloatVecType ;
361 FiniteDifferenceFunctionImg2OfVox4DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox4DDoubleVecType ;
362 FiniteDifferenceFunctionImg2OfVox6DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox6DFloatVecType ;
363 FiniteDifferenceFunctionImg2OfVox6DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox6DDoubleVecType ;
364 FiniteDifferenceFunctionImg2OfVox8DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox8DFloatVecType ;
365 FiniteDifferenceFunctionImg2OfVox8DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg2OfVox8DDoubleVecType ;
366
367 FiniteDifferenceFunctionImg3OfVoxInt8Type ::Pointer m_FiniteDifferenceFunctionImg3OfVoxInt8Type ;
368 FiniteDifferenceFunctionImg3OfVoxInt16Type ::Pointer m_FiniteDifferenceFunctionImg3OfVoxInt16Type ;
369 FiniteDifferenceFunctionImg3OfVoxInt32Type ::Pointer m_FiniteDifferenceFunctionImg3OfVoxInt32Type ;
370 FiniteDifferenceFunctionImg3OfVoxUInt8Type ::Pointer m_FiniteDifferenceFunctionImg3OfVoxUInt8Type ;
371 FiniteDifferenceFunctionImg3OfVoxUInt16Type ::Pointer m_FiniteDifferenceFunctionImg3OfVoxUInt16Type ;
372 FiniteDifferenceFunctionImg3OfVoxUInt32Type ::Pointer m_FiniteDifferenceFunctionImg3OfVoxUInt32Type ;
373 FiniteDifferenceFunctionImg3OfVoxFloatType ::Pointer m_FiniteDifferenceFunctionImg3OfVoxFloatType ;
374 FiniteDifferenceFunctionImg3OfVoxDoubleType ::Pointer m_FiniteDifferenceFunctionImg3OfVoxDoubleType ;
375 FiniteDifferenceFunctionImg3OfVox2DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox2DFloatVecType ;
376 FiniteDifferenceFunctionImg3OfVox2DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox2DDoubleVecType ;
377 FiniteDifferenceFunctionImg3OfVox3DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox3DFloatVecType ;
378 FiniteDifferenceFunctionImg3OfVox3DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox3DDoubleVecType ;
379 FiniteDifferenceFunctionImg3OfVox4DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox4DFloatVecType ;
380 FiniteDifferenceFunctionImg3OfVox4DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox4DDoubleVecType ;
381 FiniteDifferenceFunctionImg3OfVox6DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox6DFloatVecType ;
382 FiniteDifferenceFunctionImg3OfVox6DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox6DDoubleVecType ;
383 FiniteDifferenceFunctionImg3OfVox8DFloatVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox8DFloatVecType ;
384 FiniteDifferenceFunctionImg3OfVox8DDoubleVecType ::Pointer m_FiniteDifferenceFunctionImg3OfVox8DDoubleVecType ;
385
386 PDEDeformableRegFunction3DF3DF3DFVType ::Pointer m_PDEDeformableRegFunction3DF3DF3DFVType ;
388
389 private:
391 };
392
393
394 //----------------------------------------------------------------------------------
396 //----------------------------------------------------------------------------------
398 {
399 public:
400 //----------------------------------------------------------------------------------
402 //----------------------------------------------------------------------------------
405
406 //----------------------------------------------------------------------------------
409 //----------------------------------------------------------------------------------
410 void addOutputBaseField(Module& module, const char* outputFieldName)
411 {
412 if (!outputFieldName) {
413 ML_PRINT_ERROR("FiniteDifferenceFunctionWrapper::addOutputBaseField", ML_BAD_POINTER_OR_0,
414 "Passed field name pointer is nullptr. Ignoring call.");
415 return;
416 }
417 if (_baseField) {
418 ML_PRINT_ERROR("FiniteDifferenceFunctionWrapper::addOutputBaseField", ML_BAD_STATE, "Ignoring multiple field add.");
419 return;
420 }
421
422 _baseField = module.addBase(outputFieldName);
423 _baseField->addAllowedType<ITKFiniteDifferenceFunctionWrapper>();
424 _baseField->setBaseValue(&_baseWrapper);
425 }
426
427 //----------------------------------------------------------------------------------
430 //----------------------------------------------------------------------------------
431 void addInputBaseField(Module& module, const char* inputFieldName)
432 {
433 if (!inputFieldName) {
434 ML_PRINT_ERROR("FiniteDifferenceFunctionWrapper::addInputBaseField", ML_BAD_POINTER_OR_0,
435 "Passed field name pointer is nullptr. Ignoring call.");
436 return;
437 }
438 if (_baseField) {
439 ML_PRINT_ERROR("FiniteDifferenceFunctionWrapper::addInputBaseField", ML_BAD_STATE, "Ignoring multiple field add.");
440 return;
441 }
442
443 _baseField = module.addBase(inputFieldName);
444 _baseField->addAllowedType<ITKFiniteDifferenceFunctionWrapper>();
445 }
446
447 //----------------------------------------------------------------------------------
449 //----------------------------------------------------------------------------------
451 {
452 if (_baseField) {
453 _baseField->setBaseValue(newObject);
454 }
455 }
456
457 //----------------------------------------------------------------------------------
459 //----------------------------------------------------------------------------------
461 {
462 return _baseField;
463 }
464
465 //----------------------------------------------------------------------------------
467 //----------------------------------------------------------------------------------
469 {
470 return _baseField;
471 }
472
473 //----------------------------------------------------------------------------------
475 //----------------------------------------------------------------------------------
477 {
478 return &_baseWrapper;
479 }
480
481 //----------------------------------------------------------------------------------
484 //----------------------------------------------------------------------------------
486 {
487 return _baseField ? _baseField->getTypedBaseValue<ITKFiniteDifferenceFunctionWrapper*>() : nullptr;
488 }
489
490 protected:
493
495 BaseField* _baseField = nullptr;
496 };
497
498
499
Field to encapsulate a pointer to an ML base object.
Definition mlFields.h:729
Class representing general ML objects that support import/export via strings (setPersistentState() an...
Definition mlBase.h:59
Special case wrapper for ITKFiniteDifferenceFunctionWrapper.
ITKFiniteDifferenceFunctionWrapper * getWrappedInputObject()
Return the pointer to the wrapped input object, if it is of the correct type, otherwise a nullptr.
void setNewOutputBaseFieldObject(ITKFiniteDifferenceFunctionWrapper *newObject)
This replaces the output base object.
ITKFiniteDifferenceFunctionWrapper * getWrappedOutputObject()
Return the pointer to the wrapped object.
void addOutputBaseField(Module &module, const char *outputFieldName)
Method to add a base field to the passed Module module.
ITKFiniteDifferenceFunctionWrapper _baseWrapper
Reference to the Base object wrapping the ITK object pointer.
void addInputBaseField(Module &module, const char *inputFieldName)
Method to add a base field to the passed Module module.
BaseField * getInputBaseField()
For legacy reasons there are two fields for getting the base field.
BaseField * getOutputBaseField()
For legacy reasons there are two fields for getting the base field.
Class to provide a number of get/set functions for often used templated objects, for example function...
void SetFiniteDifferenceFunctionImg3OfVoxUInt8Type(FiniteDifferenceFunctionImg3OfVoxUInt8Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVox8DFloatVecType(FiniteDifferenceFunctionImg3OfVox8DFloatVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVox4DFloatVecType(FiniteDifferenceFunctionImg3OfVox4DFloatVecType ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVox8DFloatVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox8DFloatVecType *)
void SetFiniteDifferenceFunctionImg2OfVox6DDoubleVecType(FiniteDifferenceFunctionImg2OfVox6DDoubleVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVoxInt16Type(FiniteDifferenceFunctionImg3OfVoxInt16Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVox2DDoubleVecType(FiniteDifferenceFunctionImg2OfVox2DDoubleVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVox2DFloatVecType(FiniteDifferenceFunctionImg2OfVox2DFloatVecType ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVoxInt8Type::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxInt8Type *)
void SetFiniteDifferenceFunctionImg3OfVox2DFloatVecType(FiniteDifferenceFunctionImg3OfVox2DFloatVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVoxFloatType(FiniteDifferenceFunctionImg3OfVoxFloatType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVoxDoubleType(FiniteDifferenceFunctionImg3OfVoxDoubleType ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVox3DDoubleVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox3DDoubleVecType *)
FiniteDifferenceFunctionImg3OfVox2DDoubleVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox2DDoubleVecType *)
FiniteDifferenceFunctionImg2OfVoxInt8Type::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxInt8Type *)
ITKFiniteDifferenceFunctionWrapper()
Constructor. Resets all pointers.
void SetFiniteDifferenceFunctionImg2OfVox6DFloatVecType(FiniteDifferenceFunctionImg2OfVox6DFloatVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVoxUInt16Type(FiniteDifferenceFunctionImg3OfVoxUInt16Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVoxInt8Type(FiniteDifferenceFunctionImg2OfVoxInt8Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVoxUInt8Type(FiniteDifferenceFunctionImg2OfVoxUInt8Type ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVoxDoubleType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxDoubleType *)
void SetFiniteDifferenceFunctionImg2OfVoxFloatType(FiniteDifferenceFunctionImg2OfVoxFloatType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVoxInt16Type(FiniteDifferenceFunctionImg2OfVoxInt16Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVox8DFloatVecType(FiniteDifferenceFunctionImg2OfVox8DFloatVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVoxInt32Type(FiniteDifferenceFunctionImg3OfVoxInt32Type ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVoxUInt8Type::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxUInt8Type *)
void SetFiniteDifferenceFunctionImg3OfVox3DDoubleVecType(FiniteDifferenceFunctionImg3OfVox3DDoubleVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVoxUInt32Type(FiniteDifferenceFunctionImg2OfVoxUInt32Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVox4DFloatVecType(FiniteDifferenceFunctionImg2OfVox4DFloatVecType ::Pointer ptr)
FiniteDifferenceFunctionImg2OfVoxUInt8Type::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxUInt8Type *)
FiniteDifferenceFunctionImg3OfVox6DDoubleVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox6DDoubleVecType *)
FiniteDifferenceFunctionImg3OfVoxInt16Type::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxInt16Type *)
FiniteDifferenceFunctionImg3OfVoxUInt32Type::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxUInt32Type *)
FiniteDifferenceFunctionImg2OfVox6DDoubleVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox6DDoubleVecType *)
FiniteDifferenceFunctionImg3OfVox4DDoubleVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox4DDoubleVecType *)
FiniteDifferenceFunctionImg2OfVox8DDoubleVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox8DDoubleVecType *)
FiniteDifferenceFunctionImg2OfVox3DFloatVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox3DFloatVecType *)
void SetFiniteDifferenceFunctionImg3OfVox6DFloatVecType(FiniteDifferenceFunctionImg3OfVox6DFloatVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVox4DDoubleVecType(FiniteDifferenceFunctionImg3OfVox4DDoubleVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVox3DDoubleVecType(FiniteDifferenceFunctionImg2OfVox3DDoubleVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVoxUInt16Type(FiniteDifferenceFunctionImg2OfVoxUInt16Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVoxInt32Type(FiniteDifferenceFunctionImg2OfVoxInt32Type ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVox2DDoubleVecType(FiniteDifferenceFunctionImg3OfVox2DDoubleVecType ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVox6DFloatVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox6DFloatVecType *)
FiniteDifferenceFunctionImg2OfVox4DDoubleVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox4DDoubleVecType *)
FiniteDifferenceFunctionImg2OfVoxInt32Type::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxInt32Type *)
FiniteDifferenceFunctionImg3OfVoxFloatType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxFloatType *)
FiniteDifferenceFunctionImg3OfVoxInt32Type::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxInt32Type *)
FiniteDifferenceFunctionImg2OfVoxUInt32Type::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxUInt32Type *)
FiniteDifferenceFunctionImg2OfVoxFloatType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxFloatType *)
bool isFiniteDifferenceFunctionValid(PagedImage *outImg, bool usePDEDeformableFunc=false)
Check whether a correctly typed difference function is available in any member which matches the conf...
FiniteDifferenceFunctionImg2OfVoxDoubleType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxDoubleType *)
FiniteDifferenceFunctionImg2OfVox8DFloatVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox8DFloatVecType *)
FiniteDifferenceFunctionImg2OfVox6DFloatVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox6DFloatVecType *)
FiniteDifferenceFunctionImg3OfVox2DFloatVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox2DFloatVecType *)
void SetFiniteDifferenceFunctionImg2OfVox3DFloatVecType(FiniteDifferenceFunctionImg2OfVox3DFloatVecType ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVoxUInt16Type::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVoxUInt16Type *)
void SetFiniteDifferenceFunctionImg3OfVoxUInt32Type(FiniteDifferenceFunctionImg3OfVoxUInt32Type ::Pointer ptr)
FiniteDifferenceFunctionImg2OfVox3DDoubleVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox3DDoubleVecType *)
FiniteDifferenceFunctionImg2OfVox2DFloatVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox2DFloatVecType *)
FiniteDifferenceFunctionImg2OfVox4DFloatVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox4DFloatVecType *)
void SetFiniteDifferenceFunctionImg3OfVox8DDoubleVecType(FiniteDifferenceFunctionImg3OfVox8DDoubleVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVoxDoubleType(FiniteDifferenceFunctionImg2OfVoxDoubleType ::Pointer ptr)
FiniteDifferenceFunctionImg2OfVoxInt16Type::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxInt16Type *)
FiniteDifferenceFunctionImg3OfVox3DFloatVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox3DFloatVecType *)
FiniteDifferenceFunctionImg3OfVox4DFloatVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox4DFloatVecType *)
void SetFiniteDifferenceFunctionImg2OfVox8DDoubleVecType(FiniteDifferenceFunctionImg2OfVox8DDoubleVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg3OfVoxInt8Type(FiniteDifferenceFunctionImg3OfVoxInt8Type ::Pointer ptr)
FiniteDifferenceFunctionImg2OfVoxUInt16Type::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVoxUInt16Type *)
void SetFiniteDifferenceFunctionImg3OfVox6DDoubleVecType(FiniteDifferenceFunctionImg3OfVox6DDoubleVecType ::Pointer ptr)
FiniteDifferenceFunctionImg2OfVox2DDoubleVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg2OfVox2DDoubleVecType *)
PDEDeformableRegFunction3DF3DF3DFVType::Pointer GetFiniteDifferenceFunction(PDEDeformableRegFunction3DF3DF3DFVType *)
void SetFiniteDifferenceFunctionImg3OfVox3DFloatVecType(FiniteDifferenceFunctionImg3OfVox3DFloatVecType ::Pointer ptr)
void SetFiniteDifferenceFunctionImg2OfVox4DDoubleVecType(FiniteDifferenceFunctionImg2OfVox4DDoubleVecType ::Pointer ptr)
FiniteDifferenceFunctionImg3OfVox8DDoubleVecType::Pointer GetFiniteDifferenceFunction(FiniteDifferenceFunctionImg3OfVox8DDoubleVecType *)
void SetPDEDeformableRegFunction3DF3DF3DFVType(PDEDeformableRegFunction3DF3DF3DFVType ::Pointer ptr)
Base class for an image processing module of the ML.
Definition mlModule.h:151
The class PagedImage, representing a fragmented image that manages properties and data of an image lo...
MLint32 MLDataType
MLDataType.
Definition mlTypeDefs.h:596
MLEXPORT size_t MLTypeGetNumComponents(MLDataType dataType)
Returns the number of components of the data type data type or 0 in case of an invalid data type.
@ MLuint8Type
Enumerator for the unsigned 8-bit ML integer type.
Definition mlTypeDefs.h:621
@ MLuint32Type
Enumerator for the unsigned 32-bit ML integer type.
Definition mlTypeDefs.h:625
@ MLfloatType
Enumerator for the signed 32-bit ML floating point type.
Definition mlTypeDefs.h:626
@ MLuint16Type
Enumerator for the unsigned 16-bit ML integer type.
Definition mlTypeDefs.h:623
@ MLint16Type
Enumerator for the signed 16-bit ML integer type.
Definition mlTypeDefs.h:622
@ MLint32Type
Enumerator for the signed 32-bit ML integer type.
Definition mlTypeDefs.h:624
@ MLdoubleType
Enumerator for the signed 64-bit ML floating point type.
Definition mlTypeDefs.h:627
@ MLint8Type
Enumerator for the signed 8-bit ML integer type.
Definition mlTypeDefs.h:620
#define ML_BAD_POINTER_OR_0
A pointer is NULL or a value is NULL or 0 where it should not be.
Definition mlTypeDefs.h:933
#define ML_BAD_STATE
The current state of an object is not appropriate for an operation.
Definition mlTypeDefs.h:938
#define ML_PRINT_ERROR(FUNC_NAME, REASON, HANDLING)
Like ML_PRINT_ERROR_DUMP(FUNC_NAME, REASON, HANDLING, RT_OBJ) without a runtime object to be dumped.
itk::Image< MLint8, 2 > Img2OfVoxInt8Type
itk::Image< MLuint16, 2 > Img2OfVoxUInt16Type
itk::Image< Vox8DFloatVecType, 3 > Img3OfVox8DFloatVecType
itk::FiniteDifferenceFunction< Img3OfVoxFloatType > FiniteDifferenceFunctionImg3OfVoxFloatType
itk::Image< Vox8DDoubleVecType, 2 > Img2OfVox8DDoubleVecType
itk::FiniteDifferenceFunction< Img2OfVoxFloatType > FiniteDifferenceFunctionImg2OfVoxFloatType
itk::Image< MLfloat, 3 > Img3OfVoxFloatType
itk::Image< Vox8DDoubleVecType, 3 > Img3OfVox8DDoubleVecType
itk::FiniteDifferenceFunction< Img2OfVox6DFloatVecType > FiniteDifferenceFunctionImg2OfVox6DFloatVecType
itk::FiniteDifferenceFunction< Img3OfVox8DFloatVecType > FiniteDifferenceFunctionImg3OfVox8DFloatVecType
itk::Image< Vox4DDoubleVecType, 3 > Img3OfVox4DDoubleVecType
itk::PDEDeformableRegistrationFunction< Img3OfVoxFloatType, Img3OfVoxFloatType, Img3OfVox3DFloatVecType > PDEDeformableRegFunction3DF3DF3DFVType
itk::Vector< float,8 > Vox8DFloatVecType
itk::Image< Vox6DFloatVecType, 2 > Img2OfVox6DFloatVecType
itk::FiniteDifferenceFunction< Img3OfVox4DFloatVecType > FiniteDifferenceFunctionImg3OfVox4DFloatVecType
itk::FiniteDifferenceFunction< Img2OfVox3DFloatVecType > FiniteDifferenceFunctionImg2OfVox3DFloatVecType
itk::Image< MLfloat, 2 > Img2OfVoxFloatType
itk::Image< MLdouble, 2 > Img2OfVoxDoubleType
itk::Image< MLdouble, 3 > Img3OfVoxDoubleType
itk::Vector< double, 3 > Vox3DDoubleVecType
itk::Image< Vox2DFloatVecType, 3 > Img3OfVox2DFloatVecType
itk::FiniteDifferenceFunction< Img3OfVox4DDoubleVecType > FiniteDifferenceFunctionImg3OfVox4DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVox2DDoubleVecType > FiniteDifferenceFunctionImg3OfVox2DDoubleVecType
itk::Image< Vox2DFloatVecType, 2 > Img2OfVox2DFloatVecType
itk::Image< Vox6DFloatVecType, 3 > Img3OfVox6DFloatVecType
itk::Vector< float,3 > Vox3DFloatVecType
itk::FiniteDifferenceFunction< Img2OfVoxUInt16Type > FiniteDifferenceFunctionImg2OfVoxUInt16Type
itk::FiniteDifferenceFunction< Img2OfVox8DDoubleVecType > FiniteDifferenceFunctionImg2OfVox8DDoubleVecType
itk::Vector< double, 8 > Vox8DDoubleVecType
itk::FiniteDifferenceFunction< Img2OfVoxDoubleType > FiniteDifferenceFunctionImg2OfVoxDoubleType
itk::Image< Vox3DFloatVecType, 2 > Img2OfVox3DFloatVecType
itk::Image< MLint8, 3 > Img3OfVoxInt8Type
itk::Image< Vox2DDoubleVecType, 2 > Img2OfVox2DDoubleVecType
itk::Image< MLint16, 2 > Img2OfVoxInt16Type
itk::FiniteDifferenceFunction< Img2OfVox6DDoubleVecType > FiniteDifferenceFunctionImg2OfVox6DDoubleVecType
itk::FiniteDifferenceFunction< Img2OfVox4DDoubleVecType > FiniteDifferenceFunctionImg2OfVox4DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVoxUInt32Type > FiniteDifferenceFunctionImg3OfVoxUInt32Type
itk::FiniteDifferenceFunction< Img3OfVoxUInt16Type > FiniteDifferenceFunctionImg3OfVoxUInt16Type
itk::Image< Vox8DFloatVecType, 2 > Img2OfVox8DFloatVecType
itk::FiniteDifferenceFunction< Img2OfVoxUInt32Type > FiniteDifferenceFunctionImg2OfVoxUInt32Type
itk::Image< MLuint8, 2 > Img2OfVoxUInt8Type
itk::Image< MLint32, 2 > Img2OfVoxInt32Type
itk::FiniteDifferenceFunction< Img2OfVoxUInt8Type > FiniteDifferenceFunctionImg2OfVoxUInt8Type
itk::FiniteDifferenceFunction< Img2OfVox4DFloatVecType > FiniteDifferenceFunctionImg2OfVox4DFloatVecType
itk::Image< MLuint32, 3 > Img3OfVoxUInt32Type
itk::FiniteDifferenceFunction< Img3OfVoxInt32Type > FiniteDifferenceFunctionImg3OfVoxInt32Type
itk::Image< Vox4DDoubleVecType, 2 > Img2OfVox4DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVox3DDoubleVecType > FiniteDifferenceFunctionImg3OfVox3DDoubleVecType
itk::FiniteDifferenceFunction< Img2OfVox8DFloatVecType > FiniteDifferenceFunctionImg2OfVox8DFloatVecType
itk::Image< Vox4DFloatVecType, 3 > Img3OfVox4DFloatVecType
itk::FiniteDifferenceFunction< Img2OfVox3DDoubleVecType > FiniteDifferenceFunctionImg2OfVox3DDoubleVecType
itk::Image< Vox3DFloatVecType, 3 > Img3OfVox3DFloatVecType
itk::FiniteDifferenceFunction< Img3OfVox6DDoubleVecType > FiniteDifferenceFunctionImg3OfVox6DDoubleVecType
itk::FiniteDifferenceFunction< Img2OfVox2DFloatVecType > FiniteDifferenceFunctionImg2OfVox2DFloatVecType
itk::Image< Vox3DDoubleVecType, 3 > Img3OfVox3DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVox8DDoubleVecType > FiniteDifferenceFunctionImg3OfVox8DDoubleVecType
itk::Vector< float,4 > Vox4DFloatVecType
itk::Image< Vox4DFloatVecType, 2 > Img2OfVox4DFloatVecType
itk::Image< MLuint32, 2 > Img2OfVoxUInt32Type
itk::Image< Vox6DDoubleVecType, 2 > Img2OfVox6DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVox3DFloatVecType > FiniteDifferenceFunctionImg3OfVox3DFloatVecType
itk::Image< MLint16, 3 > Img3OfVoxInt16Type
itk::FiniteDifferenceFunction< Img2OfVoxInt8Type > FiniteDifferenceFunctionImg2OfVoxInt8Type
itk::FiniteDifferenceFunction< Img2OfVox2DDoubleVecType > FiniteDifferenceFunctionImg2OfVox2DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVoxInt8Type > FiniteDifferenceFunctionImg3OfVoxInt8Type
itk::FiniteDifferenceFunction< Img2OfVoxInt32Type > FiniteDifferenceFunctionImg2OfVoxInt32Type
itk::Vector< double, 2 > Vox2DDoubleVecType
itk::Image< MLuint16, 3 > Img3OfVoxUInt16Type
itk::Vector< float,2 > Vox2DFloatVecType
Include most ML specific things.
itk::FiniteDifferenceFunction< Img3OfVox2DFloatVecType > FiniteDifferenceFunctionImg3OfVox2DFloatVecType
itk::Image< MLuint8, 3 > Img3OfVoxUInt8Type
itk::Vector< double, 6 > Vox6DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVoxInt16Type > FiniteDifferenceFunctionImg3OfVoxInt16Type
itk::FiniteDifferenceFunction< Img3OfVox6DFloatVecType > FiniteDifferenceFunctionImg3OfVox6DFloatVecType
itk::FiniteDifferenceFunction< Img3OfVoxUInt8Type > FiniteDifferenceFunctionImg3OfVoxUInt8Type
itk::Image< MLint32, 3 > Img3OfVoxInt32Type
itk::Image< Vox3DDoubleVecType, 2 > Img2OfVox3DDoubleVecType
itk::Image< Vox6DDoubleVecType, 3 > Img3OfVox6DDoubleVecType
itk::Vector< double, 4 > Vox4DDoubleVecType
itk::FiniteDifferenceFunction< Img3OfVoxDoubleType > FiniteDifferenceFunctionImg3OfVoxDoubleType
itk::Vector< float,6 > Vox6DFloatVecType
itk::FiniteDifferenceFunction< Img2OfVoxInt16Type > FiniteDifferenceFunctionImg2OfVoxInt16Type
itk::Image< Vox2DDoubleVecType, 3 > Img3OfVox2DDoubleVecType
#define MLITK_SUPPORT_EXPORT
When included by other libraries MLITK_SUPPORT_EXPORT is compiled as import symbol.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
#define ML_CLASS_HEADER(className)
Same like ML_CLASS_HEADER_EXPORTED with a non-existing export symbol.
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
Definition mlTypeDefs.h:490