/** 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;
#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;
// Get the number of parameters
template<class TCoordRep, unsigned int NInputDimensions, unsigned int NOutputDimensions>
+#if ITK_VERSION_MAJOR >= 4
+ typename BSplineDeformableTransform<TCoordRep, NInputDimensions, NOutputDimensions>::NumberOfParametersType
+#else
unsigned int
+#endif
BSplineDeformableTransform<TCoordRep, NInputDimensions, NOutputDimensions>
::GetNumberOfParameters(void) const
{
/** 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;
#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;
#undef LOOP_ON_LABELS
template<class TCoordRep, unsigned int NInputDimensions, unsigned int NOutputDimensions>
+#if ITK_VERSION_MAJOR >= 4
+ inline typename MultipleBSplineDeformableTransform<TCoordRep, NInputDimensions, NOutputDimensions>::NumberOfParametersType
+#else
inline unsigned int
+#endif
MultipleBSplineDeformableTransform<TCoordRep, NInputDimensions, NOutputDimensions>
::GetNumberOfParameters(void) const
{
/** 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;
#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;
// Get the number of parameters
template<class TCoordRep, unsigned int NInputDimensions, unsigned int NOutputDimensions>
+#if ITK_VERSION_MAJOR >= 4
+ typename ShapedBLUTSpatioTemporalDeformableTransform<TCoordRep, NInputDimensions, NOutputDimensions>::NumberOfParametersType
+#else
unsigned int
+#endif
ShapedBLUTSpatioTemporalDeformableTransform<TCoordRep, NInputDimensions, NOutputDimensions>
::GetNumberOfParameters(void) const
{