]> Creatis software - creaBruker.git/commitdiff
re indent
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 26 May 2010 10:03:24 +0000 (10:03 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 26 May 2010 10:03:24 +0000 (10:03 +0000)
appli/PrintParameterFile/PrintParameterFile.cxx
cmake/UserBuildDoxygenDoc.cmake
doc/config.tex
lib/src1/bruker2dicom.cxx

index dd4f3df..9d18a3e 100644 (file)
@@ -17,12 +17,12 @@ int main(int argc, char *argv[])
 {   
    START_USAGE(usage)
    " \n PrintParameterFile : \n                                                      ",
-   " - explores the given Bruker parameter file,                         ",
+   " - explores the given Bruker parameter file,                   ",
    " - prints its content,                      ",
    " usage: BrukerToMhd filein=rukerParameterFile                               ",
    "                   [debug] [verbose]                           ",
-   "                                                                          ",
-   "  debug      : developper wants to run the program in 'debug mode'        ",
+   "                                                               ",
+   "  debug      : developper wants to run the program in 'debug mode'     ",
    FINISH_USAGE
 
 // ------------ Initialize Arguments Manager ----------------  
index 4ecbfeb..1ac3f5a 100644 (file)
@@ -48,7 +48,7 @@ MACRO(USER_BUILD_DOXYGEN_DOC NAME INPUT DOC_RELATIVE_INSTALL_PATH PREDEFINED)
     ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile.txt
     @ONLY IMMEDIATE
     )
- 
+
   ADD_CUSTOM_COMMAND(
     OUTPUT ${DOXYGEN_OUTPUT}/${DOXYGEN_HTML_OUTPUT}/index.html
     COMMAND 
index e94eb1f..d07c921 100644 (file)
@@ -1,3 +1,4 @@
+\usepackage{ifpdf}
 % ==========================================
 \newif\ifpdf 
 \ifx\pdfoutput\undefined \pdffalse % we are not running PDFLaTeX 
index 0c8dbe5..bf947e7 100644 (file)
@@ -1596,7 +1596,7 @@ std::cout << "charImageOrientation  " <<
    file->InsertEntryString("CREATIS HEADER", 0x0029,0x0010, "LO");
    file->InsertEntryString("CREATIS FOR BRUKER-TO-DICOM", 0x0029,0x0011, "LO");
    
-   BrukerFieldData brf_method = br_method.GetFieldData("Method");
+   BrukerFieldData brf_method            = br_method.GetFieldData("Method");
    const std::vector<std::string> method = brf_method.GetStringValue();
 
   // std::string method = br_method.GetFieldData("Method").GetStringValue();    
@@ -1606,18 +1606,18 @@ std::cout << "charImageOrientation  " <<
    if (method[0] == "DtiEpi" || method[0] == "DtiStandard")
    {
      // const std::vector<int> NDiffDir       = br_method.GetFieldData("PVM_DwNDiffDir").GetIntValue();
-      BrukerFieldData brf_NDiffDir = br_method.GetFieldData("PVM_DwNDiffDir");
+      BrukerFieldData brf_NDiffDir    = br_method.GetFieldData("PVM_DwNDiffDir");
       const std::vector<int> NDiffDir = brf_NDiffDir.GetIntValue();
       
       //const std::vector<int> NDiffExpEach   = br_method.GetFieldData("PVM_DwNDiffExpEach").GetIntValue();
-      BrukerFieldData brf_NDiffExpEach   = br_method.GetFieldData("PVM_DwNDiffExpEach");
+      BrukerFieldData brf_NDiffExpEach      = br_method.GetFieldData("PVM_DwNDiffExpEach");
       const std::vector<int> NDiffExpEach   =brf_NDiffExpEach.GetIntValue();
       
 //      const std::vector<int> AoImages     = br_method.GetFieldData("PVM_DwAoImages").GetIntValue();
-      BrukerFieldData brf_AoImages     = br_method.GetFieldData("PVM_DwAoImages");
+      BrukerFieldData brf_AoImages        = br_method.GetFieldData("PVM_DwAoImages");
       const std::vector<int> AoImages     = brf_AoImages.GetIntValue();
       
-      BrukerFieldData brf_DwBvalEach    = br_method.GetFieldData("PVM_DwBvalEach");
+      BrukerFieldData brf_DwBvalEach       = br_method.GetFieldData("PVM_DwBvalEach");
       const std::vector<double> DwBvalEach = brf_DwBvalEach.GetDoubleValue();
       
  std::cout << "nb directions : " <<  NDiffDir[0] << " nb valeurs de b par direction : " << NDiffExpEach[0]