]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkPlaneWidget.cxx
#3474 PlaneWidget Box with representation:Wireframe and resolution
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkPlaneWidget.cxx
index 41007234e9250e6e0d67f9e295301ca9187b7daf..833d6be9d99e7db0df9d39f0435e7920e68f00b1 100644 (file)
@@ -44,7 +44,6 @@ void PlaneWidget::Process()
 //    * TYPE is the C++ type of the input/output
 //      (the one provided in the attribute 'type' of the tag 'input')
 
-printf("EED void PlaneWidget::Process Start\n");
 
        if ((bbGetInputIn()==NULL) || (bbGetInputRenderer()==NULL))
        {
@@ -59,15 +58,13 @@ printf("EED void PlaneWidget::Process Start\n");
                _boxcreavtkplanewidget.SetResolution( bbGetInputResolution() );
                _boxcreavtkplanewidget.SetRenderer( bbGetInputRenderer() );
                _boxcreavtkplanewidget.SetRepresentation( bbGetInputRepresentation() );
-printf("EED void PlaneWidget::Process 1\n");
+               _boxcreavtkplanewidget.SetOrigin( bbGetInputOrigin() );
                _boxcreavtkplanewidget.Process();
-printf("EED void PlaneWidget::Process 2\n");
                
                bbSetOutputOut( _boxcreavtkplanewidget.GetPlaneSource()->GetOutput() );
                bbSetOutputCenter( _boxcreavtkplanewidget.GetCenter() );
                bbSetOutputNormal( _boxcreavtkplanewidget.GetNormal() );
        }
-printf("EED void PlaneWidget::Process End\n");
        
 }
 //=====