]> Creatis software - clitk.git/blobdiff - common/clitkDicomRT_StructureSet.cxx
From Benoit P, use clitkDicomRTStruct2Image with image with direction cosine
[clitk.git] / common / clitkDicomRT_StructureSet.cxx
index a845ef55b97cc6a789a7c63b72bb9ce2a805a091..4b8f6f40974af634f8458e5133890c81b95ad670 100644 (file)
@@ -317,7 +317,7 @@ void clitk::DicomRT_StructureSet::Write(const std::string & filename)
 
 
 //--------------------------------------------------------------------
-void clitk::DicomRT_StructureSet::Read(const std::string & filename)
+void clitk::DicomRT_StructureSet::Read(const std::string & filename, double tol)
 {
 
 //Try to avoid to use extern GDCM library
@@ -448,7 +448,7 @@ void clitk::DicomRT_StructureSet::Read(const std::string & filename)
     // Create the roi
     mROIs[nb] = DicomRT_ROI::New();
     mROIs[nb]->SetTransformMatrix(mTransformMatrix);
-    mROIs[nb]->Read(mMapOfROIInfo[nb], mMapOfROIContours[nb]);
+    mROIs[nb]->Read(mMapOfROIInfo[nb], mMapOfROIContours[nb], tol);
   }
     
   return;