[vtkusers] [VTK] how to disable VTK warning messages?

Sébastien MARAUX maraux at ondim.fr
Fri Feb 20 10:21:44 EST 2004


 

You can also redirect VTK output to a log file :

 

            vtkFileOutputWindow *outwin = vtkFileOutputWindow::New();

            outwin->SetFileName(".\vtklog.txt");

            outwin->SetInstance(outwin);

 

... your code...

 

            outwin->Delete();

 

Sebastien MARAUX

 

 

-----Message d'origine-----
De : vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org] De la part
de Amy Henderson
Envoyé : vendredi 20 février 2004 16:06
À : Cristian Luciano; vtkusers at vtk.org
Objet : Re: [vtkusers] [VTK] how to disable VTK warning messages?

 

Hi Cristian,

Calling the static method vtkObject::GlobalWarningDisplayOff will turn
off all error, debug, and warning messages.

- Amy

At 09:55 AM 2/20/2004, Cristian Luciano wrote:



Hi everyone,
 
Is there any way to disable VTK warning messages?
 
Thanks.
 
Cristian
 
__________________________________________________________
 
Cristian J. Luciano
Research Computer Scientist
 
Electronic Visualization Laboratory
Industrial Virtual Reality Institute
 
University of Illinois at Chicago
842 W. Taylor Street, 2039 ERF
Chicago, IL, 60607
ph: (312) 996-0579
fax: (312) 413-0447
<http://www.evl.uic.edu>
__________________________________________________________ 
 
 
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040220/950c0699/attachment.htm>


More information about the vtkusers mailing list