Hi Rakesh,<div><br></div><div>You can replace VTK's default output window with one that writes the errors to a file:</div><div><br></div><div>vtkOutputWindow *w = vtkFileOutputWindow::New();</div><div>w->SetFileName("vtk_errors.txt")</div>
<div>vtkOutputWindow::SetInstance(w);</div><div>w->Delete(); // now SetInstance owns the reference</div><div><br></div><div> David</div><div><br><br><div class="gmail_quote">On Wed, Dec 8, 2010 at 6:20 AM, rakesh patil <span dir="ltr"><<a href="mailto:prakeshofficial@gmail.com">prakeshofficial@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Hello,</div>
<div> </div>
<div>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..??</div>
<div> </div>
<div>Thanks</div>
<div> </div>
<div> </div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>