Mercurial > hg > orthanc-stone
comparison Framework/Radiography/RadiographyScene.cpp @ 1112:d33ae2b0db9d
less logs + allow changing the size of the RadiographyLayer (to replace a low res image by a high res image)
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Mon, 04 Nov 2019 12:46:53 +0100 |
parents | 1b49e78d91d0 |
children | 383aa2a7d426 4663f158c748 |
comparison
equal
deleted
inserted
replaced
1094:dead648f8ff1 | 1112:d33ae2b0db9d |
---|---|
132 throw Orthanc::OrthancException(Orthanc::ErrorCode_NullPointer); | 132 throw Orthanc::OrthancException(Orthanc::ErrorCode_NullPointer); |
133 } | 133 } |
134 | 134 |
135 std::auto_ptr<RadiographyLayer> raii(layer); | 135 std::auto_ptr<RadiographyLayer> raii(layer); |
136 | 136 |
137 LOG(INFO) << "Registering layer: " << countLayers_; | 137 // LOG(INFO) << "Registering layer: " << countLayers_; |
138 | 138 |
139 size_t index = countLayers_++; | 139 size_t index = countLayers_++; |
140 raii->SetIndex(index); | 140 raii->SetIndex(index); |
141 layers_[index] = raii.release(); | 141 layers_[index] = raii.release(); |
142 | 142 |