[Insight-developers] Lots of new warnings: Adding an alternative GetInverse() method to the transform hierarchy.

Luis Ibanez luis.ibanez at kitware.com
Sat Jun 28 09:54:33 EDT 2008


Hi Bill,

Yeap, the change is now being backed off.

The existing GetInverse method use "Self" as argument, therefore
every class returns a trasnsform of its own type.

The change to virtual was not enough,
in practice we need a full new method with a different signature.

We are replacing (via backward-compatible deprecation mechanism)
the method

  bool Transform::GetInverse( Self * inverse );

with

  virtual bool
  TransformBase::GetInverse( TransformBase::Pointer & inverse ) const;


The change has been committed now.


   Luis


----------------------
Bill Lorensen wrote:
> Luis,
> 
> After your itkTransform.h changes, there are lots of warnings:
> http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=110692
> 
> Bill
> 


More information about the Insight-developers mailing list