X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvQDicomSeriesSelector.h;h=b70e507ee233b923333243d895eac1551cbee9e0;hb=f4eb79e1b67e9c592a1deba19aa94af365bf2df9;hp=8b3aaac0deab00f0f8f3f5e3e8da3fcc28380a57;hpb=765020625fbc092d283e221e36c83e60a1844cb7;p=clitk.git diff --git a/vv/vvQDicomSeriesSelector.h b/vv/vvQDicomSeriesSelector.h index 8b3aaac..b70e507 100644 --- a/vv/vvQDicomSeriesSelector.h +++ b/vv/vvQDicomSeriesSelector.h @@ -37,18 +37,20 @@ public: std::vector * GetFilenames() { return mFilenames; } + bool IsPatientCoordianteSystemChecked() { return mPatientCoordinateSystem; } protected slots: void BrowseButtonRelease(); void SearchButtonRelease(); void itemSelectionChanged(); void itemDetailsSelectionChanged(); + void itemMatrixSelectionChanged(int state); protected: QString mPreviousPath; QString mFoldername; void AddSerieToTheTable(int i, std::vector & filenames); -#if GDCM_MAJOR_VERSION == 2 +#if GDCM_MAJOR_VERSION >= 2 QString MakeDicomInfo(std::string & s, const gdcm::Reader& header); #else QString MakeDicomInfo(std::string & s, gdcm::File *header); @@ -62,12 +64,13 @@ private: std::map* > mListOfSeriesFilenames; std::vector * mFilenames; std::map mDicomInfo; -#if GDCM_MAJOR_VERSION == 2 +#if GDCM_MAJOR_VERSION >= 2 std::map mDicomHeader; #else std::map mDicomHeader; #endif std::map mDicomDetails; + bool mPatientCoordinateSystem; }; #endif // VVDICOMSERIESSELECTOR_H