]> 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 dd4f3dfd305fd2d64cb91884dbc0a8b884c1a765..9d18a3ebd0ce004aee3c25e3a111a1e5e97121ec 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 4ecbfeb1c496c67b0e0e82f2a21354c9fca82958..1ac3f5a19e3b360e6a6e383d8943e674d3740238 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 e94eb1f4bb42936339566de6ea676d148ab18c70..d07c921000908f4afb8eb2f781a5e3887026a26a 100644 (file)
@@ -1,3 +1,4 @@
+\usepackage{ifpdf}
 % ==========================================
 \newif\ifpdf 
 \ifx\pdfoutput\undefined \pdffalse % we are not running PDFLaTeX 
index 0c8dbe526c1a7107e77be1f9026dabbb3d92e58b..bf947e7bee044ac51b33d73586e2d226edfe51bb 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]