]> Creatis software - creaCLI.git/blobdiff - bbtk_Slicer_PKG/src/bbSlicerMergeModels.cxx
All Slicer modules succesfully compiled into BBTK boxes :P
[creaCLI.git] / bbtk_Slicer_PKG / src / bbSlicerMergeModels.cxx
index fec4de36301487e95114e374e3957baa3fcdbf54..94312c1f24564d462932d93727b14497d03c90e0 100644 (file)
@@ -11,9 +11,9 @@ namespace bbSlicer {
 
 int _argc =3;
 std::string lib = "/home/riveros/.slicer/Slicer4-bin/Slicer-build/lib/Slicer-4.0/cli-modules/libMergeModelsLib.so";
-char * _argv[ ] = { Mthd::Aux::toCharArrray( Mthd::Aux::toString( bbGetInputModel1( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( bbGetInputModel2( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( bbGetInputModelOutput( ) ) ) };
+char * _argv[ ] = { Mthd::Aux::toCharArrray( Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputModel1( ) ) ) ,"@@@@@","") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputModel2( ) ) ) ,"@@@@@","") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputModelOutput( ) ) ) ,"@@@@@","") ) };
 
         // EO GENERATED
         this->execute( lib, _argc, _argv );