[vtkusers] Hide vtkOutputWindow
lucas.frucht at medilabsistemas.com.br
lucas.frucht at medilabsistemas.com.br
Wed Aug 8 11:04:32 EDT 2018
Bel,
There is one point that is not clear to me in your question. Do you want
the messages that would have been shown when vtkOutputWindow is hidden
to be discarded or to be shown when you unhide it?
If you want it to be discarded, I suppose you could redirect it to
/dev/null on Unix or to nul on Windows and delete the redirection when
you want to unhide the window.
If you just want to delay the output, maybe, you could redirect the
messages to an vtkStringOutputWindow to store the messages on a string
and when you want to show then, delete the redirection and call
DisplayText passing the string where you stored the messages. I never
tried this, but it seems reasonable to me.
Best regards,
---
LUCAS Frucht Desenvolvimento
_lucas.frucht at medilabsistemas.com.br
_www.medilabsistemas.com.br
_+55 21 3294-3600
[7]__
[8]__
[9]__
[10]__
[11]__
Em 07/08/2018 19:15, Bel escreveu:
> How can I hide vtkOutputWindow? No suppress by
> vtkObject::GlobalWarningDisplayOff() or redirect output to file, but only
> hide. (And show again after some time by something
> likevtkOutputWindow::GetInstance()->DisplayText(" ")). Thanks.
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html [1]
> _______________________________________________
> Powered by www.kitware.com [2]
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html [3]
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ [4]
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers [5]
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtkusers [6]
Links:
------
[1] http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
[2] http://www.kitware.com
[3] http://www.kitware.com/opensource/opensource.html
[4] http://www.vtk.org/Wiki/VTK_FAQ
[5] http://markmail.org/search/?q=vtkusers
[6] https://public.kitware.com/mailman/listinfo/vtkusers
[7] https://www.facebook.com/MedilabSistemas/?fref=ts
[8] https://twitter.com/SistemasMedilab
[9]
https://www.linkedin.com/company/2242648?trk=tyah&trkInfo=clickedVertical%3Acompany%2CclickedEntityId%3A2242648%2Cidx%3A2-2-7%2CtarId%3A1478877733074%2Ctas%3Amedilab
[10] https://www.youtube.com/channel/UCOp5wBk9ku_r7XZ32OAajVA
[11] http://medilab.net.br/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180808/58fb57fd/attachment.html>
More information about the vtkusers
mailing list