]> Creatis software - clitk.git/blobdiff - registration/clitkMultipleBSplineDeformableTransform.h
remove tools (now in tests_dav)
[clitk.git] / registration / clitkMultipleBSplineDeformableTransform.h
index 84e8f7494b4918dfcf465f961c830bf82c56a9fc..5b2ee9eb35686933603bb10b4f22796e1be100b7 100644 (file)
@@ -59,6 +59,9 @@ namespace clitk
 
     /** Standard parameters container. */
     typedef typename Superclass::ParametersType ParametersType;
+#if ITK_VERSION_MAJOR >= 4
+    typedef typename Superclass::NumberOfParametersType NumberOfParametersType;
+#endif
 
     /** Standard Jacobian container. */
     typedef typename Superclass::JacobianType JacobianType;
@@ -224,7 +227,11 @@ namespace clitk
 #endif
 
     /** Return the number of parameters that completely define the Transfom */
+#if ITK_VERSION_MAJOR >= 4
+    virtual NumberOfParametersType GetNumberOfParameters(void) const;
+#else
     virtual unsigned int GetNumberOfParameters(void) const;
+#endif
 
     /** Return the number of parameters per dimension */
     unsigned int GetNumberOfParametersPerDimension(void) const;