]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkOutputWindow.cxx
#3526 Active option in HausdorffDistancePointSetFilter box
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkOutputWindow.cxx
index 5e49bdb110d42193a00922acea83aa7f7215991d..c1ba9c86407dc3c37d19ec26bcd427b3ff45dc12 100644 (file)
@@ -13,8 +13,6 @@ void vtkOutputWindowBBTK::DisplayErrorText (const char *) {}
 void vtkOutputWindowBBTK::DisplayWarningText (const char *) {}
 void vtkOutputWindowBBTK::DisplayGenericWarningText (const char *) {}
 
-
-
 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaVtk,OutputWindow)
 BBTK_BLACK_BOX_IMPLEMENTATION(OutputWindow,bbtk::AtomicBlackBox);
 //===== 
@@ -41,8 +39,10 @@ void OutputWindow::Process()
        {
                firsttime=false;
                vtkOutputWindowBBTK *w= vtkOutputWindowBBTK::New();
+        w->SetDisplayModeToNever();
                vtkOutputWindow::SetInstance( w );
-               w->Delete();
+        w->Delete();
+        vtkObject::GlobalWarningDisplayOff();
        }
 }
 //===== 
@@ -60,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