[vtkusers] Runtime error Window

Charl P. Botha c.p.botha at ewi.tudelft.nl
Tue Sep 9 10:53:54 EDT 2003


On Mon, 2003-09-08 at 11:25, Massimo Ivani wrote:
> Sometime when my customers use software which embed vtk, they get some
> errors in vtk run time error window... how can I hide this error
> window and trap errors?

You can create your own vtkOutputWindow class (see the vtkOutputWindow.h
documentation) and set it as default.  In this class you can do whatever
you like with the VTK errors.

Alternatively, you can attach ErrorEvent observers to any VTK objects
which might cause errors.  In these observers you can perform your
application specific handling.

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/




More information about the vtkusers mailing list