[Insight-developers] Transform API Changes?
Lorensen, William E (Research)
lorensen at crd.ge.com
Tue Aug 31 06:58:35 EDT 2004
I think we should also maintain the old API. it is OK to mark it as
deprecated.
Bill
-----Original Message-----
From: Julien Jomier [mailto:jjomier at cs.unc.edu]
Sent: Monday, August 30, 2004 9:41 PM
To: insight-developers at itk.org; Bill Lorensen
Subject: Re: [Insight-developers] Transform API Changes?
Bill,
Yes the API changes a little.
The main modification is:
Self::Pointer Inverse(void) const;
is replaced by
bool GetInverse(Self* inverse) const;
Now the inverse transform is computed only if the user asks for it.
Also, the GetInverse() function in the AffineTransform was returning the
affine matrix. I renamed it GetInverseMatrix().
I can add the Inverse() and GetInverse() (returning the affine matrix)
methods back and mark them as deprecated if you think it's better. I only
found two places in InsightApplications were Inverse() was used directly.
Julien
----- Original Message -----
From: "Bill Lorensen" <wlorens1 at nycap.rr.com>
To: "Julien Jomier" <jjomier at cs.unc.edu>; <insight-developers at itk.org>
Sent: Monday, August 30, 2004 9:20 PM
Subject: [Insight-developers] Transform API Changes?
> Julien,
>
> Do your transform changes modify itk's transform API? If so, we need to
> discuss a deprecation strategy.
>
> Bill
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>
_______________________________________________
Insight-developers mailing list
Insight-developers at itk.org
http://www.itk.org/mailman/listinfo/insight-developers
More information about the Insight-developers
mailing list