]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkPlaneWidget.cxx
MeshManager
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkPlaneWidget.cxx
index f45306d2d509adad819bbbe7ddb3797cae84c913..1698e7115dcce0b5b9404034545e8c4b01843a87 100644 (file)
@@ -74,14 +74,18 @@ void PlaneWidget::Process()
 //      (the one provided in the attribute 'name' of the tag 'input')
 //    * TYPE is the C++ type of the input/output
 //      (the one provided in the attribute 'type' of the tag 'input')
+    printf("EED PlaneWidget::Process 1 \n");
        if ((bbGetInputIn()==NULL) || (bbGetInputRenderer()==NULL))
        {
+        printf("EED PlaneWidget::Process 2 \n");
                bbSetOutputOut( NULL );
                std::vector<double> center;
                std::vector<double> normal;
                bbSetOutputCenter( center );
                bbSetOutputNormal( normal );
        } else {
+        if (bbGetInputOrigin().size()==3) printf("EED PlaneWidget::Process 3  Origin  %f, %f, %f \n",  bbGetInputOrigin()[0], bbGetInputOrigin()[1], bbGetInputOrigin()[2] );
+        else printf("EED PlaneWidget::Process 3  Origin -1 \n" );
                _boxcreavtkplanewidget.SetActive( bbGetInputActive() );
                _boxcreavtkplanewidget.SetImage( bbGetInputIn() );
                _boxcreavtkplanewidget.SetResolution( bbGetInputResolution() );