X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkDicomRT_ROI.h;h=b41793323bb67b1795da94f21050f75e3ab04b68;hb=24b75af373d802c068becdd941ba91db5e423254;hp=ec43538aefffc95ab9f0e18f40e025d1a204e2b8;hpb=6e0a67751d42e76d806ea3245b4eaf545cf3e404;p=clitk.git diff --git a/common/clitkDicomRT_ROI.h b/common/clitkDicomRT_ROI.h index ec43538..b417933 100644 --- a/common/clitkDicomRT_ROI.h +++ b/common/clitkDicomRT_ROI.h @@ -79,7 +79,7 @@ public: void SetName(std::string n) { mName = n; } // Read from DICOM RT STRUCT -#if GDCM_MAJOR_VERSION == 2 +#if GDCM_MAJOR_VERSION >= 2 bool Read(gdcm::Item * itemInfo, gdcm::Item * itemContour); void UpdateDicomItem(); #else @@ -104,7 +104,7 @@ protected: double mForegroundValue; bool m_DicomUptodateFlag; -#if GDCM_MAJOR_VERSION == 2 +#if GDCM_MAJOR_VERSION >= 2 gdcm::Item * mItemInfo; gdcm::Item * mItemContour; gdcm::SmartPointer mContoursSequenceOfItems;