[vtk-developers] capturing vtkDebug,GenericWarning,Error_Macr o text output

Miller, James V (Research) millerjv at crd.ge.com
Tue Nov 26 15:31:55 EST 2002


You can use a vtkFileOutputWindow.

Create a vtkFileOutputWindow and call vtkFileOutputWindow::SetInstance() passing in 
the instance you created.

(from memory... so syntax is lacking.)

> -----Original Message-----
> From: Dean Inglis [mailto:dean.inglis at on.aibn.com]
> Sent: Tuesday, November 26, 2002 3:27 PM
> To: Vtk-Developers
> Subject: [vtk-developers] capturing 
> vtkDebug,GenericWarning,Error_Macro
> text output
> 
> 
> Hi,
> 
> is there a way to capture/redirect the output
> of the vtkDebug,GenericWarning,Error_Macro text output
> to a text file or to std::cout ?
> 
> I am trying to debug /Patented/sweepAuto.tcl for 
> Win2k, Borland but the output popup window
> is gone in a flash before I can read its content.
> 
> thanks,
> Dean
> 
> 
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at public.kitware.com
> http://public.kitware.com/mailman/listinfo/vtk-developers
> 



More information about the vtk-developers mailing list