X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkOutputWindow.cxx;h=c1ba9c86407dc3c37d19ec26bcd427b3ff45dc12;hb=e4f703b75f7cbb14b94688c02a3b7f8c2ab1471a;hp=5e49bdb110d42193a00922acea83aa7f7215991d;hpb=165b772fd99a0169bc00e21b5f328da81c331971;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkOutputWindow.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkOutputWindow.cxx index 5e49bdb..c1ba9c8 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkOutputWindow.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkOutputWindow.cxx @@ -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