Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/DicomInstanceParameters.cpp @ 1481:970ee51fe01f
fix comment
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 19 Jun 2020 18:43:09 +0200 |
parents | 30deba7bc8e2 |
children |
comparison
equal
deleted
inserted
replaced
1480:4de884c95cd8 | 1481:970ee51fe01f |
---|---|
345 { | 345 { |
346 return data_.defaultWindowingCenter_; | 346 return data_.defaultWindowingCenter_; |
347 } | 347 } |
348 else | 348 else |
349 { | 349 { |
350 LOG(ERROR) << "DicomInstanceParameters::GetDefaultWindowingCenter(): !data_.hasRescale_"; | 350 LOG(ERROR) << "DicomInstanceParameters::GetDefaultWindowingCenter(): no default windowing"; |
351 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); | 351 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); |
352 } | 352 } |
353 } | 353 } |
354 | 354 |
355 | 355 |
359 { | 359 { |
360 return data_.defaultWindowingWidth_; | 360 return data_.defaultWindowingWidth_; |
361 } | 361 } |
362 else | 362 else |
363 { | 363 { |
364 LOG(ERROR) << "DicomInstanceParameters::GetDefaultWindowingWidth(): !data_.hasRescale_"; | 364 LOG(ERROR) << "DicomInstanceParameters::GetDefaultWindowingWidth(): no default windowing"; |
365 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); | 365 throw Orthanc::OrthancException(Orthanc::ErrorCode_BadSequenceOfCalls); |
366 } | 366 } |
367 } | 367 } |
368 | 368 |
369 | 369 |