Mercurial > hg > orthanc-stone
comparison Samples/Sdl/Loader.cpp @ 661:970949ff868a
fix warning
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 15 May 2019 09:03:40 +0200 |
parents | 1088d4c4d78c |
children | e9339f2b5de7 |
comparison
equal
deleted
inserted
replaced
660:cb3b76d16234 | 661:970949ff868a |
---|---|
1503 { | 1503 { |
1504 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange, | 1504 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange, |
1505 "Cannot sort the 3D slices of a DICOM series"); | 1505 "Cannot sort the 3D slices of a DICOM series"); |
1506 } | 1506 } |
1507 | 1507 |
1508 printf("series sorted\n"); | 1508 printf("series sorted %d => %d\n", instances.size(), that_.slices_.GetSlicesCount()); |
1509 } | 1509 } |
1510 }; | 1510 }; |
1511 | 1511 |
1512 | 1512 |
1513 class LoadInstanceGeometryHandler : public MessageHandler | 1513 class LoadInstanceGeometryHandler : public MessageHandler |
1744 oracle.Schedule(*toto, command.release()); | 1744 oracle.Schedule(*toto, command.release()); |
1745 } | 1745 } |
1746 | 1746 |
1747 | 1747 |
1748 // 2017-11-17-Anonymized | 1748 // 2017-11-17-Anonymized |
1749 loader1->LoadSeries(oracle, "cb3ea4d1-d08f3856-ad7b6314-74d88d77-60b05618"); // CT | 1749 //loader1->LoadSeries(oracle, "cb3ea4d1-d08f3856-ad7b6314-74d88d77-60b05618"); // CT |
1750 loader2->LoadInstance(oracle, "41029085-71718346-811efac4-420e2c15-d39f99b6"); // RT-DOSE | 1750 loader2->LoadInstance(oracle, "41029085-71718346-811efac4-420e2c15-d39f99b6"); // RT-DOSE |
1751 | |
1752 // Delphine | |
1753 loader1->LoadSeries(oracle, "5990e39c-51e5f201-fe87a54c-31a55943-e59ef80e"); // CT | |
1751 | 1754 |
1752 LOG(WARNING) << "...Waiting for Ctrl-C..."; | 1755 LOG(WARNING) << "...Waiting for Ctrl-C..."; |
1753 Orthanc::SystemToolbox::ServerBarrier(); | 1756 Orthanc::SystemToolbox::ServerBarrier(); |
1754 //boost::this_thread::sleep(boost::posix_time::seconds(1)); | 1757 //boost::this_thread::sleep(boost::posix_time::seconds(1)); |
1755 | 1758 |