]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkPlaneWidget.cxx
#2527 creaVtk Bug New Normal - Color Vectors Field
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkPlaneWidget.cxx
index 02346246ffdb896c345c8070088a97de28e55b1f..59b6821714f9a7f0f98551f6f70108c86221b4ca 100644 (file)
@@ -10,11 +10,13 @@ namespace bbcreaVtk
 
 void boxcreaVtkPlaneWidget::Execute()  // virutal
 {
-       printf("EED bbcreaVtkPlaneWidget::Execute (virtual) start \n");
-        box->bbSetOutputOut( box->_boxcreavtkplanewidget.GetPlaneSource()->GetOutput()  );
-       printf("EED bbcreaVtkPlaneWidget::Execute (virtual) start 1\n");
+   box->bbSetOutputOut( box->_boxcreavtkplanewidget.GetPlaneSource()->GetOutput()  );
        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 +50,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)