Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/CoordinateSystem3D.cpp @ 1504:d8af188ab545
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Jun 2020 20:35:16 +0200 |
parents | 30deba7bc8e2 |
children |
comparison
equal
deleted
inserted
replaced
1503:553084468225 | 1504:d8af188ab545 |
---|---|
109 | 109 |
110 CheckAndComputeNormal(); | 110 CheckAndComputeNormal(); |
111 } | 111 } |
112 | 112 |
113 | 113 |
114 CoordinateSystem3D::CoordinateSystem3D(const OrthancPlugins::IDicomDataset& dicom) | 114 CoordinateSystem3D::CoordinateSystem3D(const IDicomDataset& dicom) |
115 { | 115 { |
116 std::string a, b; | 116 std::string a, b; |
117 | 117 |
118 if (dicom.GetStringValue(a, OrthancPlugins::DICOM_TAG_IMAGE_POSITION_PATIENT) && | 118 if (dicom.GetStringValue(a, Orthanc::DICOM_TAG_IMAGE_POSITION_PATIENT) && |
119 dicom.GetStringValue(b, OrthancPlugins::DICOM_TAG_IMAGE_ORIENTATION_PATIENT)) | 119 dicom.GetStringValue(b, Orthanc::DICOM_TAG_IMAGE_ORIENTATION_PATIENT)) |
120 { | 120 { |
121 Setup(a, b); | 121 Setup(a, b); |
122 } | 122 } |
123 else | 123 else |
124 { | 124 { |