]> Creatis software - creaCLI.git/blobdiff - bbtk_Slicer_PKG/src/bbSlicerLabelMapSmoothing.cxx
All Slicer modules succesfully compiled into BBTK boxes :P
[creaCLI.git] / bbtk_Slicer_PKG / src / bbSlicerLabelMapSmoothing.cxx
index 8d6febce9a9949c884a3ea34081d1870f4d533b5..3bd0ff50528591372651879661cc909493a3abdb 100644 (file)
@@ -11,12 +11,12 @@ namespace bbSlicer {
 
 int _argc =6;
 std::string lib = "/home/riveros/.slicer/Slicer4-bin/Slicer-build/lib/Slicer-4.0/cli-modules/libLabelMapSmoothingLib.so";
-char * _argv[ ] = { Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--labelToSmooth"  ) + Mthd::Aux::toString( bbGetInputlabelToSmooth( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--numberOfIterations"  ) + Mthd::Aux::toString( bbGetInputnumberOfIterations( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--maxRMSError"  ) + Mthd::Aux::toString( bbGetInputmaxRMSError( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--gaussianSigma"  ) + Mthd::Aux::toString( bbGetInputgaussianSigma( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( bbGetInputinputVolume( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( bbGetInputoutputVolume( ) ) ) };
+char * _argv[ ] = { Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--labelToSmooth"  ) + Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputlabelToSmooth( ) ) ) ,"@@@@@"," --labelToSmooth ") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--numberOfIterations"  ) + Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputnumberOfIterations( ) ) ) ,"@@@@@"," --numberOfIterations ") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--maxRMSError"  ) + Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputmaxRMSError( ) ) ) ,"@@@@@"," --maxRMSError ") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--gaussianSigma"  ) + Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputgaussianSigma( ) ) ) ,"@@@@@"," --gaussianSigma ") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputinputVolume( ) ) ) ,"@@@@@","") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputoutputVolume( ) ) ) ,"@@@@@","") ) };
 
         // EO GENERATED
         this->execute( lib, _argc, _argv );