From 9a7bc98832b9f18373390e768a63ac832808ed23 Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Thu, 12 Oct 2023 14:23:35 +0200 Subject: [PATCH] Clean code --- .../src/bbcreaVtkOutputWindow.cxx | 24 +++++++++---------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkOutputWindow.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkOutputWindow.cxx index 05f0699..c1ba9c8 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkOutputWindow.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkOutputWindow.cxx @@ -39,8 +39,10 @@ void OutputWindow::Process() { firsttime=false; vtkOutputWindowBBTK *w= vtkOutputWindowBBTK::New(); + w->SetDisplayModeToNever(); vtkOutputWindow::SetInstance( w ); - w->Delete(); + w->Delete(); + vtkObject::GlobalWarningDisplayOff(); } } //===== @@ -58,29 +60,25 @@ void OutputWindow::bbUserSetDefaultValues() //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== + void OutputWindow::bbUserInitializeProcessing() { - // THE INITIALIZATION METHOD BODY : // Here does nothing // but this is where you should allocate the internal/output pointers -// if any - - +// if any } //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== void OutputWindow::bbUserFinalizeProcessing() { - -// THE FINALIZATION METHOD BODY : -// Here does nothing -// but this is where you should desallocate the internal/output pointers -// if any - + // THE FINALIZATION METHOD BODY : + // Here does nothing + // but this is where you should desallocate the internal/output pointers + // if any } -} -// EO namespace bbcreaVtk + +}// EO namespace bbcreaVtk -- 2.45.1