X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkPlaneWidget.cxx;h=637898152fa920d21718a8483a5d7d4337074781;hb=cc46a640a6898f86ff194670b6c41bdc4398971a;hp=02346246ffdb896c345c8070088a97de28e55b1f;hpb=41a74698bb0203749248628baa1503144e1f12f7;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkPlaneWidget.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkPlaneWidget.cxx index 0234624..6378981 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkPlaneWidget.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkPlaneWidget.cxx @@ -15,6 +15,12 @@ void boxcreaVtkPlaneWidget::Execute() // virutal printf("EED bbcreaVtkPlaneWidget::Execute (virtual) start 1\n"); box->bbSignalOutputModification(std::string("Out")); printf("EED bbcreaVtkPlaneWidget::Execute (virtual) end \n"); + + box->bbSetOutputCenter( box->_boxcreavtkplanewidget.GetCenter() ); + box->bbSignalOutputModification(std::string("Center")); + box->bbSetOutputNormal( box->_boxcreavtkplanewidget.GetNormal() ); + box->bbSignalOutputModification(std::string("Normal")); + } //---------------------------------------------------------------------------------------------- @@ -48,6 +54,8 @@ void PlaneWidget::Process() _boxcreavtkplanewidget.SetRenderer( bbGetInputRenderer() ); _boxcreavtkplanewidget.Process(); bbSetOutputOut( _boxcreavtkplanewidget.GetPlaneSource()->GetOutput() ); + bbSetOutputCenter( _boxcreavtkplanewidget.GetCenter() ); + bbSetOutputNormal( _boxcreavtkplanewidget.GetNormal() ); } //===== // 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)