[vtkusers] Print method output from Tcl script
Lisa S. Avila
lisa.avila at kitware.com
Thu Feb 8 15:23:19 EST 2001
Hi Chris,
If you print using a vtkErrorMacro (or vtkDebugMacro or
vtkGenericWarningMacro) it will show up in the output window. Are you
printing with cout or printf? I don't know if there is a way to get to that
output.
Lisa
At 02:56 PM 2/8/2001, Volpe, Christopher R (CRD) wrote:
>Ok, I thought this might be a stupid question but two other people here
>didn't know the answer, so
>here goes. When I send an object a "Print" method from within a Wish
>console window, I see the
>output. When I run a tcl/tk script with no interactive console window,
>there's this nice little
>"vtkOutputWindow" that gets created to hold all your debugging output.
>Unfortunately, the output from
>the Print method doesn't get redirected to this window, and it would
>really be nice if it could. Is
>there a way to do this? Or is there an alternate method of redirecting the
>output of Print methods
>somewhere else?
>
>thanks,
>
>
>Chris
>
> <<...>> GE Corporate Research & Development
> >
> ___________________________________________________________________________________________________
> > _______________________________________________
> >
>Christopher R. Volpe
>Computer Scientist
>Visual Information Program
>Bldg KW, Room C215
>P.O. Box 8, Schenectady, NY 12301
>
>(518) 387-7766, Dial Comm: 8*833-7766, Fax: (518) 387-6981
>e-mail: volpecr at crd.ge.com web: http://www.crd.ge.com/~volpecr
>
>
>
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at:
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list