]> Creatis software - creaVtk.git/commitdiff
Clean code vtk8itk5wx3-mingw64
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 26 Jul 2021 13:37:25 +0000 (15:37 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 26 Jul 2021 13:37:25 +0000 (15:37 +0200)
bbtk_creaVtk_PKG/src/bbcreaVtkApplyTransformToPoint3D.cxx
bbtk_creaVtk_PKG/src/bbcreaVtkPlane.cxx

index ae0477251888541add8eb0eb6613bbd5c5e7adc8..6b662675b5296a36a29011b1a1a9cb81ec4627f6 100644 (file)
@@ -31,8 +31,6 @@ void ApplyTransformToPoint3D::Process()
 //    std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
 
 
-       printf("EED ApplyTransformToPoint3D::Process Start\n ");
-
        if ((bbGetInputPoint().size()==3) && (bbGetInputDirectionInPoint().size()==3) )
        {
                double point[3] , newPoint[3];
@@ -59,8 +57,6 @@ void ApplyTransformToPoint3D::Process()
        } else {
                printf("EED Warning!  ApplyTransformToPoint3D::Process  Incoherent sizes  Point(3)=%d  DirectionInPoint(3)=%d\n", bbGetInputPoint().size(),bbGetInputDirectionInPoint().size() );
        }// if Point size
-       printf("EED ApplyTransformToPoint3D::Process End\n ");
-  
 }
 
 //===== 
index cc7fd5ff4cd7920c6ba9be069daf763c8e0110b0..61b28e9d7980b4eccc25d0ca7fdf46cb0b4fbede 100644 (file)
@@ -31,18 +31,14 @@ void Plane::Process()
 //    bbSetOutputOut( bbGetInputIn() );
 //    std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
 
-       printf("EED Plane::Process Start\n ");
        vtkPlane        *plane = NULL;
     if ( (bbGetInputOrigin().size()==3) && (bbGetInputNormal().size()==3) ) 
     {
                plane  = vtkPlane::New();
                plane->SetOrigin( bbGetInputOrigin()[0],bbGetInputOrigin()[1],bbGetInputOrigin()[2] );
                plane->SetNormal( bbGetInputNormal()[0], bbGetInputNormal()[1], bbGetInputNormal()[2] );
-               printf("EED Plane::Process Origin = %f  %f  %f\n",bbGetInputOrigin()[0],bbGetInputOrigin()[1],bbGetInputOrigin()[2]  );
-               printf("EED Plane::Process Normal = %f  %f  %f\n",bbGetInputNormal()[0],bbGetInputNormal()[1],bbGetInputNormal()[2]  );
     } 
        bbSetOutputOut( plane );        
-       printf("EED Plane::Process End\n ");
 }
 
 //=====