]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkOutputWindow.cxx
Clean code
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkOutputWindow.cxx
index 05f0699ba273ea7a5ad9284fccf9c711e141d44a..c1ba9c86407dc3c37d19ec26bcd427b3ff45dc12 100644 (file)
@@ -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