Mercurial > hg > orthanc-stone
comparison Applications/Samples/SingleFrameEditorApplication.h @ 445:ee41b6a017d7 bgo-commands-codegen
dumb change
author | bgo-osimis |
---|---|
date | Wed, 16 Jan 2019 16:24:45 +0100 |
parents | a750f11892ec |
children | 801d2697a1b1 |
comparison
equal
deleted
inserted
replaced
440:a750f11892ec | 445:ee41b6a017d7 |
---|---|
466 int frame = parameters["frame"].as<unsigned int>(); | 466 int frame = parameters["frame"].as<unsigned int>(); |
467 | 467 |
468 fontRegistry_.AddFromResource(Orthanc::EmbeddedResources::FONT_UBUNTU_MONO_BOLD_16); | 468 fontRegistry_.AddFromResource(Orthanc::EmbeddedResources::FONT_UBUNTU_MONO_BOLD_16); |
469 | 469 |
470 scene_.reset(new RadiographyScene(GetBroker())); | 470 scene_.reset(new RadiographyScene(GetBroker())); |
471 //scene_->LoadDicomFrame(instance, frame, false); //.SetPan(200, 0); | 471 scene_->LoadDicomFrame(context->GetOrthancApiClient(), instance, 0, false, NULL); |
472 scene_->LoadDicomFrame(context->GetOrthancApiClient(), "61f3143e-96f34791-ad6bbb8d-62559e75-45943e1b", 0, false, NULL); | |
473 | 472 |
474 #if !defined(ORTHANC_ENABLE_WASM) || ORTHANC_ENABLE_WASM != 1 | 473 #if !defined(ORTHANC_ENABLE_WASM) || ORTHANC_ENABLE_WASM != 1 |
475 Orthanc::HttpClient::ConfigureSsl(true, "/etc/ssl/certs/ca-certificates.crt"); | 474 Orthanc::HttpClient::ConfigureSsl(true, "/etc/ssl/certs/ca-certificates.crt"); |
476 #endif | 475 #endif |
477 | 476 |