]> Creatis software - creaBruker.git/commitdiff
*** empty log message ***
authordonadio <donadio>
Fri, 15 May 2009 13:13:22 +0000 (13:13 +0000)
committerdonadio <donadio>
Fri, 15 May 2009 13:13:22 +0000 (13:13 +0000)
lib/src1/bruker2dicom.cxx
lib/src1/brukerdataset.cpp
lib/src1/brukerimage.cpp
lib/src1/brukerobjectvaryingproperties.cpp

index b41186ac00488acc07e8ebf5373c8a687ae51ab9..87997d991c067abd2b43f827606ab68f7cb569da 100644 (file)
@@ -1,5 +1,9 @@
 #include "bruker2dicom.h"
 
+#ifndef PATH_MAX // If not defined yet : do it 
+       #define PATH_MAX 2048
+#endif 
+
 
 
 bool Bruker2Dicom::Execute()
index 3a6056b22f939078b224288ffa0772d3d5f411be..acbb99bf913468831313cb1c0ad4fec889d19496 100644 (file)
@@ -442,6 +442,7 @@ std::vector< int > BrukerDataSet::GetLoopStructure() const
 bool BrukerDataSet::SetLoopStructure ( const std::vector<int> & theValue )
 {
        LoopStructure = theValue;
+       return true;
 }
 
 
index 41285f579367ec875265488a991eff5f519bfe58..d1bff2bfccf9bbc5f6813c677c84f9ded05e5630 100644 (file)
@@ -49,6 +49,8 @@ bool BrukerImage::Init(BrukerDataSet &TheOrigAcqp, BrukerDataSet &TheOrigReco, i
    setDataEndianness           (TheOrigAcqp,TheOrigReco,TheValue);
    setImageByteSize            (TheOrigAcqp,TheOrigReco,TheValue);
    setBeginingOfImageInBytes   (TheOrigAcqp,TheOrigReco,TheValue);
+
+       return true;
 }
 
 /**
@@ -636,4 +638,6 @@ size_t BrukerImage::getBeginingOfImageInBytes() const
 bool BrukerImage::setBeginingOfImageInBytes (BrukerDataSet &TheOrigAcqp, BrukerDataSet &TheOrigReco, int TheValue)
 {
    BeginingOfImageInBytes = TheValue*getImageByteSize();
+
+       return true;
 }
index 64aefd890f6146cbf0e3fac578f9ecfb67a8bef8..69ddf7f64ddf8778dbbe05af2dd50246c1bbf694 100644 (file)
@@ -206,5 +206,7 @@ bool BrukerObjectVaryingProperties::init(std::map<std::string, BrukerFieldData>
    setPositionS(BrukerHM);
    setPositionTimePerNR(BrukerHM, LoopStruct);
    setTE(BrukerHM);
+
+   return true;
 }