]> Creatis software - creaCLI.git/blobdiff - bbtk_Slicer_PKG/src/bbSlicerPolyDataToLabelMap.cxx
All Slicer modules succesfully compiled into BBTK boxes :P
[creaCLI.git] / bbtk_Slicer_PKG / src / bbSlicerPolyDataToLabelMap.cxx
index c5d57d75a2c9c0d2b7556d708bfe809ed2c40611..bc2f2aaaa6032f4762d01af3ccfd4adc46497550 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/libPolyDataToLabelmapLib.so";
-char * _argv[ ] = { Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--distance"  ) + Mthd::Aux::toString( bbGetInputsampleDistance( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( bbGetInputInputVolume( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( bbGetInputsurface( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( bbGetInputOutputVolume( ) ) ) };
+char * _argv[ ] = { Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--distance"  ) + Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputsampleDistance( ) ) ) ,"@@@@@"," --distance ") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputInputVolume( ) ) ) ,"@@@@@","") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputsurface( ) ) ) ,"@@@@@","") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputOutputVolume( ) ) ) ,"@@@@@","") ) };
 
         // EO GENERATED
         this->execute( lib, _argc, _argv );