FreeFormTransformationIntegration.h
1 /*
2  * Medical Image Registration ToolKit (MIRTK)
3  *
4  * Copyright 2013-2015 Imperial College London
5  * Copyright 2013-2015 Andreas Schuh
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 
20 #ifndef MIRTK_FreeFormTransformationIntegration_H
21 #define MIRTK_FreeFormTransformationIntegration_H
22 
23 
24 // ============================================================================
25 // Integration methods
26 // ============================================================================
27 
28 // Enumeration of integration methods
29 #include "mirtk/FFDIntegrationMethod.h"
30 
31 // Runge-Kutta integration methods
32 #include "FreeFormTransformationRungeKutta.h"
33 
34 // ============================================================================
35 // Auxiliary macros
36 // ============================================================================
37 
38 // ---------------------------------------------------------------------------
39 /// Define integration method for particular FFD
40 #define MIRTK_FFDIM2(NAME, FFD) \
41  typedef mirtk::FreeFormTransformationIntegration##NAME<FFD> NAME;
42 
43 // ---------------------------------------------------------------------------
44 /// Define integration method for particular FFD
45 #define MIRTK_FFDIM3(NAME, FFD, METHOD) \
46  typedef mirtk::FreeFormTransformationIntegration##METHOD<FFD> NAME;
47 
48 
49 #endif // MIRTK_FreeFormTransformationIntegration_H