]> Creatis software - creaCLI.git/blobdiff - bbtk_Slicer_PKG/src/bbSlicerDicomtoNrrdConverter.cxx
All Slicer modules succesfully compiled into BBTK boxes :P
[creaCLI.git] / bbtk_Slicer_PKG / src / bbSlicerDicomtoNrrdConverter.cxx
index 87e2029f97db92c48e95ab949bbc88f3e20fc179..49caf5cd28dcd8d8b764fcd873504f6c1b687bc5 100644 (file)
@@ -11,13 +11,13 @@ namespace bbSlicer {
 
 int _argc =7;
 std::string lib = "/home/riveros/.slicer/Slicer4-bin/Slicer-build/lib/Slicer-4.0/cli-modules/libDicomToNrrdConverterLib.so";
-char * _argv[ ] = { Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--inputDicomDirectory"  ) + Mthd::Aux::toString( bbGetInputinputDicomDirectory( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--outputDirectory"  ) + Mthd::Aux::toString( bbGetInputoutputDirectory( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--outputVolume"  ) + Mthd::Aux::toString( bbGetInputoutputVolume( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--smallGradientThreshold"  ) + Mthd::Aux::toString( bbGetInputsmallGradientThreshold( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--writeProtocolGradientsFile"  ) + Mthd::Aux::toString( bbGetInputwriteProtocolGradientsFile( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--useIdentityMeaseurementFrame"  ) + Mthd::Aux::toString( bbGetInputuseIdentityMeaseurementFrame( ) ) ),
-Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--useBMatrixGradientDirections"  ) + Mthd::Aux::toString( bbGetInputuseBMatrixGradientDirections( ) ) ) };
+char * _argv[ ] = { Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--inputDicomDirectory"  ) + Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputinputDicomDirectory( ) ) ) ,"@@@@@"," --inputDicomDirectory ") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--outputDirectory"  ) + Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputoutputDirectory( ) ) ) ,"@@@@@"," --outputDirectory ") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--outputVolume"  ) + Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputoutputVolume( ) ) ) ,"@@@@@"," --outputVolume ") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--smallGradientThreshold"  ) + Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputsmallGradientThreshold( ) ) ) ,"@@@@@"," --smallGradientThreshold ") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--writeProtocolGradientsFile"  ) + Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputwriteProtocolGradientsFile( ) ) ) ,"@@@@@"," --writeProtocolGradientsFile ") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--useIdentityMeaseurementFrame"  ) + Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputuseIdentityMeaseurementFrame( ) ) ) ,"@@@@@"," --useIdentityMeaseurementFrame ") ),
+Mthd::Aux::toCharArrray( Mthd::Aux::toString( "--useBMatrixGradientDirections"  ) + Mthd::Aux::replace_str ( ( Mthd::Aux::toString( bbGetInputuseBMatrixGradientDirections( ) ) ) ,"@@@@@"," --useBMatrixGradientDirections ") ) };
 
         // EO GENERATED
         this->execute( lib, _argc, _argv );