X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDicomRT_Contour.cxx;h=ee55e44bc704986ce736c82e19fa7a9c423b145b;hb=c234e07e4ef90bb8b08c75ca4f1b3a76055e7859;hp=861717002ea65fa76b0a19ae12d62d19ea42500e;hpb=8f785a7646e65eb73b28e274871b2aafcb34d85c;p=clitk.git diff --git a/common/clitkDicomRT_Contour.cxx b/common/clitkDicomRT_Contour.cxx index 8617170..ee55e44 100644 --- a/common/clitkDicomRT_Contour.cxx +++ b/common/clitkDicomRT_Contour.cxx @@ -53,6 +53,7 @@ void clitk::DicomRT_Contour::Print(std::ostream & os) const //-------------------------------------------------------------------- +#if GDCM_MAJOR_VERSION == 2 void clitk::DicomRT_Contour::UpdateDicomItem() { DD("DicomRT_Contour::UpdateDicomItem"); @@ -109,6 +110,7 @@ void clitk::DicomRT_Contour::UpdateDicomItem() DD(bb[0]); } +#endif //-------------------------------------------------------------------- @@ -144,15 +146,7 @@ bool clitk::DicomRT_Contour::Read(gdcm::Item * item) const gdcm::DataElement & contourdata = nestedds2.GetDataElement( tcontourdata ); at.SetFromDataElement( contourdata ); const double* points = at.GetValues(); -<<<<<<< Updated upstream -<<<<<<< variant A ->>>>>>> variant B // unsigned int npts = at.GetNumberOfValues() / 3; -======= end -======= - // unsigned int npts = at.GetNumberOfValues() / 3; ->>>>>>> Stashed changes - assert(at.GetNumberOfValues() == static_cast(mNbOfPoints)*3); // Organize values