]> Creatis software - creaCLI.git/blobdiff - bbtk_Slicer_PKG/src/bbSlicerSubtractImages.cxx
All Slicer modules succesfully compiled into BBTK boxes :P
[creaCLI.git] / bbtk_Slicer_PKG / src / bbSlicerSubtractImages.cxx
index 61efd452a6c6fdbda83ba5184f0d38dc223f8e8d..8373771b063bb4bcf0dbefb18d450014e38a0f72 100644 (file)
@@ -11,10 +11,10 @@ namespace bbSlicer {
 
 int _argc =4;
 std::string lib = "/home/riveros/.slicer/Slicer4-bin/Slicer-build/lib/Slicer-4.0/cli-modules/libSubtractLib.so";
-char * _argv[ ] = { Mthd::Aux::toCharArrray( Mthd::Aux::toString( bbGetInputinputVolume1( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( bbGetInputinputVolume2( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( bbGetInputoutputVolume( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--order"  ) + Mthd::Aux::toString( bbGetInputorder( ) ) ) };
+char * _argv[ ] = { Mthd::Aux::toCharArrray( Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputinputVolume1( ) ) ) ,"@@@@@","") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputinputVolume2( ) ) ) ,"@@@@@","") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputoutputVolume( ) ) ) ,"@@@@@","") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--order"  ) + Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputorder( ) ) ) ,"@@@@@"," --order ") ) };
 
         // EO GENERATED
         this->execute( lib, _argc, _argv );