]> Creatis software - clitk.git/blobdiff - registration/clitkShapedBLUTSpatioTemporalDeformableTransform.h
itkv4 propagate Transform<*>::NumberOfParametersType
[clitk.git] / registration / clitkShapedBLUTSpatioTemporalDeformableTransform.h
index f3071b136c39433e2738063a646b268eadb5bc56..c9fb588e30f83641260459a16e9d57e0cd684a66 100644 (file)
@@ -68,6 +68,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;
@@ -274,7 +277,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
 
     //JV Return the padded number of parameters
     virtual unsigned int GetPaddedNumberOfParameters(void) const;