comparison OrthancStone/Sources/Toolbox/DicomStructure2.cpp @ 1640:52b8b96cb55f

cleaning namespaces
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 10 Nov 2020 16:55:22 +0100
parents 8563ea5d8ae4
children 9ac2a65d4172
comparison
equal deleted inserted replaced
1639:5cdc5b98f14d 1640:52b8b96cb55f
150 } 150 }
151 if (polygons_.size() >= 2) 151 if (polygons_.size() >= 2)
152 ComputeSliceThickness(); // this will change state_ from NormalComputed to Valid 152 ComputeSliceThickness(); // this will change state_ from NormalComputed to Valid
153 } 153 }
154 154
155 OrthancStone::Vector DicomStructure2::GetNormal() const 155 Vector DicomStructure2::GetNormal() const
156 { 156 {
157 if (state_ != Valid && state_ != Invalid) 157 if (state_ != Valid && state_ != Invalid)
158 { 158 {
159 LOG(ERROR) << "DicomStructure2::GetNormal() -- please call ComputeDependentProperties first."; 159 LOG(ERROR) << "DicomStructure2::GetNormal() -- please call ComputeDependentProperties first.";
160 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); 160 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls);