]> Creatis software - creaVtk.git/commitdiff
Clean code
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 3 May 2021 06:23:39 +0000 (08:23 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 3 May 2021 06:23:39 +0000 (08:23 +0200)
bbtk_creaVtk_PKG/src/bbcreaVtkPointPicker.cxx

index 5bb82f5d54abba853cef4936adf50b61e39905dc..0d75b953cdbb85b06199b70e5e6d4834c2d8e1d8 100644 (file)
@@ -28,7 +28,7 @@ void creaVtkCallbackPointPicker::Execute(vtkObject *caller, unsigned long, void*
        {
                if (boxPointPicker->bbGetInputActive()==true)
                {
-                       printf("creaVtkCallbackPointPicker EED Picker\n");
+//                     printf("creaVtkCallbackPointPicker EED Picker\n");
                        vtkRenderWindowInteractor *iren = static_cast<vtkRenderWindowInteractor*>(caller);
                        int* pos = iren->GetEventPosition();
                    vtkCellPicker *picker = vtkCellPicker::New();
@@ -38,7 +38,7 @@ void creaVtkCallbackPointPicker::Execute(vtkObject *caller, unsigned long, void*
 
                        if(picker->GetCellId() != -1)
                    {
-                               printf("creaVtkCallbackPointPicker EED picker OK\n");
+//                             printf("creaVtkCallbackPointPicker EED picker OK\n");
                                picker->GetPickPosition(point);
                                std::vector<double> vecPoint;
                                vecPoint.push_back( point[0] );
@@ -50,7 +50,7 @@ void creaVtkCallbackPointPicker::Execute(vtkObject *caller, unsigned long, void*
                                        boxPointPicker->bbSetOutputCellId( picker->GetCellId() );
                                        boxPointPicker->bbSignalOutputModification();
                        } else {
-                               printf("creaVtkCallbackPointPicker EED picker --\n");
+//                             printf("creaVtkCallbackPointPicker EED picker --\n");
                        } // if
                }
        } // if boxPoiintPicker