From 5a38892e9f13150c99d0af186aa8c0741146f9e4 Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Wed, 26 May 2010 10:03:24 +0000 Subject: [PATCH] re indent --- appli/PrintParameterFile/PrintParameterFile.cxx | 6 +++--- cmake/UserBuildDoxygenDoc.cmake | 2 +- doc/config.tex | 1 + lib/src1/bruker2dicom.cxx | 10 +++++----- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/appli/PrintParameterFile/PrintParameterFile.cxx b/appli/PrintParameterFile/PrintParameterFile.cxx index dd4f3df..9d18a3e 100644 --- a/appli/PrintParameterFile/PrintParameterFile.cxx +++ b/appli/PrintParameterFile/PrintParameterFile.cxx @@ -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 ---------------- diff --git a/cmake/UserBuildDoxygenDoc.cmake b/cmake/UserBuildDoxygenDoc.cmake index 4ecbfeb..1ac3f5a 100644 --- a/cmake/UserBuildDoxygenDoc.cmake +++ b/cmake/UserBuildDoxygenDoc.cmake @@ -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 diff --git a/doc/config.tex b/doc/config.tex index e94eb1f..d07c921 100644 --- a/doc/config.tex +++ b/doc/config.tex @@ -1,3 +1,4 @@ +\usepackage{ifpdf} % ========================================== \newif\ifpdf \ifx\pdfoutput\undefined \pdffalse % we are not running PDFLaTeX diff --git a/lib/src1/bruker2dicom.cxx b/lib/src1/bruker2dicom.cxx index 0c8dbe5..bf947e7 100644 --- a/lib/src1/bruker2dicom.cxx +++ b/lib/src1/bruker2dicom.cxx @@ -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 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 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 NDiffDir = brf_NDiffDir.GetIntValue(); //const std::vector 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 NDiffExpEach =brf_NDiffExpEach.GetIntValue(); // const std::vector 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 AoImages = brf_AoImages.GetIntValue(); - BrukerFieldData brf_DwBvalEach = br_method.GetFieldData("PVM_DwBvalEach"); + BrukerFieldData brf_DwBvalEach = br_method.GetFieldData("PVM_DwBvalEach"); const std::vector DwBvalEach = brf_DwBvalEach.GetDoubleValue(); std::cout << "nb directions : " << NDiffDir[0] << " nb valeurs de b par direction : " << NDiffExpEach[0] -- 2.45.0