comparison Applications/Samples/Common/RtViewerView.cpp @ 1896:b3c08e607d9f

simplified signature of DicomStructureSet::ProjectStructure()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 26 Jan 2022 17:19:37 +0100
parents 7053b8a0aaec
children c7bc9e1776a6
comparison
equal deleted inserted replaced
1895:14c8f339d480 1896:b3c08e607d9f
204 } 204 }
205 } 205 }
206 206
207 void RtViewerView::RetrieveGeometry() 207 void RtViewerView::RetrieveGeometry()
208 { 208 {
209 const VolumeImageGeometry& geometry = GetApp()->GetMainGeometry(); 209 VolumeImageGeometry geometry = GetApp()->GetMainGeometry();
210 210
211 const unsigned int depth = geometry.GetProjectionDepth(projection_); 211 const unsigned int depth = geometry.GetProjectionDepth(projection_);
212 currentPlane_ = depth / 2; 212 currentPlane_ = depth / 2;
213 213
214 planes_.resize(depth); 214 planes_.resize(depth);