Mercurial > hg > orthanc-stone
comparison Framework/Radiography/RadiographyScene.cpp @ 1285:4f8fc8dbd2a1
changed log level
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Tue, 11 Feb 2020 14:40:33 +0100 |
parents | 398ea4259e65 |
children | 6ab03e429f06 8a0a62189f46 |
comparison
equal
deleted
inserted
replaced
1280:1c7ae79c426d | 1285:4f8fc8dbd2a1 |
---|---|
489 void RadiographyScene::OnTagsReceived(const Deprecated::OrthancApiClient::BinaryResponseReadyMessage& message) | 489 void RadiographyScene::OnTagsReceived(const Deprecated::OrthancApiClient::BinaryResponseReadyMessage& message) |
490 { | 490 { |
491 size_t index = dynamic_cast<const Orthanc::SingleValueObject<size_t>&> | 491 size_t index = dynamic_cast<const Orthanc::SingleValueObject<size_t>&> |
492 (message.GetPayload()).GetValue(); | 492 (message.GetPayload()).GetValue(); |
493 | 493 |
494 LOG(INFO) << "JSON received: " << message.GetUri().c_str() | 494 VLOG(1) << "JSON received: " << message.GetUri().c_str() |
495 << " (" << message.GetAnswerSize() << " bytes) for layer " << index; | 495 << " (" << message.GetAnswerSize() << " bytes) for layer " << index; |
496 | 496 |
497 Layers::iterator layer = layers_.find(index); | 497 Layers::iterator layer = layers_.find(index); |
498 if (layer != layers_.end()) | 498 if (layer != layers_.end()) |
499 { | 499 { |
500 assert(layer->second != NULL); | 500 assert(layer->second != NULL); |
518 | 518 |
519 void RadiographyScene::OnFrameReceived(const Deprecated::OrthancApiClient::BinaryResponseReadyMessage& message) | 519 void RadiographyScene::OnFrameReceived(const Deprecated::OrthancApiClient::BinaryResponseReadyMessage& message) |
520 { | 520 { |
521 size_t index = dynamic_cast<const Orthanc::SingleValueObject<size_t>&>(message.GetPayload()).GetValue(); | 521 size_t index = dynamic_cast<const Orthanc::SingleValueObject<size_t>&>(message.GetPayload()).GetValue(); |
522 | 522 |
523 LOG(INFO) << "DICOM frame received: " << message.GetUri().c_str() | 523 VLOG(1) << "DICOM frame received: " << message.GetUri().c_str() |
524 << " (" << message.GetAnswerSize() << " bytes) for layer " << index; | 524 << " (" << message.GetAnswerSize() << " bytes) for layer " << index; |
525 | 525 |
526 Layers::iterator layer = layers_.find(index); | 526 Layers::iterator layer = layers_.find(index); |
527 if (layer != layers_.end()) | 527 if (layer != layers_.end()) |
528 { | 528 { |
529 assert(layer->second != NULL); | 529 assert(layer->second != NULL); |