]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkTransformVector.cxx
Clean code
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkTransformVector.cxx
index 730b9db09f4d8e4599b6882fb81300cb4155cc5f..c6a9d27ad2d1e567d6c405d8b968312d52e9d380 100644 (file)
@@ -40,13 +40,11 @@ void TransformVector::Process()
        std::vector<double> yVec;
        std::vector<double> zVec;
 
-printf("TransformVector::Process  START\n" );
-       
        bool ok=true;
        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() );
        }
 
 
@@ -66,7 +64,7 @@ printf("TransformVector::Process  START\n" );
                                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] );
@@ -76,9 +74,6 @@ printf("TransformVector::Process  START\n" );
        bbSetOutputOutX(xVec);
        bbSetOutputOutY(yVec);
        bbSetOutputOutZ(zVec);
-
-printf("TransformVector::Process  END\n" );
-
 }
 //===== 
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)