[vtkusers] How to avoid VTK warning window?

David Gobbi david.gobbi at gmail.com
Wed Dec 8 09:00:51 EST 2010


Hi Rakesh,

You can replace VTK's default output window with one that writes the errors
to a file:

vtkOutputWindow *w = vtkFileOutputWindow::New();
w->SetFileName("vtk_errors.txt")
vtkOutputWindow::SetInstance(w);
w->Delete(); // now SetInstance owns the reference

  David


On Wed, Dec 8, 2010 at 6:20 AM, rakesh patil <prakeshofficial at gmail.com>wrote:

> Hello,
>
> While displaying vectors sometimes, a vtk window pops up with a warning. Is
> there any way to avoid or disable this popping up of vkt warning window..??
>
> Thanks
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101208/79bd8dee/attachment.htm>


More information about the vtkusers mailing list