]> Creatis software - creaImageIO.git/commitdiff
No new line at end of file
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Tue, 12 May 2009 08:59:56 +0000 (08:59 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Tue, 12 May 2009 08:59:56 +0000 (08:59 +0000)
src/creaImageIOWxGimmick.cpp
src2/creaImageIOImagePointerHolder.h
src2/creaImageIOSettings.cpp
src2/creaImageIOSynchron.cpp
src2/creaImageIOSynchron.h
src2/creaImageIOTimestampDatabaseHandler.cpp

index c009da4542d6729abe43a3a7cd3c626f3a7599b1..4b8f3f3f76dbc77d6716617baa36dc5224249b51 100644 (file)
@@ -2305,6 +2305,10 @@ namespace creaImageIO
            ext[5] = im.size();
            out->SetExtent(ext);
            // LG : TODO : Z Spacing  ?
+           //
+           // ==> to get an accurate ZSpacing from a Dicom set of files
+           // ==> you need a gdcm::SerieHelper
+           //  JPR
            
            out->AllocateScalars();
            
index fba9e40fbe43d0e16b0b5801792dff40e9bf1de6..bdea46b63789b4cbfb58654363ddbe88f5238639 100644 (file)
@@ -28,4 +28,5 @@ namespace creaImageIO
                };
 }
 #endif
-#endif
\ No newline at end of file
+#endif
+
index 43d879ebba13b7aa377234591313d9cf51f55311..99cc4c526fb8ab4df14bdd3c77ad01a380bdda5e 100644 (file)
@@ -133,6 +133,6 @@ namespace creaImageIO
                ofs.clear();
                writeSettings(ofs);
                ofs.close();
-       }
-         
-}
\ No newline at end of file
+       }  
+}
+
index 136c29e7fcd190756e4edb5eeb226b132c50d355..3bd73e433107d16cfbcf2fb4be9d0375e25ab60f 100644 (file)
@@ -11,7 +11,7 @@ namespace creaImageIO
 {
 
        //=====================================================================
-       #define QUERYSYNCDB(QUER,RES)                                           \
+       #define QUERYSYNCDB(QUER,RES)                                   \
     try                                                                        \
       {                                                                        \
        RES = mDB->execQuery(QUER.c_str());                             \
@@ -23,7 +23,7 @@ namespace creaImageIO
                   << e.errorMessage() );                               \
     }                                                                                                                                     
        //=====================================================================
-       #define UPDATESYNCDB(UP)                                                        \
+       #define UPDATESYNCDB(UP)                                        \
   try                                                                  \
     {                                                                  \
       mDB->execDML(UP.c_str());                                                \
@@ -293,10 +293,10 @@ namespace creaImageIO
     // @result : required attribute
     /////////////////////////////////////////////////////////////////////////////////////////////////
     std::string Synchronizer::GetAttribute(const std::string& attribute, 
-                                                                               const std::string& table, 
-                                                                               const std::string& searchParam,
-                                                                               const std::string& searchValue, 
-                                                                               const std::string& refdb)
+                                       const std::string& table, 
+                                       const std::string& searchParam,
+                                       const std::string& searchValue, 
+                                       const std::string& refdb)
     {
         std::stringstream query;
                std::string result;
@@ -331,11 +331,11 @@ namespace creaImageIO
     // @result : attribute value changed
     /////////////////////////////////////////////////////////////////////////////////////////////////
     void Synchronizer::SetAttribute(const std::string& attribute, 
-                                                                               const std::string& table, 
-                                                                               const std::string& value,
-                                                                               const std::string& searchParam,
-                                                                               const std::string& searchValue,
-                                                                               const std::string& refdb)
+                               const std::string& table, 
+                               const std::string& value,
+                               const std::string& searchParam,
+                               const std::string& searchValue,
+                               const std::string& refdb)
     {
                std::string val=value.c_str();
                std::string sVal=searchValue.c_str();
@@ -359,4 +359,5 @@ namespace creaImageIO
                sql += "';";
                UPDATESYNCDB(sql);
     }
-} 
\ No newline at end of file
+}
+
index 9b7333c4a8f3be57739bac2b7c0bb42bc1ccb8a9..7e4bc3693ccb58f150d9a44f078941fd46745ffc 100644 (file)
@@ -95,4 +95,5 @@ namespace creaImageIO
        
 } 
 // EOF
-#endif
\ No newline at end of file
+#endif
+
index 755678564966bb00b78299a9286f17fa3e3c681e..35a81534baafeb0815a8ad3b10f2f28b00d30fa1 100644 (file)
@@ -427,4 +427,5 @@ namespace creaImageIO
          return false;  
   }
 
-}// namespace creaImageIO
\ No newline at end of file
+}// namespace creaImageIO
+