[Insight-developers] function signature

M.Staring at lumc.nl M.Staring at lumc.nl
Thu Sep 15 09:16:46 EDT 2011


Hi developers,

I think the signature of GetNumberOfParameters  in should change from

/** Return the number of parameters required by the Transform */
  unsigned int GetNumberOfParameters(void) const
  {
    return m_Transform->GetNumberOfParameters();
  }

to

/** Return the number of parameters required by the Transform */
  NumberOfParametersType GetNumberOfParameters(void) const
  {
    return m_Transform->GetNumberOfParameters();
  }

probably with

typedef typename TransformType::NumberOfParametersType NumberOfParametersType;

to reflect the changes in the Transform classes.

Regards,

Marius

Marius Staring, PhD
Division of Image Processing (LKEB)
Department of Radiology
Leiden University Medical Center
PO Box 9600, 2300 RC Leiden, The Netherlands
phone: +31 (0)71 526 2137, fax: +31 (0)71 524 8256 m.staring at lumc.nl



More information about the Insight-developers mailing list