MantisBT - VTK
View Issue Details
0005500VTK(No Category)public2007-08-14 17:352012-12-12 12:12
Levap 
David Gobbi 
normalfeatureN/A
closedfixed 
 
5.10.0 
0005500: vtkAbstractTransform and Co. - internal state
This is a major feature request for the implementation of vtkAbstractTransform and Co.. In some cases it is very helpful to know if the TemplateTransformPoint() or TemplateTransformInverse() was successful. Currently I see no possibility to get this information. So my proposal is to add some internal state flag in vtkAbstractTransform.

Example:
You are using vtkThinPlateSplineTransform with some very scattered points. Then you call TemplateTransformInverse() so the Newton method well be executed, but it fails to converge. At the moment you get an annoying warrning. It would be more usable to get the error state at the runtime, so you can react to this error inside you code.

Greets...
No tags attached.
Issue History
2007-08-14 17:35LevapNew Issue
2011-02-26 10:41David GobbiAssigned To => David Gobbi
2011-02-26 10:41David GobbiStatusbacklog => tabled
2011-04-15 17:23David GobbiNote Added: 0026188
2011-04-15 17:23David GobbiStatustabled => @80@
2011-04-15 17:23David GobbiResolutionopen => fixed
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2012-12-12 12:12David GobbiStatuscustomer review => closed
2012-12-12 12:12David GobbiFixed in Version => 5.10.0

Notes
(0026188)
David Gobbi   
2011-04-15 17:23   
The way to silently catch errors is by adding an ErrorEvent observer, but this wasn't working because vtkWarpTransform was using the wrong error macro (the right macro didn't exist when the class was written). This has been fixed:
http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=8110598071a3cabd56f5c6ac949feb745826cd98 [^]