comparison OrthancStone/Sources/Toolbox/CoordinateSystem3D.cpp @ 1834:126522623e20

replaced OrthancStone::DicomPath by new class Orthanc::DicomPath from orthanc framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 10 Jun 2021 12:07:04 +0200
parents 9ac2a65d4172
children 3889ae96d2e9
comparison
equal deleted inserted replaced
1833:3c0996f028a1 1834:126522623e20
136 136
137 CoordinateSystem3D::CoordinateSystem3D(const IDicomDataset& dicom) 137 CoordinateSystem3D::CoordinateSystem3D(const IDicomDataset& dicom)
138 { 138 {
139 std::string a, b; 139 std::string a, b;
140 140
141 if (dicom.GetStringValue(a, DicomPath(Orthanc::DICOM_TAG_IMAGE_POSITION_PATIENT)) && 141 if (dicom.GetStringValue(a, Orthanc::DicomPath(Orthanc::DICOM_TAG_IMAGE_POSITION_PATIENT)) &&
142 dicom.GetStringValue(b, DicomPath(Orthanc::DICOM_TAG_IMAGE_ORIENTATION_PATIENT))) 142 dicom.GetStringValue(b, Orthanc::DicomPath(Orthanc::DICOM_TAG_IMAGE_ORIENTATION_PATIENT)))
143 { 143 {
144 Setup(a, b); 144 Setup(a, b);
145 } 145 }
146 else 146 else
147 { 147 {