]> Creatis software - creaVtk.git/commitdiff
Clean code
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Tue, 22 Aug 2023 11:55:11 +0000 (13:55 +0200)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Tue, 22 Aug 2023 11:55:11 +0000 (13:55 +0200)
bbtk_creaVtk_PKG/src/bbcreaVtkMeshManager_tool.cxx
bbtk_creaVtk_PKG/src/bbcreaVtkTransformVector.cxx

index ba2efcfc91168d00a3b2ff55221b0521c77d57cb..af15435ffdf8500aac153a788b7cd89cc5fef748 100644 (file)
@@ -27,10 +27,6 @@ void MeshManager_tool::Process()
 //    bbSetOutputOut( bbGetInputIn() );
 //    std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
     
-    printf("EED MeshManager_tool::Process  tool=%d   %s Ojo ------------------------\n", bbGetInputTool(), bbGetFullName().c_str() );
-    printf(" Mesh %p\n",  bbGetInputMesh() );
-    printf(" ManagerModel %p\n",  bbGetInputMeshManagerModel() );
-
     if (bbGetInputMeshManagerModel()!=NULL)
     {
         if (bbGetInputTool()==10) // Undo
index 3c2ca3df4a0cf8d7e59ef9c7ca5463692447249a..c6a9d27ad2d1e567d6c405d8b968312d52e9d380 100644 (file)
@@ -44,7 +44,7 @@ void TransformVector::Process()
        if ((XSize!=YSize) || (XSize!=ZSize) )
        {
                ok=false;
-               printf("ERROR. TransformVector: The size of the tree vectors are not the same!\n");
+               printf("ERROR. TransformVector: Size of the tree vectors are not the same!  %s\n", bbGetFullName().c_str() );
        }
 
 
@@ -64,7 +64,7 @@ void TransformVector::Process()
                                yVec.push_back( tmpB[1] );
                                zVec.push_back( tmpB[2] );
                        } else {
-                               printf("WARNNIG. TransformVector: The Transform is not set!\n");
+//                             printf("WARNNIG. TransformVector: The Transform is not set!    %s\n", bbGetFullName().c_str() );
                                xVec.push_back( tmpA[0] );
                                yVec.push_back( tmpA[1] );
                                zVec.push_back( tmpA[2] );